skysight-inc/HackerNews huggingface dataset:
Ask HN: What to do in a rotting software project
The project my team works in is the ugliest, most offensive codebase I have ever seen. It breaks all best practices, all design patterns, has no automated tests, and in general is nearly impossible to modify. Because of this, its also full of bugs. User reports are constantly coming in about issues and errors in the central functionality of the app. The app is pretty complex and has been written over 7 years but multiple people, so it can't be quickly rewritten. Most of the tasks the dev team handles are these nebulous "sometimes" bugs that are impossible to reproduce, so they basically can't be fixed.

Where do you go from here? Whats the best way the product team and the dev team can improve this situation? I have sharpened my resume and am applying for jobs, but curious if anyone has ever turned around a project like this.
Is that the reason Udemy videos are so lengthy? I rarely buy Udemy courses because of that.
Client IP address disclosure in smtp.gmail.com
Volunteer mentorship for biz talent who lost their jobs due to Covid-19
Thanks for the feedback! We are not part of the core pdf.js team. In regards to pricing we found that for some companies creating their own viewer requires a fair amount of upfront resources - after trying to create their own viewers they realized the time to build and maintain was not economical. The other big consideration is the opportunity cost of sinking developer resources into a viewer that is not a core differentiator.
Well then you're also "wrong" for 3 spaces. Student project, and spaces/tabs argument is for teenagers.

edit: root comment here is mentioning NULL checks and actually being helpful
If there is no purpose to forking then why is it done?

I'd go as far as to say if you kill the ability to fork, a lot of processes would go extinct and be replaced.
Write your own Virtual CPU in C++ (2014)
Thank you for your feedback and question. My apologies if it’s unclear. The source code for the UI is available on GitHub [1], but is minified in the download package for efficiency. Note that even though the code is "open source" in that repo, we still have a custom license [2].
[1] https://github.com/PDFTron/webviewer-ui
[2] https://github.com/PDFTron/webviewer-ui/blob/6.2/LICENSE
President Garfield died from blood poisoning too. But interestingly, they think if he wasn't well to do he would have survived. Many poor people who fought in the civil war walked away with bullets still inside them and no healthcare to remove it. But Garfield being president had all sorts of excessive medical attention before proper sanitation procedures were common in US medical practice. By the way I've just read Candice Miller's book on him and find her writing style great.
Thanks! I really appreciate the support! The snorkel mask already has a rubber fitting where the snorkel attachment gets attached to. So this is really just a easy plug and play solution. Though I think a rubber ring around the outside would be an excellent idea for an even better seal. Thanks for the feedback!
Gut check here, could you share what you want to use a CO2 monitor for?
> I really hope you are trolling. If not, I hope you are in charge of no people. If you are, I hope they have common sense and don't listen to you. If they can't, I hope you don't nobody suffers the consequences of your judgment and logic. I'm at the point I really hope I've been fooled by a chat bot.

Please, no need to devolve into insults. I really believe you don't understand what WHO is actually saying about masks. But I don't think you are a bad person or something. If what you said about setting remote workspace for your company is true, it is likely you have actually saved a life. See, it is not that hard to commend a person you are arguing with.

I think you misunderstand that WHO is not your personal physician, nor it should be. When they say "masks don't work on healthy people" they are not trying to say "a single mask doesn't work on a single person". That is what you seem to hear, but that isn't what they are trying to say. What they say is "If we as a society, spend all our masks on healthy people, it won't work to stop pandemic".

A mask spent on a healthy person is not useless, it's wasteful. If you don't want to contract desease you should stay at home, that is a solution. A mask despite being mildly useful is not a solution. You are still very likely to contract desease wearing a mask, if you do not follow other rules that you tend to ignore.

Kevlar vest can stop bullets, but it is not a complete solution, because bullets is not the thing that kills the most in a war, by far.

