skysight-inc/HackerNews huggingface dataset:
Some years ago I got the flu and two days later I became unconscious, went to a coma for five days. It took atleast six month for the hallucinations and the body aches to stop. Doctor said it was Viral Encephalitis. Worst days of my life, but still lucky to be alive.
Diary of a Do-Gooder
"Company: Thing we have sunk massive amounts of cost into is a bigger deal than sliced bread."
I think anybody that got all conspiranoid about the bird flu and swine flu alarms of the last decade should read the accounts of the Spanish flu, a bird flu.

Young adults coughing blood foam. Towns where every single person died. Cities with bodies piled up on the streets because the undertakers died or wouldn't approach them.

The WHO raised the alarms because a bad bird flu is alarming.
"Make the most important thing stand out"

I'd be careful with this one and be sure you understand what you are doing on a case-by-case basis. I have noticed a thing which I'm not sure there's a name for, but I call it Emphasis Blindness.

Similar to Banner Blindness, I think users today are often trained by habit to ignore things that stand out as some kind of obvious promotional item.

For example, you have 5 items in your navigation: Process Company News Blog Shop, and Shop is the most important, right? So you put it in some kind of special placement, and give it a button-like appearance with a special color and an outline. That doesn't necessarily make it easier to see! In some cases your users might just be looking through the "normal" navigation and not see "Shop". They will skip right over your large colorful button because it looks like a promotion, which they are trained to ignore.

Something to consider anyway.
Arduino is AVR, who are currently owned by MicroChip.

So you can find the asm guide here: [0]

The Atmega328's datasheets are here: [1], which includes things like a register breakdown.

[0] https://www.microchip.com/webdoc/avrassembler/index.html

[1] https://www.microchip.com/wwwproducts/en/ATmega328#documents
Story time, please.
Another thing that happens is you can get hit by someone next to you, that has just as little experience, doing it a lot better than you on their first try. It doesn't help if this person is way younger than you to boot.

Kids generally get more slack for not being good at things, as well, whereas with adults, since there are many adults who've done X since they were young, being an adult who just started X makes you extra bad and sometimes a minority.

