skysight-inc/HackerNews huggingface dataset:
Managing the codebase for a coding platform I wrote in 8 weeks as a highschooler
For context, DomeCode ( https://domecode.com ) is a platform that I built for people to learn to code, practice, discuss stuff on the Forum, take notes, plan out tasks, even conveniently listen to music right within a single platform.

Since I don't really have any funding for this project yet and I'm still in high school trying to save for university, it's a little hard.

Over these 8 weeks, the codebase transformed from a single Django app to 3 Django apps to 8 Django apps within the platform and managing it became a little difficult but well, I still need to manage it, right? (P.S. Some of those apps are made open-source on my [Github](https://github.com/arthtyagi). So I ended up using these technologies for mostly maintaining my code :

1. CodeScene which is great for predictive analysis for technical debt and risks.
2. Codebeat for proper code review.
3. HoneyBadger.io for tracking any errors in the deployment.
4. LambdaTest to manage inaccuracies in the UI
5. TravisCI for Continuous Integration
6. SOFY for automated testing

And I really got to say that using these technologies has for sure made the whole process easier for me to some extent.

One final question though, why does Load-Balancing is charged extra starting at $10/month on DigitalOcean whereas provided by default on AWS Elastic Beanstalk? Since I haven't used Load-Balancers on my application before ( Heroku pre-integrates them ) manually, does one choose their own load balancing technique ( like Round-Robin, Least-Connection, Weighted Round-Robin, etc. ) or is there a fixed technique provided by default in the load balancers that users choose on AWS and Digital Ocean?

Btw, I'm planning on using Celery to make some tasks asynchronous and if anyone's got any warnings or tips about that, please let me know, that'd be great help.

This is my platform by the way - https://domecode.com :)
> So none of the profits that Amazon has been making have been going towards Jeff Bezos pocket to make him richer.

For this to be true, Amazon's profits would have to have no effect on its share price.
NAL and the only information I have is from a 2 credit intellectual property class I took in college, but facts (like dollar amounts) are not copyrightable, but curated collections of facts (like an almanac) are copyrightable. It seems this would fall under the latter category. Also from the LinkedIn - hiQ Labs lawsuit, it seems that unfair business practices are factored in. Google is implementing unfair business practices that stifle competition by taking the data to make a competing product.
It appears to have been hugged to death; archive.org link:

https://web.archive.org/web/20200810145047/http://www.cpusha...
I keep hearing “no safety net” and “precipice I’d ruin” yet social programs are the majority of the federal gov’t spending.
Retributive Justice
He's talking about treated wood which is the exception. I wouldn't cook off of burning plywood or OSB but the smoke shouldn't be that toxic. Often the bottom plate of a wall will be pressure treated wood which is filled with all sorts of nasty preservatives and stuff from before 2004 was almost all treated with chromated copper arsenate. That's got a hexavalent Chromium compound (carcinogenic) along with Arsenic pentoxide (highly toxic) plus a dash of Copper because apparently the Arsenic and hexavalent Chromium weren't bad enough.

I would not cook on burning pressure treated lumber, but the vast majority of lumber in construction is not pressure treated.
You may be thinking of "Gell-Mann Amnesia":

https://www.epsilontheory.com/gell-mann-amnesia/
You should tweet this to the Prime Minister. He keeps on harping about make in India, self sufficiency and ease of business. Show him the reality.
1) You'd setup a Policy based on directory or Regex of files and organize your monorepo so that only the people that need to see the PR would. Use your tools to your advantage.

2) It really depends on your culture at your company, having open access to view and change the code from marketing to submit small PRs or possibly move to development. Or submit blog posts or spelling fixes to the marketing website can make for a great team.

3) This adversarial "Critter", Developers > Marketing view makes for a very toxic workplace. Marketing is a skill-set just like development, without marketing or sales there is nothing develop, without development, there's nothing to sell.
Is it normal for builds to fail on master between releases?

