skysight-inc/HackerNews huggingface dataset:
At NASA, this is called a "Root Cause Analysis" or RCA. A multi-hour meeting all about punishing the guilty via embarrassment or at least making sure you can shed the guilt.

On the other hand, "announce what you are about to do" is likely the best way to solve the problem.
I suspect that it may be worse if they didn't solder given that it is in a vibration prone environment. The underspeccing for wear is more of an issue than the soldering in my opinion since if you are dealing with chips anyway you are already pretty damn elbows deep into a specialized area.
3GB ram will greatly increase the size of the SOC, and ram increase power usage
I have no opinion; my mother tongue is not English and is much more flexible in this regard. I simply followed some well-meant advice from people I respect.
According to Wikipedia, the murder's typical sentence would be for 12 years. This suggests that your legal system believes people can chamge and have their rights restored.

[0] In Denmark manddrab (manslaughter) is the term used by the Danish penalty law to describe the act of intentionally killing another person. No distinction between manslaughter and murder exists. The penalty goes from a minimum of five years (six years in the case of regicide) to imprisonment for life. The standard punishment for manslaughter - i.e. where there are neither aggravating or mitigating circumstances - is 12 years imprisonment.
Ask HN: Should I find new job before telling current job about surgery?
I am a disabled software engineer at a mid stage startup who is planning to get an experimental surgery with the expectation to improve my quality of life. The recovery time is expected to be 6 to 8 weeks before I could return to work; although one patient recovered in 4 weeks. Several others died.

Should I request unpaid leave from my employer or just find a new job with a start date after a conservative recovery time? I am specifically concerned that revealing any weakness will compromise my compensation negotiation position. It is already a chore with my current employer to receive pay increases to accompany increased job responsibility. Management has a stronger position than I realized when I accepted the job. The tech side is very simple and much more of a minor contributor to the business value compared to sales and structural customer lock-in. Almost all of the engineers are second world contractors from multiple different agencies whereas the handful of stateside employees' purpose seems to be quality control through code reviews.

Has anyone here taken time off for surgery? Do you wish you had lined up another job offer first instead of requesting leave? Did management grant leave and then later retaliate after you returned to work?

For the small fraction of outcomes where I die, is there a best practice way to notify your employer? I know that companies often subscribe to services to monitor employees social media and LinkedIn for signs of disloyalty (looking for another job). Do these services also send notifications if a resource dies? I am interested if sending a courier with a Hallmark "I'm sorry for your loss" card could possibly be the first place they find out?
Do I have some weird rendering issue with this website, or do both of these snippets of code have terrible readability and highlighting? If I had to write code using an IDE or editor with this scheme I'd quit my career and go into small engine repair.

https://imgur.com/a/vS2EldV
I think you’ve got that backwards.

Table sugar, sucrose, is a disaccharide consisting of 1 unit of glucose and 1 unit of fructose, 50-50. “High fructose” corn syrup is high fructose relative to sucrose, but it’s generally 55% fructose and 45% glucose. Of course in HFCS they’re not bonded so do not require enzymatic decomposition. [3]

With that in mind, fructose has very low glycemic impact, and it does not trigger insulin secretion directly. Unlike glucose, it requires enzymatic decomposition (via fructokinase) in the liver. This enzyme becomes saturated and as a result the impact on blood sugar is attenuated and drawn out over time as compared to glucose. [2]

Fructose is often used as a sugar substitute for diabetics due to its lack of insulin response. It of course has its own issues, as too much can lead to NAFLD, non-alcoholic fatty liver disease — basically cirrhosis from non-alcohol causes. [1]

What is pretty clear is that sugar of any sort is bad for you.

[1] https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5372893/

[2] https://en.m.wikipedia.org/wiki/Fructolysis