I have gotten the "why are you so bad at this?" reaction from people before when doing new things. Especially with anything physical, I improve rather slowly.
What is limiting about being able to step thru each instruction?
Fair point, there.
How is "break" in switch statements a footgun in Java? It is annoying boilerplate to need a "break" after each case, but how can it lead to shooting yourself in the foot?
In the long term, I’m likely to enjoy skipping Whole Foods and shopping at a store like Wegmans that is run better.
It looks outdated, or at least for the three bars that are close to my place :(
Only scenario I can think of for those kinds of numbers is a big bank or hedge fund buying in.
I handle this for my whole network with a pi-hole[0].

[0] https://pi-hole.net
Searching for wisdom
(Obviously unlikely given the offshore-ness of ot all.)
>IMHO getting vaccinated is more about herd immunity. Everyone I've ever heard who proclaimed heartily that they don't get vax either said it makes them sick or they never get sick.

Its not a psychosomatic reaction. People frequently get minor, flu-like symptoms for a few days after getting a vaccine. While its not as severe as having the flu, people feel "sick" and so they accurately describe themselves as having gotten sick from the flu vaccine because it makes far more sense to talk about these things in the context of the way they make us feel, and no sense at all to talk about the underlying science behind vaccines that doesn't magically make us feel better just because its technically correct.

I get minor, flu like symptoms, which are still a pain in the ass, about 85% of the time when I get a flu vaccine (which is every year). Its still significantly better than getting the flu, but its pretty obnoxious that the medical community tries to shame people for noting the objective fact that getting a vaccine is still rather unpleasant. Its like our society is incapable of understanding nuance. You're forced to either take the side of anti-vax lunatics or pretend that vaccines have no side-effects.

Also, about your comment on the vaccination being for the good of the "herd". That's mostly correct, but it doesn't tell the whole story. According to the CDC, if you get vaccinated and then get the flu, the severity of it will be somewhat lessened and the chances of it becoming a severe illness will be reduced. So its still allegedly worth it for the individual.
You will want to code on the avr directly. The problem with audio processing on arduino is that there is a 1ms system tick that is higher priority than user code. It causes audio signals to sound scratchy, even a solid tone because the arduino pwm is all interrupt driven.
Do put leading zeros on numbers that are sorted as text.
Wow, encephalitis is no joke! You’re lucky to be alive. May I ask how old were you at the time?
Ask HN: Ever use someone else's Auth Token to access an API?
There is a website that has an API that I want to build upon. Their API is request only access, I requested but haven't heard back yet. However, their front end accesses their API, including sending requests with an auth header. I did a quick POC and was able to access their API by sending their auth header with them.

Has anyone done this before? What were the long term results?
I had been working primarily remote (1-2 days in office for 6) alternating between standing and sitting in my recliner. Switched jobs where I was expected in office 5 days a week for 8+ hours. Friday night the first week I was there I tore a disc in my back. It wasn't until I left and took some time off that it fully healed and allowed me to strengthen my core.

Needless to say my current job is heavy remote with flexible time in the office that I took over a higher paying position.
You're absolutely right! Sketch and Gulp don't add to the final size. And HTML and CSS are needed.

So let's be generous! I'll assume that 4x the core content size (1.3k) is needed for markup and presentation, for a total of 6.5k. Round a bit... that's still 5100% inefficient.

I can see why some might consider that a bit inefficient. Of course, I can also see why some might consider the design the most important part of the site.
That product is only available at Half Foods.
I think there's an important distinction here in word choice. Sundar said more profound, not a bigger deal. You could imagine that it's more profound in the sort of "what if we make machines that can think / feel / have souls" sort of way, which certainly can't happen with fire or electricity.

That doesn't mean it's more important than electricity. (As a bozo test - how does your AI work without electricity?)

Disclaimer: work at google, in a role completely unrelated to AI.
I'm sure there will be a learning curve. Anybody who has been through a company switching to a complex new business system will not be in the least bit surprised that it has brought WF to a standstill.
Why Automation Is Different This Time
These are good guidelines, I generally agree with all them (and I've messed up tons of times as well). It's important to note that you should write comments for the developer, whoever that is. That means understanding their perspective, their experience, and what they want.

Some developers really won't take offense to many of the "bad comments" suggested, and could even feel patronized if you take some of the guidelines - for example, over explaining something could be overkill for someone who just made a mistake.

I've also found that taking a lighthearted approach to code reviews really lightens up a stressful interaction. Simple jokes, comments like "dead code! woo!", and whatnot make a difference.

And lastly - don't forget positive comments!! Celebrate people's work when you can!!
Distinguish wart from feature
Tim Cook: I don't want my nephew on a social network
These problems that embedded rust is trying to solve are not a big deal. In C you try to minimize what happens in any interrupt, usually just set a flag, save a result, and return. You generally use atomic instructions on gpio. To set or clear a bit mask is atomic so there is not much reason to read-modify-write gpio in an interrupt or anywhere. I think these solutions would create more work than they save.
I think “don’t tell people how to talk to each other” is a good rule.
It's a conversation. Sometimes, it's no big deal, and sometimes, it's fine to deflect and say "I'll make a ticket for it".
It’s a good thing I’m talking to random people on the internet and not doing union negotiations.
Quoting a large section of the email verbatim was not a smart move. I'm giving this at least 50% odds of being a leak-tracing exercise. It's common practice to send an oh-so-leakable message like this with per-recipient variations of wording/spaces/non-printable characters, and wait for it to leak so you can identify the leaker. And this email is (a) suspiciously juicy, (b) in reaction to a prominent recent leak, and (c) doesn't actually reveal anything private...

(Example from a few years ago: http://gawker.com/5164035/tesla-ceo-in-digital-witch-hunt)
While that is certainly excellent good advise it is centered on online code reviews, such as those in a git pull request. Although this advise is excellent, these aren't hard problems to solve. Particularly since if a submitter is out of line a collaborator or moderator can easily shut them down or close the pull request. Case closed (over simplification).

Far more challenging are offline code reviews where you have to deal with people face to face and contend with people's emotions. If everybody were mature and confident emotion wouldn't be a serious factor, but this isn't the case in the corporate world.

People are frequently guarded, offensive, or deceptive most usually without any awareness of their emotional communication. It takes a special kind of soft skill to get people to open up, be relaxed, and attain greater disclosure. This can be particularly challenging among young people who may be more emotional, face greater technical hurdles, and lack the communication experience to contend with emotional pressure.
> The apk is a paltry 18 MB.

It's somewhat disturbing that this is considered paltry.

Most DOS games managed to fit into a single diskette, and that includes not only the logic bits, but also assets: images, music, sound, etc. Remember that they didn't have the benefit of being able to borrow a massive number of assets and libraries from the OS. You wanted a button? You had to draw it yourself.

Also, my Linux kernel - which is infinitely more complex than this app - weights in at 7MB. Ok, sure, the modules are another 30MB, but that's only because I took the shotgun approach when I configured my kernel. I'm lazy, sue me.

Anyway, this app seems absolutely trivial and it barely has any assets at all. It's frankly embarrassing that it consumes so many resources for such little functionality.
This is going to sound insanely pedantic to this commenter, but was the fatal strain in this case even present in this year's vaccine?

I'd bet that it wasn't. Fact is, for the past several years, the three/four candidate strains chosen for the USA vaccine were badly mismatched for what strains actually circulated in the wild.

Flu vaccines aren't like genetic vaccines (like for HPV), which are essentially foolproof for the targeted strain(s) and carry little risk of side-effects. Flu vaccines are more of a scattershot approach, with the "misses" generally ignored by the media.
That is actually kind of exactly what http://www.nwzer.com is about. (You can sign up for alpha there)

nwzer's statement: What if Reddit, Twitter and Wikipedia had a baby?
So you're 'saving' each customer £.01 and to frame it another way that 64 GB iPhone has ~55-60GB usable space which is 3000 17MB apps. Sure a smaller app is laudable and devs have gotten loose with optimizing for space but the numbers just don't really make sense for a single dev on a kind of jokey app with a low lifespan to spend the time on.
No model is free of bias. They are still trained by humans. But they make it faster, 24/365, and with a similar degree of accuracy.
> But it is hard to believe that ANY of us disagree about IP contracts or extended options execution windows.

It's not that people disagree about them, it's that many developers don't suffer from them.

I'm a professional developer and, for me personally, everything in your list is a non-issue. I left BigCo where they were an issue. But I sure can think of a host of issues that I would be concerned about were I part of an organization, one of which being someone else saying what are and aren't issues to me.

If a time comes where a good dev cannot choose where they work and basically negotiate their own terms (e.g. I'm not putting up with any of that stuff in your list and I don't have to in our current market), then unionization may be warranted. But as it stands now, I think many of the issues you listed are avoidable and good devs call their shots.

The HN complaints you hear are an echo chamber and shouldn't be a basis for your opinions on the industry as a whole.
That's terrifying. Can I ask - how did you treat the flu once you knew you were infected?

I got the flu this year. My symptoms were almost exclusively a fever. No significant aches.

I gave myself 2-3 days of 102 fever. Taking no medication, but laying in bed, drinking water, and eating as much as I ibuprofen and the fever broke. I continued taking for the next day, and by the end of the 4th day, I felt fine.

It's scary to think I may have just gotten lucky. I don't "know" what the right course of action is. I'd like to believe that letting your body fight the infection visa vi a fever is a good idea, assuming you're healthy enough to take that kind of physical stress. I don't know.
If you take the slack out of a system you make it more "efficient" but also more fragile in the face of the unexpected.
The DaisyDisk website is surprisingly ugly and does not do their app justice.

Here's what the app looks like: http://www.creativeapplications.net/wp-content/uploads/2009/...

Ever since I've ditched macOS I've been waiting to find a similarly designed app for Windows.

EDIT: Just tried Diskitude, but it's unfortunately nothing like DaisyDisk. It doesn't do the same drill-down DD does.
A 18MB app is smaller than the vast majority of apps nowadays.
I'd think that the primary advantage is they don't require paying salaries.
+this

CC company are on your side as long as you did some fair effort to resolve situation with merchant.

File chargeback and let them force-return you the money + have them pay lots of chargeback fees to CC.

This is likely not a scam but lousy support. Which they'll force to better. Chargebacks are very painful for merchants.
and it doesn't look like it was designed in the late 80s.
FWIW I've only worked for one employer that had a restrictive, overzealous IP contract and invention assignment (others have just had routine paperwork about acknowledging their ownership of things done during work hours, etc.). It was one of my first jobs and I left after six months. They can't keep good talent, and they either get hangers-on who never leave because they can't hack it anywhere else, or people just using it as a short-term stepping stone and are out the door in 6-12 months.

Options do suck, but I guess these are considered less pressing issues because anyone intelligent ignores options more or less completely. If you end up with a windfall from them, that's great, but no one should expect it. Working for equity is for chumps -- demand a decent salary. It's plenty attainable.
Example? Anderson Cooper or Chuck Todd.

Media Whore is too specific. Whore is a better fit.
Looks really well done. Have you considered a developer's license so people can build it into their apps?

How difficult would it be to make this work with google calendar?
Yes, they often put lemon on it before or while cooking, a good whale is similar to beef.
If you have an affinity for math specifically Linear Algebra and Applied Statistics most of the concepts are quite straightforward to understand. When building credit scorecards, the main point during a project is to find out which characteristics rank.
Condensate, on the other hand, is a gas amid the heat and pressure down there. Bring it up to the surface and it condenses into liquid.

So it's a gas at high pressure, but a liquid at atmospheric pressure? I hardly think so! I would understand if it was liquid underground, but turned to gas when we let it vent, then turned liquid again once cooled.

This article is entirely about the definition of condensate, but still doesn't explain what it is:

https://www.reuters.com/article/us-oil-condensate/u-s-oil-in...

Although it does contain another baffling oil fact:

the Texas Railroad Commission, which oversees the Eagle Ford and Permian basins that account for most condensate output

In Texas, oil production is regulated by the Railroad Commission. Of course.
Interesting. For my first experiments I don’t really mind - will just be happy to get sane output driven by midi!

From what I gather, the technique is to change the PWM in an interrupt continuously to match the amplitude of your output wave. During that 1ms, what happens? Does the PWM still output a regular wave but I can’t adjust it? Or does the PWM wave itself stop?
I need something like this for Ubuntu
How much is the author's time worth? How many hours would it take to get the application down to 1MB?

For an application that relies on many simultaneous users, it's better to be a large cheap app then an expensive optimized app.
I think that's an interesting discussion worth having -- supposing a tech union existed, what would we want it to negotiate for?

Some possibilities I can think of are: better pay, less work hours or paid overtime, better benefits, more vacation time, minimum office size / screen size / cubicle wall height, a cap on the ratio of employee pay to CEO pay, a right to say no to work that violates a professional code of conduct without risk of reprisal, access to training material, pay transparency, prohibitions against overly-broad intellectual property assignments and a right to work on non-competing projects in one's free time, prohibitions against anti-compete clauses, and mandatory prior notification of layoffs.

I imagine most people who work in tech would have a different list, but there would be some overlap.
we cant come together on a frontend framework ... there are so many important things we do not agree on, programmers are very particular people , what is great for one , is crap for another.

We are also anti group think, i dont want to be part of a frat , or a group or a union and I dont want to pay union dues. Unlike actors we are people that can think for ourselves and we like to be atonomous. Think of the idea of the 10x'er ... Even if you were a 3x'er wouldnt you not want to be mixed with a group of shitters ...

basically programmers is a broad spectrum that many outside and some inside the industry really dont grasp ... hence why you say "or what ever term you'd prefer to be called'

I prefer to be called employed , with clear terms that my employer enforces ... you can take your bureaucratic , middle man bs and shove it.

Thats my opinion on unions , not you personally ... i just hate unions and all bureaucratic liberal constructs, its always a waste and hurts the hardest working becomes a corrupt group.
I find it very hard to believe that a sane inventory management system can run out of popular items that spoil very slowly.
Are they optimizing not only for minimum waste but also for minimum back stock, denying a store a few sacks of potatoes and onions?
I was 26 at that time.
"if you get vaccinated and then get the flu, the severity of it will be somewhat lessened and the chances of it becoming a severe illness will be reduced."

I know of absolutely no science that supports that oft-repeated claim about influenza as a whole.

If the flu infection is from a different strain from any that person was vaccinated for, there is no demonstrated cause-and-effect from the vaccine that provides blanket mitigation for different strains.
Definitely interesting way for the state management. Reminds me the MobX approach. I like the way it uses the ES6 Proxy.
My description was actually: the most juicy beef I ever tasted. Definitely better than most good steaks IMO.
You've always been able to use a canvas normally and then create a url to it using toDataUrl. Alternatively toBlob then createObjectURL which I think might be more performant than data url which requires encoding/decoding base64.

So I guess the main thing added is convenience? Am I missing something here? Adding CSS that requires corresponding JS code is also new territory isn't it (I can't think of anything else that does this)?
> So I would say there probably was a nationwide spike in out-of-stocks spread out over a few days. But it isn't really because of OTS.

Is it though? If OTS drastically decreases the backstock, wouldn't it also decrease the ability of a store to respond to these kinds of changes?
These breaches were before Geoff (the interviewee) left Palantir and started at Slack, so it's possible things are in a better place now.
I find the use of "Toxic" to be somewhat inflammatory and hyperbolic. I would say this would more accurately be titled as "Improving your Code Review Interpersonal Skills".

I wholeheartedly agree with the suggestions -- they are all great ways to be sensitive to your fellow coworkers, and I tend to favor this style. However, I know a lot of great developers who have a more direct style of communication. Also, I know several people who might interpret similar comments as patronizing or passive aggressive.
> Did Chrome come up with Houdini?

Most certainly not. I know people at Mozilla who've been working on Houdini-related features for a while now (cf. https://wiki.mozilla.org/CSS/Houdini). Chrome is just the first to release here.
So , tax accounting and immigration paperwork are areas ripe for innovation. There is an unjustified amount of effort and time going into accounting, which should be automated in western countries.
Dunno. Maybe.

All a union did for me in my younger years was have me work my ass off so older union members could sit around doing literally nothing. In fact as far as I could tell their jobs were effectively finding ways to do nothing, and then when they got too good at that finding ways to keep others from doing anything.

I would not be paid nearly what I am today had I been stuck in my first union job. Even if I had stayed in the same field.

Until unions can stop being basically safe havens for either the lazy, incompetent, or corrupt (what they've effectively become in the US) I want zero part of them. The two I were in in my teens and early 20's were enough for me. They were so bad I did not want to be morally associated with them in any way whatsoever. All I ever saw from them was protection for the worst kind of people, and the high performers were ran out of the company as soon as possible by all the other members.

It sucks there isn't something else that can champion the rights and pay of the workers without simply serving the lowest common denominator. I'd actively join and support a "trade guild" where membership was predicated on competence and work ethic - and members actively policed to ensure they meet the standard. I'd also seek out employing such guilds when possible.

Unfortunately that doesn't exist, and I tend to actively avoid union shops with a few notable exceptions. Typically when you say the word "union labor" to me that means it's going to be 4x the price, take 5x as long, and be done halfassed so we'll have to re-do half the work anyways.