I would think a green build CI should be required for merge to master, even if perhaps the tests don’t all pass.
I have to say, after reading those posts, Matt is looking more trustworthy than the OP.

Especially considering the definitely-not-a-sock-puppet post by jimboykin [1], an account that was created immediately after this thread and has but a single post on HN.

[1] https://news.ycombinator.com/item?id=5476100
>Tax billionaires, tax the upper-middle-class, tax profitable corporations, and use the money to strengthen the social safety net for low-skill workers. That would eliminate this entire mess.

That is what we do but it doesn't reduce the mess. We have a safety net and a minimum wage, and still you see the "gig economy" type loopholes trying to get labor for even less than that.
Rohan - Maybe you've not done a good enough job of greasing hands :-)
First, the article makes a claim about PDFs problems for the web, when read online, which is a lot less clickbait-y than "unfit for human consumption".

On the technical claims: while I agree that PDFs are not ideal for many uses on the web, especially for current attention-span-of-a-fly web usage, they are great for things where I am willing to dedicate more time for an in depth look at the subject. For those cases the complaints that authors list about PDFs (linear access to information, lack of advanced navigation options, optimized for print (i.e., look best on a large monitor)) are not limiting and in fact beneficial.

And some complaints (slow to load, stuffed with fluff, jarring user experience) are just as, if not more applicable to most of the web. My 2c -- work in R&D likely skews my preferences in the direction of paper as an ideal interface :)
I would recommend these scifi books https://www.goodreads.com/book/show/25499718-children-of-tim...

And https://www.goodreads.com/book/show/40376072-children-of-rui...

Lots of fun reading them, great author :)
This is only because Apple draws a boundary around their stuff that says "Maps" only uses location when it's running, but "Significant Locations" and "Routing & Traffic" and "Improve Maps" are system services.
Okular [1]. It's strange; I'm a KDE user and big fan of the core DE, but I find almost all the KDE software outside of that core DE nearly unusable. Except Okular – it's by far the best PDF reader I know. I guess credit goes to Poppler for the heavy lifting [2].

[1] https://okular.kde.org/

[2] https://poppler.freedesktop.org/
Even with BAH, a commission, a higher rank, and lots of time in service, on average you still typically make significantly less than private industry.

However, it is predictable. If you aren't super career minded and are on track to be stuck at minimum wage for a long time, then the military provides a lot of structure and probably higher compensation.

If you have the option to get into a tech/finance/etc high paying career, then there's no contest. Entry level engineer at big tech companies make about the same wage as an O6 living in a high cost of living area and like 20++ years in service. Once you get promoted once, you're making more than a general.
I have read a lot on this topic, visited museums in Hiroshima and Nagasaki etc. I'd urge you to compare this article to others, because I bluntly think the author has no idea what he's talking about and just glued together various opinions of soldiers and politicians who happen to have that opinion without presenting the other side at all.

Furthermore the article is self-contradictory, e.g. first it says the conventional bombings were so successful that a nuclear wasn't necessary, then it says since the conventional bombings were unsuccessful the nuclear strikes also wouldn't make a difference (pure conjecture by developers of the weapon, who are no experts in neither politics nor military strategy or history).

It's also simply a lie that the casualty estimates were pulled out of thin air. Ask yourself: don't you think the US army would try to estimate how many of its soldierd would die (cost) vs how many Japanese soldiers would die and how many military targets would be destroyed (benefit)? Of course they did a huge study on this topic!

The article also suggested the Japanese would've surrendered if key people had been left in power. Yeah, maybe (again conjecture). But for comparison: if the US had allowed Hitler to go unpunished, conquered territory to remain under Nazi possession, the Nazis would also maybe have surrendered earlier. But why would you even offer such a surrender? It would render the entire war pointless.
Apple has put its servers in china for chinese users so that the chinese government can access the data. Now the data it collects legally they have to give to chinese government if asked. I am not saying they are giving data to chinese government that rather that they are collecting data which can get into the hands of government so they should let the user control what data they are comfortable with sharing.
People are frustrated since home gym equipment is hard to find. And that's a valid frustration.