[3] https://en.m.wikipedia.org/wiki/High-fructose_corn_syrup
A Racket Perspective on Research, Education, and Production
I'm aiming for a federated system in which I don't have to read the whole book because I can read the best of the notes that others have taken. Like if Twitter and Wikipedia were one integrated navigable hypergraph.
home/vps hosted VPNs are only really helpful to mitigate malicious ISP (or hotspot operator). If need a VPN for identity hiding purposes (eg. torrenting, evading IP tracking), you still need a commercial VPN provider.
I totally agree with the sentiment of the author but the execution is really terrible. I'm not sure how the end product is at all better. It's appearing as like #CCC or #EEE on a white background. Screenshot: https://s3.whalesalad.com/images/hn/syntax.png

My favorite color scheme for a long time has been Made of Code, which I have slowly tweaked over the years. It has particularly great rendering of comments, where the line of the comment has a background color that takes up the entire row.

Example 1: https://s3.whalesalad.com/syntax/made-of-code-tweaked.png

Example 2: https://s3.whalesalad.com/syntax/made-of-code-tweaked-2.png

Theme file (Textmate/Sublime): https://s3.whalesalad.com/syntax/whalesalad-2.tmTheme
It's a way to be permanently offended I guess. I can play the game that my preferred pronoun is secret but if you don't read my mind and guess it correctly, you become my paper enemy and I will be very very meaninglessly upset in whichever microsecond I happen to think about you.
I interviewed convicted rapists in New Delhi (2017)
This would indeed be possible, although slow, and only when the affected app is open.
The text is black for me on my iPhone.
Right on. Let's put a downward pressure on server load numbers by raising prices during promo events! This will lower c02 emissions
Two of Rust goals are:

* Hack without fear (which can be interpreted as soundness)
* Practical programming language (a language you can use to get stuff done)

A full operational semantics of Rust with soundness proofs is probably at least a decade away, blocking the language on that would mean that one can't get anything done until that happens. And that is at tension with Rust being a practical language.

So if you had a spectrum of languages, and you were to classify them along these two axes, Rust would be at the very safe and very practical end of the spectrum. But safety isn't an absolute, it's a spectrum. Rust won't protect you form, e.g., race conditions, dead locks, memory leaks, or somebody breaking into your house and hitting your computer with a baseball bat, etc. You need to have a threat model, and then deduce from it how much safety is enough. Rust aims to only give you memory and thread safety, so there is definitely room for much safer languages than Rust down the road, that protect you from these other things. The art is increasing safety, without sacrificing practicality, performance, etc.
i let my kids download apps on ios and chromeos (no android). is it technically possible for these apps to be proxying data for someone like nord?

if so, would it only be while the apps are in the foreground or can they do it in the background?
You're going to dump on them for flowers on the home page? Really??

I think more projects should feature flowers. They're nice. I feel confident O'Reilly would back me up on this one.
It always seems a bit ridiculous the amount of "discounts" that are thrown around online.

I think everyone has a bit of sales fatigue already.

I doubled the prices for job board posts to illustrate the absurdity of most pricing plans. i.e. retailers usually offer goods cheaper at some point during the year before Black Friday.
I think the `!` part might be a typo, and that pseudocode needs more context to be valid, but the individual elements are themselves valid even if you'd never see them composed in this way, and I wouldn't expect any regular user to have to ever read or write anything like this. The leading `for<>` indicates a higher-ranked lifetime (which I've never once needed in eight years of writing Rust (though to be fair, I think it's only existed for like six of those years...), the `!` is the "Never" type indicating a statically-impossible state (honestly it really should just be called `Never` rather than `!`, this is a leftover artifact of prehistoric versions of Rust that predate even me. Maybe I'll write an RFC to propose that), the `?Sized` is a one-of-a-kind trait bound that users might need rarely (but I don't bother with, generally), and the `'a` is a lifetime type parameter (which is common for anyone working with references, although it's such an important part of the language that you don't bat an eye at it after a while).
Robotic Intelligent Towing Tank w active learning did 100k experiments in 1 year
That’s what it looked like for me. I thought maybe it looked illegible to me due to red-green color deficiency.
haha, hadn't thought of it that way!
How is this gray on gray on black better than just coloring the method name differently? Seems to me the author just isn't happy with the color scheme, but discarding syntax highlighting alltogether seems like a step too far. Different colors definitely help me to quickly scan code.
This is on par with what Uncle Bob said in an episode of Clean Code. He went as far as saying comments should be red!
Maybe that’s just because they’re not as experienced with physical activity in general?
I disagree, i find it to be a point pf clarification but not rude. Perhaps I have a different cultural expectation than you do
It might be a dark mode thing.