Just try to answer this: what makes you safer, wearing a vest, or donating it to a soldier who doesn't have one?
No my own bias isn't a feeling. It is how I tend to think.

The fact of the matter that most problems need to be solved in a manner which is directed by the facts. What someone else feels is almost completely irrelevant. We need to achieve <Whatever>, we need to do the following. When does feelings really come into that process? It doesn't.

I find it completely mind boggling that "root cause analysis" has something to do with someone's feelings. It has absolutely nothing to do with it.
A new, non-invasive method to predict brain pressure
Chairman Pai Proposes New 6 GHz Band Rules to Unleash Unlicensed Use
3.4M travelers poured into US as coronavirus pandemic erupted
> ... and having that declarative rather than imperative is a huge win. The alternative used to be using a template engine like handlebars

While React markets itself as a declarative DOM manipulation library, any kind of HTML templating system is declarative out of necessity. Why? Because they all produce HTML in the end, which is itself a declarative markup language.
> Looking at your comment history, seems like anyone who technically differs with you gets downvotes, I'm sure that's not how it supposed to work, bring it on anyway.

Probably a side-effect of what I usually choose to comment on, which are things that are objectively wrong or seriously misleading :) I think the HN voting system is poor, so I don’t use it, myself.

> Remember, an arrow function shares the same scope with [its] parent function

Exactly like a non-arrow function, then?

> Do you have any evidence to the contrary? I have experienced it when processing heaps of textual data in nodejs (the same engine that runs chrome). My script was crashing for no apparent reason, and just changing the arrow functions solved it.

Not only is that not evidence, it doesn’t support what you originally said. Slower ≠ crashing for no apparent reason.

If you mention which version of Node this was, I can go looking for evidence.
I live in Washington and my uncle was a state inspector for years. I assure you, there are places in certain areas of the state where you can build whatever you want as long as you keep a low profile. Officials are afraid to drive their official vehicles, let alone attempt to flex their influence or rules.
Nice! I know Books and Movies have first amendment protections, but some reason people debate about it for games. I remember another similar story on HN a while back and someone said they were contacted to remove a mailbox they posted to a model sharing site because it looked too similar to a real life mailbox. But as far as I know they didn't push back, but I felt that company was abusing things, especially since they sent a DMCA which doesn't cover trademark disputes - but I guess most companies don't care and will take it down if they get a notice since they feel it's the courts job to decide if it was valid or not if someone decides to fight back. I guess legally, companies just act as a middleman doing a process so they won't be held legally liable even if the notice is wrong so they can keep their safe harbor instead of picking sides.

Then I remember the case where a real life club got mad at grand theft auto. But in the end it was decided people wouldn't confuse a night club in real life with one in a virtual world. Probably would be the same for that mail or car example too. And they didn't even use the logo, the shape or colors of things can count as a trademark.
Where is that? I'd say in Europe forests are so well utilized that you will be discovered by a professional forester in no time - and likely asked to leave.
"Well, except Hamachi."

As well as the one from the author of ntop.

A few characteristics most projects consistently fail to meet are (a) keeping the source code available, small, relatively simple and easy to compile, (b) allowing peers the option to connect directly after discovery without routing traffic through a third party and (c) recognising that not all peers want to form massive infinitely scalable networks, most will prefer small ones.

Most P2P projects choose a design that forces the majority of users compromise in order to accomodate a few unpredictable/hypothetical edge cases. "Perfect" gets in the way of progress. History shows there is no "perfect" when it comes to P2P.
U.S. Army rolls into Seattle with field hospital built for combat
I seem to remember "liberal" media being quite obsessed with reporting on never-Trump and disaffected conservatives who were horrified by Trump. In so far as Trump is presented as the voice of conservatives it's because conservatives in the US have made him that by supporting him with absolutely insane approval ratings, no matter what he does.

Also complaining about downvoting usually just leads to downvotes...
I’m with you. But of course that won’t ever happen.
21 for a French Press? That's way too fine. Barzata's own site suggests at least 28:

https://baratza.com/grinding-tips/

I personally have it around 32-33. I don't remember if I got that from their manual or from somewhere online, but I haven't noticed any degradation in flavor from the larger grind. The whole point of investing in a quality burr grinder is being able to get a proper coarse grind; make use of it!

EDIT: A separate Reddit post (though by no means authoritative) agrees with my recommendation of above 30 for FP:

https://www.reddit.com/r/Coffee/comments/1k0uhb/is_there_a_c...
I spent about three years building the support for PDF into my graphics editor https://www.Photopea.com .

While other editors "add stuff on top of PDF", Photopea "chews through" each byte of a PDF, and tries to make as much sense of it as possible.

You can rewrite the existing text (with the same formatting), edit bézier curves, edit gradient fills. You can edit bitmaps on a pixel level. You can see the parameters as CSS or export it into an SVG.

Also, it is free. People open about 150,000 PDF files a month in it, but I hope it will get more popular in the future.

Demo PDF: https://www.photopea.com/api/img2/WEBSITE-ZLONIN-uprava.pdf

Photopea: https://www.photopea.com#%7B%22files%22:%5B%22https://www.ph... (press T and click into the text to edit it)
Well, there was a noticeable surge of new Mini14 owners at my local range during the peak of PUBG (Player Unknown's Battlegrounds) battle royale game.
Yup, I feel the same way with unpacking a tar file. Rather than just copy/paste the answer I see on SO, I explicitly retype it to that I learn the syntax.
> I don't know you from anybody but I'm one hundred percent sure that you live with contradictions to your own values, no matter how carefully cultivated and adhered to.

Sure, but for most of us they're not so glaring.
correct, as long as you move camp at least 5 miles every 16 days.
> I think this will leave many people in a more prepper / saver / hoarder mindset,

I think this is exactly right. It’s what happened to the generation that lived through the Great Depression (heard many stories from my Grandmother who lived through it).
Cure for Corona (Maybe)
> how you have to clear brush within 100' (or to your property line) of your house.

That's so a wildfire doesn't ruin your day. They come in fast. Burning embers will rain down on you and they will travel as far as 100'.
Our intention with PDF.js Express is to provide a solution that meets a market need for a PDF.js viewer with out-of-the-box features. Building this viewer that wraps around the PDF.js engine was no small task and we do hope that it will provide some value to developers. With that said, our goal is to grow usage of PDF.js Express and the PDF.js project. Ultimately the more developers we can bring to the platform the better it is for us and for the open-source community. We’ve started by creating articles that should help others get started with vanilla pdf.js: How to Build a PDF.js Viewer in React + Typescript [1] and How to Add Zoom Controls to a PDF.js Viewer [2]. We plan on creating more of these guides and now that we've launched this product, we will be looking to help move the pdf.js project forward.

[1] https://pdfjs.express/blog/building-pdfjs-viewer
[2] https://pdfjs.express/blog/build-pdfjs-viewer-ui
Interesting. I've checked out the Lithuanian forests after hearing much of them. I remember, we drove for about 1h to get into as much into 'middle of nowhere' as we could. Didn't strike me as a place where you wouldn't be found by a forester quite quickly. But that could be just my perception, from growing up in Germany and building places in the forest as a child.
Meet has a 10-letters ID for meetings over HTTP and a 9-numbers ID (like zoom) for phoning in. It sounds complicated but in practice every Meet invitation has a single-tap phone link that dials the correct number and input the conference ID after a pause, all encoded in the link. It works flawlessly and so it doesn’t matter if that number is different from the concernce URL you click on a computer.
These two old threads from Ask Metafilter might be pertinent:

https://ask.metafilter.com/98291/How-does-IT-documenation-wo... (2008)

https://ask.metafilter.com/111250/Document (2009)
PDF.js Express is not open source.
Isn't it easily fixed by making IDs slightly higher entropy, and also rate limiting retries? Something like a Youtube ID which is 11-char in Base62, which is short enough but has so much entropy that even know with billions of videos, entering a random ID will most likely not work.

You should also always have some reasonable rate limit of any sort of API query, if someone is querying rooms at 10qps or more, there's clearly something wrong.
> Most espresso shots end up being sour and unpleasant for me

Most are, even in cafes. I didn't realize this at first, and I bought an espresso machine to be more convenient than starbucks. But, it took me at least 2 months of owning an espresso machine before I was able to get the grind, tamp, extraction temperature and extraction time right to pull a good shot consistently. Honestly, it was two months of pain. But, it's been heaven ever since.

I don't mean to be a snob about it, but I used to enjoy starbucks espresso drinks -- not as much anymore. They're slightly bitter or sour most of the time, and once in awhile they're completely undrinkable. I live between two starbucks and I travel a lot, so it's not like it's just one bad location. I still go to starbucks once in awhile, but only if it's for a social reason... not for the coffee. My wife was not convinced at first, but now she agrees that my lattes are better and more consistent than Starbucks.

I think anyone who likes coffee will have the same reaction as you... their mind will be blown when they have a proper shot of espresso and they will probably hate it until that time. So, if you enjoyed it more than coffee, you could take the plunge too. It's like a lot of things though, if you want to do it right you often have to do it yourself.
What I worked on was more like a spreadsheet, so I didn't use any of the text-oriented steganographic techniques like replacing words with synonyms, etc.

I was able to develop enough variations that vastly outnumbered our users though, so even with just a portion of a screenshot, you could fairly easily figure out where it came from.

Just looking at possible CSS rules and you can see where the variations come into play - cell width, border width and styles, font color(e.g. the specific green or red that represents gain/loss), kerning, column placement , etc.

On top of that, I only fudged with display elements - the numbers were never changed. However, the numbers were updated on a near-continuous basis by ingesting various logs, so any column that was live(year/month-to-date, etc) would have only a very small time range where that number could have been displayed to the user.
> But the thing about Darwin is he articulated just how cruel nature can be while being a victim himself.

Nature isn't cruel. It's indifferent which can seem cruel at times.
Andreas Spiess has a good video on VOC vs CO2 sensors.

https://www.youtube.com/watch?v=FL0L-nic9Vw
> Also, food banks != the state.

The donations are typically given with the understanding they are helping those in need, not those who want to be in need.

> The one I volunteer at is a church distributing food that's nearly expired, donated by stores who would have tossed it otherwise. It appears win-win-win to me and is taking nothing from you. Do you have a problem with that?

Then why doesn't they guy simply to go to the store and offer to take their almost expired food? My guess is that they wouldn't give it to him because they'd want him to pay. The food is given to food banks for those in need. Someone not really in need taking it lowers the amount available for those truly in need, artificially signals to donators that more food is needed, and violates the consent of those giving the food for the truly destitute.
"supporter tier" is an interesting idea! We're still figuring out what kind of pricing makes sense for personal use vs. company use. Hopefully we'll have something soon!

In the meantime, it's fine to be on the solo plan for personal use, it's there and free to be used :)
"Zero Latency"?
> 0-50K monthly pageviews $price, 50k-100k another price