However, bodyweight exercises and outdoor cardio can go a long way. Even just walking.

The single most critical aspect you can control is diet. And that requires no equipment, just the right choices. WFH has thrown a big wrench into the eating habits for many.

I run a nutrition application[1], and we've seen a big uptick in sign ups and usage. Curiously, later into the pandemic. No surprise, based on articles like this: https://www.nytimes.com/2020/07/25/nyregion/coronavirus-tail...

[1] https://www.joyapp.com
I was thinking as long as there is peace and prosperity for its citizens, then surveillance state is a smaller price to pay for most people. Xi was praised by majority of mainlanders because he lifted the country out of poverty.

The thing with China is, it is insanely big. How to govern this big country effectively if not dictatorship?

I previously tried to compare Japan and SK to China. But I realized that their culture is drastically different, and SK and Japan is also a much smaller country.
I did this: installed Ubuntu 20.04 LTS and i3 (specifically regolith’s take on i3 using their PPA).
(Regolith-Linux.org)

I’m never going back to MacOS for work but will buy an ARM Mac for personal as I’m still very much in the ecosystem.
> Do not use PDFs to present digital content that could and
> should otherwise be a web page.

To get decent typography, one needs TeX, and TeX produces PDFs, not web pages.
Seems fair enough to me... they're footing the massive bill of organising, transcoding, archiving and documenting all this.

It's OSS, so if you want to do something similar but without GH branding nothing stops you (assuming you have enough cash on hand to pull it all off).
Declining real wages for decades are my evidence that supply curves are ahead of demand curves. I don’t see why education needs more labor, the number of children will be declining for the foreseeable future. More importantly, the buyers of that labor (government) are famously stingy and with budgets already strained with pension and other debt, I doubt they’re going to give up any extra wage gains.
TL;DR some UPS systems will shut down power when they detect battery failure even when mains electricity is working.
That's something your ownership and CI systems catch, and is a prerequisite to use a monorepo sensibly in the first place.

The ownership system ensures a per-subpath commit/review policy, while the CI system ensures a dependency change doesn't cause cascading failures in other parts of the repository.
fyi, this is a "Forbes Contributor" article, so basically like attributing to Medium something that someone posted on it.
Ask HN: What Makes Your Day?
The issue for me is that the federal government is notoriously inefficient. They have no external pressure to be efficient since they have no skin in the game. Don't misunderstand me; i'm not saying there aren't huge issues we need to solve in this country like the broken health care system or the rising inequality gap, but I've never seen any data that indicates giving the government more control and money would solve these societal problems. The US gov't already spends significantly more on health care per capita than other similarly wealthy nations[1].

[1]: https://www.healthsystemtracker.org/chart-collection/health-...
The jerks always say that it will be 'temporary' and we can redo it later. HAH
When they worked in the office, and now work from home, they would have much more time (no commute!) even if they get paid
I disagree that my statement was off topic. The author in summary states that PDF is "unfit for digital-content display". I gave a specific counter example of a type of regularly reviewed digital content that is beneficial to archive (in this case financial documents that may be necessary for tax purposes).

While this is just one use case of PDF framed in a browser, it still stands as one. I have also in my years regularly needed to archive the contents of a page - such as a receipt of a payment or a report on something.

In that case, printing the PDF seems to be one of the better practices. Saving as a Web archive (or whatever the format is called) is an alternative, but that is slightly harder to then print/fax or otherwise send to someone at a future date.
This is typical around the world. This is probably because it's a very practical way to limit losses if someone did gain access to your online banking.