Edit: Yep, dark mode mangled the code snippets.
this seems fundamentally similar to the idea of literate code, where the domain and context-specific information like comments (and in TFA, function and variable names) are put front and center.

This approach makes more sense to me though, as literate programming emphasises writing a book that incidentally contains source code, whereas the idea of valuable comments nowadays is closer to highlighting concerns or explaining functionality that isn't evident or easy to read in the code itself.

Or in other words; this sounds like a good idea! I wonder if it would help decrease the incidence of people ignoring and not updating comments though, as a developer's focus is often primarily on correcting the code and thus even with bolding the comments may end up falling into the same trap as banner blindness[1].

[1] https://en.wikipedia.org/wiki/Banner_blindness
Can old fridges be recycled to make new ones?
This largely seems like an issue with the author's IDE or theme, not an issue with syntax highlighting. I immediately assumed the first screenshot was what they were proposing since it's not like the syntax highlighting that I have used in vi, sublime, visual studio, or vscode. The actual proposal, to my eyes, removes highlighting entirely: I can't differentiate the shades well at all, and the "bold" commented text is even less visually distinct than in the original.

Semi-related: do folks actually use very low contrast themes like the one in the screenshot? My vision is better than 20 20 and reading light gray on white (or dark gray on black, for that matter) is a terrible strain on my eyes.

Edit: it appears the author has a dark mode theme on their blog which changes the colors of the screenshots
Not all comments are worth highlighting: http://akkartik.name/post/2012-11-24-18-10-36-soc

For the last 6 years I use three colors for comments: https://i.imgur.com/vU783Xo_d.jpg?maxwidth=640&shape=thumb&f...

If you have a configurable editor you can find more useful things to highlight in the code as well: https://www.reddit.com/r/programming/comments/1w76um/comment...
> unless somebody can point me to a project

Maybe Hode interests you? I described it in another comment[1]. So far it lacks queuing.

[1] https://news.ycombinator.com/item?id=21665255
The quality of the execution of the author's idea is a good guide to the quality of the idea itself.

In general, comments are not so informative and the code is self-documenting. ie., the code itself should be emphasized for comprehension.

The author misses the purpose of highlighting: to supply grammatical information where the language itself is deficient. Since we have plenty of experience with english grammar, we do not need help.
Nope, it looks the same to me and I have a screen with high contrast and high brightness. Both his examples are very hard to read. And I have done color blindness tests and know I am not color blind.

Another thing: I think one thing he is missing is how important it is to see at a glance where function definitions are and where possible early returns are. The first example highlights def (function definitions), return (possible early return) and the return type (arguably not that important in most cases).
I had a friend I recently had to cut ties with because he refused to seek help for mental health problems and just self-medicated with marijuana. For context, a mutual friend who owns an edibles company though he consumed too much.

Very curious of your thoughts on marijuana addiction if you’d be willing to share.

This was one of the first times I had to break off a friend because they refused to take care of their mental health. (But mostly a response to a psychotic break and political rant that I decided to walk away from instead of engage in)
If it happens repeatedly in the records, you'd either expect him to learn (and see the get the person first), or you'd need to start looking at the thing that can't learn :-)
I didn't follow all of it, but it sounds not so bad.