It's just a way to charge depending on the client's wallet. Standard practice in b2b, so let's be real: nothing new happened with web fonts in this regard.
I know a best-selling author with a trademark, and she got legal advice that having folks who use her trademark point at her website is good enough.
Likewise; and it looks nicely put together. The article just skims the surface — classic magazine-style, I suppose — but I’m tempted to subscribe if it covers a wide range of software engineering topics.

If anyone here reads this regularly, is it worth it?
Do you have a link to it on Audible, or somewhere? There seem to be several Great Courses on Biology.

I absolutely love the series, and the one you're describing definitely sounds like one I would like to listen to.
The equivalent to that would be to just buy e.g. the 100k users font license, and then stop serving traffic once you hit 100k.
I'm not sure how old you are, but if you don't know the name "Borland" you might not realize how novel it is to have a compiler on every major OS. While Python's age means it has been around to see a lot of changes occur, that also means it had pre-existing practices and code to also consider whenever a shift in the industry occurred. Plus in hindsight things look obvious, but during the transition it isn't obvious what will stick and what won't.

It's pretty remarkable that things have continued to function since my 17 years with Python alone have seen things like:

- Compilers becoming available on all OSs
- Linux becoming a thing
- Laptops becoming common
- Smartphones
- Web-based email clients

As I have said a few times in comments on this thread, it's fine to feel like there's room for improvement, but trying to "stick it" to Python and its packaging ecosystem in some way for not being perfect is pointless for you and demotivating for those who are actually in a position to try to make things better for you (and even if you aren't a Python user you should care to some extent about it as Instagram runs on Python and thus it is helping to deliver you those cat photos while you're stuck at home ).
This is the first time I've heard of Increment. Is there a way to financially support them without having dead trees sent to me? Really impressed by the quality and thought that's gone into these articles.
If it failed in a way it can fail in the real world, ideally with examples, then there should be no problem. If the movie doesn't extrapolate and effectively libel the brand with untruths (e.g. they all do this, this is normal, etc), there should be zero problem with it.