When I lived in Australia, which I believe has a very modern banking system, I couldn't instantly send more than $5k a day. The one time I needed to send more money, I was fine with going into a branch.
It’s interesting to read about how it actually happened, but it does seem like one of those inevitable features that would’ve been added sooner or later.
8 must-read DevOps Resources
Of course they do, why wouldn't they?

You bought Apple hardware; it can be safely assumed you trust Apple the company, right? (insert knowing head-tilt here ;) )
Canada's last intact ice shelf collapses due to warming
I really love the idea and have been waiting for more apps to support these features!

That said, I'm a little concerned about the business model. What's preventing the popular (and sometimes free) platforms such as https://whereby.com or https://team.video from adding these features?
What PR company is recommending this recipe? So much symmetry, but yes basic PR management: always control the conversation first.

"Google’s Sundar Pichai: Privacy Should Not Be a Luxury Good" [1]

"I Am the C.E.O. of Uber. Gig Workers Deserve Better."

[1] https://www.nytimes.com/2019/05/07/opinion/google-sundar-pic...
Thank you for the reply. I found it interesting. I was under the impression that anti aircraft missile is very advanced that it basically can just tail any aircraft there is, but it's not that simple.
> Maybe the US is doing the right thing, bringing back the production side of things back home, so this kind of margin will be closed.

We've spent the past 50 years tearing down our ability to do so, why would we possibly reverse course?
Yeah, my first thought when I read that was that it also takes a willing offender.

I have been in many situations where I met all three criteria and still didn't offend because I have the privilege of stronger morals, greater willpower and a support network.
Our local PD has entirely stopped enforcing against low-level offenses unless the perpetrator's name or location are known, and for several months were dissallowed from performing traffic stops in order to keep the police healthy for other more pressing calls.

If this is at all typical, I'm not certain how reliable any COVID-era crime statistics are, and should probably be integrated into more generalized models with the utmost care.
The British Government also published two years ago they reasons against using PDF https://gds.blog.gov.uk/2018/07/16/why-gov-uk-content-should...
> Essentially, Apple is forcing advertisers to use a per-app permission pop-up with scary language, telling users the app wants permission to track them across other apps and websites.

> But notice the significantly scarier language: “’Pal About’ would like permission to track you across apps and websites owned by other companies.”

> This is language that is likely designed to minimize opt-in.

Love how honest language is framed as "scary" language. This is an admission that what they do is fundamentally creepy and if they were honest with their users, much fewer would be ok with it.

I wish advertisers were forced to ask permission using similar language on all platforms.
Sure, I'll do my best.

My team is designing a new product for our company. We know what we want the end result to be, but we have several iterations to make on our current product to get there, and each iteration can branch through several paths to satisfy our requirements.

So there's a hardware tree which lists the options we have to upgrade the hardware, a software tree that shows the scope of options we have to improve the software, etc.

The idea is to show the different tasks that need to be done; and which can be done concurrently and which need to be done sequentially to get to our goal.

I showed my team the Factorio tech tree to give them an idea, but I didn't realize people used them professionally.
The hardware itself may be the issue. Even com ports over usb don't work a good amount of the time
It would break these kinds of constructs, which are common.

if ((fd = open(...)) != -1) {
/* do something with fd */
} else {
perror("open");
}

The compiler outputs a warning when you have something like "if (a = b)". If that's what you mean (it sometimes is), you have to write it "if ((a = b))" to silence the warning.
The standard does not.