1 & 2 both involve unsafe code that, while possibly reasonable in a complex application, is obviously wrong in the simple case. Of course turning a reference into a mutable reference will cause trouble. Was Pin SUPPOSED to be resilient to unsafe code? In any case, seems like a bug in DerefMut and Clone, not Pin.

The others are a bit more esoteric and do seem potentially concerning, but I'm not sure.

But still, I'm left with my earlier question: just how resilient is Pin supposed to be?
It’s a dark mode thing. Looks normalish with dark mode off.
X-Bang_no-Time/ [Music] X Bang_No Time No Time
Ah, surely it's not the continuous streaming that poisons all the vpns in China.
Nope, I am not color blind and it is very hard to read for me too.
The first law of genetics: who you are at birth is who you are when you die. So, yes, 7 and 63 are a sub-range.
This needs to come with a Blip mode where the pods are not killed, but completely frozen/suspended for a period of time, and then you bring them back and see what happens.
I'd guess they only proxy the main domains (which have the session cookies and probably the geoblocking criteria), but let the video serving domains (which at least in netflix are separate and "stupid") go through their normal network.
Your second image is really blurry :(
I think this is what it is supposed to look like: https://imgur.com/a/OHkBb8Q
As with a lot of things, this is ultimately a matter of personal preferences, and the compiler could not care less about how your code is displayed in your editor. So, the question is not whether is's "backwards" or not, it's only a matter a finding the highlighting theme that subjectively suits you.

In my case, I prefer having the keywords highlighted and comments less visible than the code. Why? Because code is not something I read linearly. Having the syntactic markers highlighted helps me visually navigate from blocks to blocks. And it makes it much easier to spot missing curly braces, parentheses, etc.
A week? Yeah I'm scragged for a day if I'm losing hours on a flight (although this is exacerbated by the fact that if I'm flying east I'm usually going from my 'starts around 9ish' desk job to 'be on site by 6am' minesite commissioning, so I'm effectively waking up at 2am when I'm used to waking up at 8:30am) but after that I'm fine.
There is no way mass-market phones are giving up on the camera that allows for video conferencing / FaceTime. Don't trivialize the utility by calling it the "selfie" camera. And don't claim you've confirmed it's useless by checking your camera roll.
Try disabling dark mode on your device.
Anon answers: How risk-averse should talented young people be re their careers?
I'm pretty sure it's b.c. you have dark mode turned on & the CSS didn't consider code snippets.

Try turning them off, it'll look much better.
I read this as the author advocating for some form of "comments first" development philosophy. As such, I'd like to submit this well known bit of work by Knuth for consideration (by anyone not already familiar with it):

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

IME that gives all a starting point or base line for discussions around "what can more/good/better comments and support for documentation do for me".
Yeah, fixed now.
This reply resonates so much with me. I think it takes years of experience to understand something like this (at least it took me a long time).

I too started from this thinking that promoting is shilling, but it's not. Every successful company in the world does it and there is absolutely nothing wrong with promoting your product or yourself as long as you're not breaking the rules.

I think it's the part of geek culture that misunderstands selling as shilling, which is probably the reason why so many good but small startups fail. They just don't sell enough.

It's the same ideology that charging for a product or service is bad somehow. I remember that a blog that reviewed a website of mine (a movie making software in 2007) was all gaga over the product but as soon as we went from free to paid, it put us in a special section called "website hall of shame". Just because we decided to charge something for a product which users were making money off.

I takes a lot of skill to sell, get rejected and hear 99 Nos for that single Yes and sometimes that's the only thing missing between a win and a loss.
>a contemporary phenomenon that has enabled the Chinese economy to thrive in the last 30 years, which is what makes it more interesting economically speaking than, say, "the Russian way".

You mean the Russia where per-capita GDP (both nominal and adjusted for purchasing power) is higher than China's?
Yeah, was wondering the same..
Can somebody explain the stigma regarding Marx on HN? I mean, I get that this a forum for a VC firm but isn't it also a place for academic discussion? It's pretty hard to discuss things like income disparity, automation, etc without a mention.
Yes, it’s a type signature. It looks typical of Rust internals, but it would be very verbose for user code.

You’re not wrong to find it illegible; apart from the syntax, that phrase invokes the concepts of lifetimes, mutability, borrowing, and traits, none of which have straightforward semantic analogues in other common languages.

But FWIW they’re primitive concepts in Rust. A typical Rust user wouldn’t read or write code that looks like that very much, but they would know what it means, if that makes any sense.

Edit: Seeing sibling comments about whether this snippet actually parses, I guess I should amend this to say that a typical Rust user has an idea of what it’s supposed to mean :)
Comments in code: the more we write, the less we want to highlight
Mass killings of troops certainly happened: Hannibal's famous "Battle of Cannae" actually destroyed an entire Roman Legion (70,000 killed, 10,000 captured out of ~80,000 troops). They were just very rare.