Brands, music, trends, etc, are always a street with two-sides, yet we act like there is only one side worth consideration. e.g. These things are the part of our lives as well, and we made them what they are, so there is shared consideration, which is exactly what this judgment is saying.
The majority of the world not living 200k years in the past won't die to obesity, either.
Which is exactly what the conclusions of the study imply...

In which case, if men and women do not on average perform equally at given tasks, there's no reason to expect gender parity or even pay parity in meritocratic systems.

That's an unspoken contradiction inmplied by many of these studies. But I haven't seen any researcher mention it recently, for increasingly obvious reasons.
Didn't even read it after seeing that in the headline
no matter where they hide or what they do in america, nowhere/nothing is safe from just calling them colonizer/cultural appropriator
"A problem is a problem regardless if is as of yet undiscovered."

Instead of thinking that a product has 'some number of bugs, which when fixed, is perfect' - consider that there are maybe 'infinity' problems. In any given context, those problems are likely to cause differing levels of concern, in different ways, and that in different contexts they may be more likely discovered than not.

For example - Mac is generally considered to be a little bit more 'secure' (heavy quotations) than Windows, the party by design, but partly because of the likelihood of attacker exploits being discovered due to limited market share.

That considerably fewer people are attacking you is a legit thing, especially in light of the potential fallout: 3 weeks ago 'Zoom' was not a pop-culture term, a breach may not have made the big news. Now, everyone's talking about Zoom, so there's a problem and Anderson Cooper is talking about in CNN, the fallout is much worse.

In this 'new context,' the calculus has changed and the impetus to fix certain problems a to maybe actually be concerned about FB login will have changed.

Case and point: SpaceX's decision to not use Zoom made international headlines. This is a huge deal. A zillion IT staff around the world are at least going to read that article. 'Software made in China' they'll read. 'Wait, what?' They didn't know that, does it matter? 'My CEO saw it on the news last night and has asked for a security review, whereas we mightn't have done one otherwise' et. al..

Edit: MY CEO has not asked for a review, I'm making a hypothetical situation here I meant to be speaking in another voice.
There were always big players in the Chat Industry, AOL, MSN, ICQ, Mig33, Yahoo Chat, GChat, Wave (oh the nostalgia), Hangouts, Skype, Lync and now there's Slack, Teams.

But communication is essential to humans so there'll always be space to do more, or doing more by doing less. I really welcome the competition in this space.

At first I loved slack, now I have a love/hate relationship with it. I'm sure I could easily be swayed with a more performant product focused on basics and good integration with other services.