It's common to get a data payload of struct A, but cast it's pointer to struct B which is a subset of struct A (at is the first elements.

Actually in the Win32 API this is done a lot. Often you're even given a void* to some arbitrary data that you need to figure out what should be there. Sometimes it's not even a pointer it's two integers packed together, in the case of WM_MOUSEMOVE messages.
Those badges are also often useless. For example, here's their current failure reason:

Bad response status from coveralls: 422

{"message":"service_job_id (716381595) must be unique for Travis Jobs not supplying a Coveralls Repo Token","error":true}

Has nothing to do with the actual compilation status.

In projects I'm involved with, the vast majority of CI errors were due to stupid things, not actual code problems. For example, last week our tests were failing because the east coast IBM data center that ran the tests was offline due to extended power outages from the weather.
I cannot remember where I saw it a few days ago. They basically just use an emulator and a fake floppy disk, just like people could play cd's over a cassette player.

I assume they don't have to go through certification for the loading device(the floppy drive), just the process of loading data instead (through the emulator)
Yea. Who hasn’t slipped up and forgotten an equals sign... and then accidentally exploited the Linux CVS and pushed their code without approval...

We’ve all been there! /s
How to have secure remote working with a BYOD policy
Hackdoc itself has a mode to run from a local checkout, with no other service dependencies (vs. the production mode that expects a git/grpc proxy service to access the live repository), and as it's Go it can easily be moved around as a single, relocatable binary that will run from nearly all operating systems.
Early on, it was a race between the browsers to differentiate themselves with proprietary extensions, and to be "this site best viewed with ___" (a very common saying on Web pages, and sometimes with image badges provided by the browser vendor).

W3C reined that in, and the W3C staff people are the real deal. Though eventually big browser vendors were able to push through whatever they wanted, maybe sometimes sabotage things they don't like (e.g, HTML5 Offline mechanisms competing with browser vendor's app store), etc.
Sounds useful. Crank it up to 99% failure and it becomes interesting science.
This is so, so wrong. Yeah, OK if you have an interactive website (a chat or message board feature) then you have no choice. If you're trying to present information or an article I'd take a beautifully typeset PDF any day over some website with so many trackers and javascript it takes seconds to load.

Not to mention on a tablet PDFs are much, much nicer to read.
Freeletics, there are some discount codes online as well, I guess from personal trainers with partnerships.
There is a good trick to use if you leave on vacation (or for monitoring breast milk for those new parents). You can freeze a cup of water, and throw a coin on top. If your freezer melts at any point, the coin will be at the bottom, not the top of the water glass when it refreezes.
Is the problem the use of a macro, which isn't as robust as a template, or is there a problem with the macro? All I can figure is there could be an accidental dereference instead of multiply.
The transaction exports in Quickbooks or Quicken format that can be imported GnuCash or whatever is helpful. However, if at some point there is an audit nothing beats the usability of easy for the auditor to understand visual format that is a date/time stamped record.
PDFs exist to emulate paper (a need which won't totally go away), but maybe it would be nice if the format and authoring tools supported a sort of alternate rendering mode that is online-friendly.

So for example, a word processor may be set to produce two-column text, and for paper that makes sense ergonomically. But it is horrible in combination with scrollbars. The same goes for margins at the top and bottom of pages.

A typical word processor allows you to easily switch text to one-column mode or adjust the page margins, so with just a few changes it could render your document in a more online-friendly way. So when you save as PDF, it would be neat if it could include both renderings into the same document.

In this hypothetical world, the PDF viewer would then decide whether to render it in faithful-to-paper mode or in online-friendly mode.
The land in the write-up is located beside a highway and trucks don't need to go through any town to get to the unit.

Nor a I trying to build a heavy industry like a smelting plant. I am currently planning to build a warehouse shed which could be later converted into very light manufacturing plant for animal feed pellets or something similar.

Also, there are very few areas zoned as Industrial land. Also, this isn't a random piece of farmland. It's almost a barren land where most people grow grape vines or just some dry land crops like cactus.
> Xi was praised by majority of mainlanders because he lifted the country out of poverty.

What? Xi took power in 2012, long after the lifting happened.

> The thing with China is, it is insanely big. How to govern this big country effectively if not dictatorship?

If it's too big to govern except through ruthless means, then maybe that means it's just too big, period. There's no moral imperative that says empires have to remain whole through any means necessary.
If course, I should have mentioned it in the original post. See above ^^^