Another point: After losing so many troops in a singular battle, the Romans changed their tactics. Instead of grouping their entire army as a massive 80,000-man strong Phalanx, they split up their armies into smaller groups, so that their eggs weren't all in one basket anymore.

Hannibal's trick to encircle and kill many roman troops in a single battle was never going to be repeated: the Romans learned of their mistake and made the necessary reforms to protect their troops.

-----------

The Battle of Cannae would go down in history as a military example of how to line up all your troops for potential slaughter. Future generals and tacticians would forever know of that battle and how to avoid those conditions.

Most generals and soldiers would seek a battle of annihilation: if destroying the entire enemy force is possible they will attempt it. The problem is, its very, very difficult to achieve in practice.

As such, simply routing the enemy, is sufficient for most military goals.

https://en.wikipedia.org/wiki/Battle_of_annihilation
I used to put comments in a more faded out color because most aren’t worth reading and they certainly aren’t worth highlighting.
New Strawberry-Flavored HIV Drugs for Babies Are Offered at $1 a Day
No, it's bits of valid syntax thrown together informally to express an idea. There is no `!:` in Rust, and that `for` quantification never applies to types or bounds that way.
BuzzfeedNews actually has decent journalistic content, presumably funded by listicle garbage.
> Was Pin SUPPOSED to be resilient to unsafe code?

Regardless, for a user to be able to trigger undefined behavior without using the `unsafe` keyword indicates a bug here that must be fixed at the level of the language or standard library.
Maybe for internal comments. I like having different styles for docstring comments and other comments.

/** Frobnicate the weevil with the given ID and return 0 on success.
*
* Locks the weevil during frobnication, which may take a while.
*/
int weevil_frobnicate(const char *id);

The most important part here is the function definition and its types and parameters. Usually, when I'm looking for a function, the name and type is enough to find what I'm looking for. So I want the function declaration to stand out and the docstring to be faded.
Thanks, it is better now but still not very good.
It could be literally just Cassandra with three hosts per DC... (or even one if you have enough dcs...
Amazon workers stage strike on Black Friday
encrypto
Well, I missed that the domain was N, so... let's both just blame the tryptophan and call it good.
As someone with serious sleeping problems (at least once a week I miss a night of sleep) and bad sleeping habits overall, I’ve definitely noticed my attention span and ability to think clearly taking a serious nosedive over the last couple years. Who would have thought, sleep is super important.
Certificate Installation for SSL Intercept
Even low earners have money to spend
The most intriguing version I've heard of this was also based on the feeling that it's already easy to scan for keywords and structure; they went a different direction, using color to make different things (especially confusable ones) look different: https://wordsandbuttons.online/lexical_differential_highligh...

I don't feel like I know how/if highlighting helps, so all I can really say is seems interesting.

I think some of the problems commenters are having with the color scheme are because the site has a dark mode and contrast might be worse when it's on. Maybe in that mode text colors meant for a dark background are still getting applied in the white-backgrounded code fragments.