skysight-inc/HackerNews huggingface dataset:
Yes, you can deduct expenses from your rental income and you only pay taxes on the profit (income minus expenses). Of course. But if you have a mortgage, you have to pay it whether you receive rent or not, so it’s totally irrelevant to the discussion - there is still never a case where you are better off, tax-wise, to not earn rent than to earn it.

Then you mention capital appreciation. Same thing. If I sell a property at a profit, then I’m always better off having earned rent from it while I owned it than not. Additionally, you don’t “claim a value” on a property when you sell it, someone pays you for it based on fair market value. For commercial property, the key measure of value is the rental income - when you buy or sell it, you advertise the cap rate (annual percent of investment made back in profits after expenses) and also the vacancy rate. Buyers get a copy of your income statement for the property going back a few years. If the property has been sitting half-vacant, then it will almost always sell for less money, since it’s not earning.

Bottom line, taxes are calculated as a percentage of profits. Outside of some esoteric situations, the money you save on taxes is less than the money you lose in profit.
Hey, I’m really interested what is wrong with Segment if you don’t mind (not affiliated with them). Email is in my profile.
> Any reasonably-well-prepared candidate

Isn't that the point? You say it like it's a problem, but it screens for someone who's reasonably prepared, which is probably what Google wants to do because they really start looking for the super-world-tier people they employ, because I guess that takes more time and resources.

> There's a single pass solution that's left as an exercise for the reader.

Doesn't the blog post already include a single-pass solution that works on a small alphabet?
It depends on options & features (1), at least in the U.S., along with things like whether or not you're trading in another car (2), and your financing options (3), and manufacturer incentives (4)

1) The car as delivered from the factory has a 2% to 5% markup from the dealer. The factory usually sells it at about a 15% gross profit. But some features added on are often done by the dealership and have a larger mark up, meaning it gives the dealership more room to negotiate.

2) If you're trading in a car, the dealership will often present things as a package. It is very difficult to get them to first negotiate a car trade value, and only then move on to selecting a car, negotiating a price, etc. Because of this, they can give the appearance of cutting the price of the car when in reality they just gave you a much lower price for the trade in than they know they can sell it for.

3) Dealerships make a significant amount of their money from financing: if you have a loan for 6%, chances are the dealership, through volume with the bank, are "buying" that money at 3% and pocketing the difference. This means they have further wiggle room on price without sacrificing profit.

4) There are frequently manufacturer incentives, especially toward the end of the model year when new models are set to come out soon. It's not uncommon for manufacturers to want to clear out dealer inventory to make room, and frequently they'll give around $1k to $3k in rebates. Dealerships don't necessarily present this in a straightforward way, and will sell the customer on the idea that they're getting a discount on the car price from the dealer. If you don't happen to know about the rebate and don't negotiate well enough, you might not get the rebate at all.

All of the above mean that dealerships frequently have options to negotiate the appearance of a much better deal than you're actually getting. They're not actually cutting the car price, they're tweaking all of the other parameters that determine their revenue stream.

If you go into a dealership and want no upgrades, have no trade in vehicle, are able to pay for the car without financing from the dealer, and there aren't any other rebates, you won't get much off the sticker price. In fact the sales folks will often treat you like they're doing you a favor just being willing to sell you the car at the sticker price.
There will be pros and cons in access speed. I expect some latency compared to a CDN that is caching close to the client, but not necessarily significant.

And some things may even be faster because chunks are served from random locations meaning a server is not a bottleneck. So it's a bit like having a CDN for free.

This should work particularly well for large files because chunks will be delivered in parallel by lots of different vaults in different locations, along different routes.

Also, there will be opportunistic caching of popular chunks along the route to the client. So data that is suddenly in demand will be cached rather than overloading the vaults holding the chunks - so u have automatic DDoS protection.

Because of that any site will scale automatically to meet demand without cost or extra server side infrastructure. Some really attractive bonuses there for anyone from a lone developer to a large scale commercial operation.

The actual performance will I think be better for some use cases, worse for others but we won't know the details for a bit yet.

I'm a developer interested in putting decentralised apps on the SAFE Network so have done some testing of the early APIs and tried deploying simple websites on the test networks, porting apps from the Solid project, RemoteStorage etc.

I tried different frameworks to see how easily they could be used, how they would perform, and help others get started.

For example I had excellent results with my first use of ReactStatic (see https://dweb.happybeing.com) but I was very impressed when I tried Svelte for the first time because it's a really nice framework and very fast.

But any web framework should work well for many kinds of app, but I'm smitten by Svelte so will build using that for the time being.

You will be able to use pretty much any language or platform though because language bindings are being made available for the SAFE API and are I understand fairly easy to create yourself if the one you want hasn't been created yet.
A former Verizon lawyer received unanimous Senate support for an FCC position back when Obama was president. That's what set this all up, I blame both parties for exactly what they did.

You can't put industry insiders into top regulatory positions of the very industries they work for, you have to be a drooling moron to not see why that's a bad idea, much less unethical. The fact that both parties are okay with it should speak volumes.
Yeah it’s basically a huge personal loan. Wouldn’t put them in the same category as mortgages at all.
Ask HN: One-man teams that got into YC, etc., without much self-capital?
What are some one-man teams (i.e. sole founder without a team) that got into YC (or managed to secure seed investment) mainly due to their product/ability as a technical founder (but not so much because of their personal connections e.g. a harvard grad who knows all the angels in town, etc) and doing so without much self-capital?

I'm wondering whether this is even possible in 2020 (or 2021, etc) when you have almost no captial to hire people, and you are working on your start-up all by yourself, and maybe you have a product that you've worked on for a while with maybe some (none-paying) users each month - what are some good examples of one-man team like this that got into YC or have gotten seed-funded (not through crazy personal connections)?
I love that this question is very basic, tests only entry-level data structures, and can at least be talked and reasoned about even if you don't know the exact API of a hashmap, and YET I am sure people will find a reason to complain about this claiming they never actually need to find a recurring character in their actual job role.
I want to hear the sound of this think
It's already been discovered that fake comments were generated using personal information found in data breaches. I've lost hope of anybody being held responsible for this obvious fraud.

https://www.buzzfeednews.com/article/jsvine/net-neutrality-f...
I had similar thoughts: https://blog.kowsheek.com/git-branch-naming-conventions-for-...

The purpose of feature branches is agility and shouldnt be used to create more process.
HELOC is the one type of loan that I tell everyone to get the moment you can. After the crisis in 2008 we found that, when you NEED a loan...you can’t get one.

The only thing that got us through was that we already had an equity line open and once open, it’s just like a low interest credit card. You don’t pay anything for it if it’s not being used but having it available provides a big emergency buffer.

It’s the primary reason I tell everyone to put down 20% on your home because as soon as you do that, you don’t pay PMI and you qualify for HELOC.
Schneier said it best: https://www.schneier.com/blog/archives/2020/05/me_on_covad-1...

"This is just something governments want to do for the hell of it. To me, it's just techies doing techie things because they don't know what else to do."
I'm not an intern. I'm also well aware of what's happening.
Then you are committing tax fraud. Also, Airbnb issues 1099’s for their payments to you above a certain amount, which they also helpfully furnish to the IRS. Wouldn’t recommend leaving Airbnb income off your taxes.
Usually, part of the question is to ask about legal characters. If they tell you it's letters only, then you can get away with a pre-allocated array (and give a concrete big O answer).
Apple won't buy up a lot of residential real estate.
No, it has over 100t of dry mass. Its volume, evacuated, would generate lift compensating (this is an educated guess) maybe 5-10t.

I'll update the comment when I have better numbers.

Update:

Using volumes from one of the SpaceX-subreddits [0], I get a total volume of about 2500m³. An evacuated volume displacing 1m³ of carbon dioxide [1] at 1 bar and ambient temperature could lift a mass of 1.8kg. So the total volume of Starship could lift a mass of ~4.5t. It's got a dry mass of far over 100t though.

[0] https://www.reddit.com/r/SpaceXLounge/comments/fm735a/starsh...

[1] https://www.wolframalpha.com/input/?i=carbon+dioxide+density...
Same story with jumbos.
On mobile, the text is barely readable
Reminds me of a comic I saw in an old Apple ][ magazine:

(One kid talking to another, with dad in the background hunched over an Apple ][.)

"Daddy's playing Pascal. That's where you try and see how many dots you can get before it beeps and you say nasty words."
WSJ articles are closed off behind a paywall.
> Is this right?

It's not right, indeed
You can't know these costs have not risen by guesswork. You have to actually look into the business and their P&L statements. And I was responding to a line of "if at all".

Dismissing depreciation is a serious mistake. All buildings deteriorate, become obsolete, become inefficient and maladapted to modern conditions, and simply "wear out" over time. It's pretty obvious if you look at a city and notice that there aren't many old buildings. Old buildings get knocked down and replaced all the time.

Just think what happens when the city says you have to install fire sprinkers. Or do earthquake upgrades. Or tear all the cladding off because it's been ruled a fire hazard. Or your HVAC system is obsolete. Or the wiring isn't up to code anymore. These all happen.

The generally accepted rule is buildings have a 30 year life.

But think of it another way. Businesses are subject to supply&demand, too. If there was some high margin low risk business, entrepreneurs would rush into it, thereby erasing the high margins. If this is not happening, it's usually because the government via regulation or law, has prevented competition.

There's nothing about property management that suggests it is immune from these forces.
I find I use getattr(obj, "name", default) much more than hasattr().

exec() is a security hole, or nasty bug, just waiting to happen.
Should All Strings Become f-strings?
That is about 1 month cost of an average Engineer at a big company. So as longs as the freelancer provide as much as value as your average employee in 1 monh the company is doing a good decision. It is even better because the expertise of the freelancer tends to be high.
Potentially two reasons:

- First is the moral/ethical reason - it doesn't matter your religion or lack thereof, causing someone to crash and burn, causing unemployment, and generally ruining lives is bad.

- Second is their business. Banks are in the lending business. Unless the collateral was cash or stocks (unlikely based on explanation), they'd have to figure out how to repossess and then dispose of the assets. Yes, they probably have a group that handles that sort of thing but you're introducing unnecessary headaches.

Either way, walking away sounds like the right and good call.
It's not wrong! For some value of N it is an order of magnitude faster. It's just a bit misleading.
The scatterplot of the library data is fascinating — looks like an organism.
It's definitely wrong. A lot of people use "order of magnitude" to just mean "a lot".

I always use the precise meaning. It might be better for me to say "factor of ten" rather than "order of magnitude" if other people don't always use the precise meaning.
That's a fat machine
It's funny-sad watching my fellow tech people debate civics and public policy and talk about how often "Something must be done, this is 'something', so we will do it" exhibits itself. Everyone nods or cheers as if we have some leg to stand on.

When it comes to solving technical problems? We are ever so happy to do exactly the same thing.

Any solution is better than no solution. Except when no solution causes people to stop trying to delegate an important responsibility. Which is quite frequently.

A crap solution crowds the problem space. If a better solution is possible, it now has to defend itself against the incumbent. Explain why it is more expensive, why people should be bothered to switch.

If you can't do something well, then for pity's sake let someone else try. Log away every cost of not doing it at all and then when you can justify doing it well, build your pitch.
Article doesn’t even delve into the possibility of this being used to track dissenters. Not that I think the Internet Archive is in that business, but the mere existence of such a list is to invite a subpoena.
In enterprises there are plenty of problems that are just not important enough to spend money on. For example there may be a yearly reporting process which takes 30 days for an accountant to complete, which could be automated by a SaaS product. That is less than $20k a year of cost. The CFO may be perfectly fine with the manual process. Just because someone could save money with your product doesn't mean that they will want to.
> It's almost never appropriate to assume that people don't have the right to make decisions for themselves, even if you think those decisions harm them

But when those decisions affect others? When your computer becomes part of a botnet and is used to attack a target then it's no longer just your problem anymore. The responsibility to prevent this must lie somewhere, either with the user or with the manufacturer. And Microsoft would rather force the updates on users and occasionally be in the news for a botched one than to constantly be in the news for botnets of hundreds of thousands of "abandoned" Windows PCs, or the constant complaint that Windows is insecure because people keep their PCs stuck on the same version they came with.

To use some very current imagery, imagine if someone walked around coughing in your face saying the decision whether to wear a mask or not is theirs.
unblobbed:

- The Portal with Ryan Holiday

- The Knowledge Project with Jason Calacanis

- Future Thinkers with Ken Wilber, all episodes are worth a
listen, my favorite is: Clean Up, Wake Up, Grow Up, Show Up

- Future Thinkers with Bonnita Roy

- Conversations With Tyler with Ben Westhoff

- Conversations With Tyler with Ted Gioia

- Y Combinator with Russ Roberts
It is not hard to come up with a laundry list of such arguments.

Here, I made another one—

> If you are wearing a mask while others are not, they are likely to ask you about it, which makes it more likely for you to talk in their presence, thus increasing the chance of transmission.

Given how the authorities flipped their advice in barely a month, despite having the same laundry list of arguments, shows that the arguments were more of a deflection than something that was properly incorporated into the cost-benefit analysis.
That is a great talk.
Consumers have normal looking credit because the credit scores are lagging behind. It's smart to wait until the credit scores actually reflect reality instead of showing a rosy picture right before everyone starts defaulting at the same time.
I did read the article.

I understand the desire to "do something", but the certification and testing process for something like this is how you find out if this actually improves patient outcomes or not. Sometimes "doing nothing" in a certain area gives a better outcome.

I'm glad they're advising doctors to use caution.

I have some architectural concerns about how it's built (a browser's javascript engine is not reliable enough to be used as a safety-critical alerting engine!), but I can see how it's attractive.
> But it can’t even be turned off manually.

Backwards compatibility is a positive as long as it's secure. This makes me hesitatant to what is going on. Auto updates good, no blocking not sure.
Well you can also use a single byte bitmap and check if a bit for a character was already set. That gets real fast real quick.
Yep, that’s exactly it. And of course a lesson on why you need to understand the progeny of any string you pass as a format argument.
I die a little every time a store employee wearing gloves gives me change from the register. This is not better.
This is super cool. I'm curious if OP engages in cold emails to scout for leads.
i will still have to iterate through the string and the hash/dict for a small alphabet is not taking up a lot of space. by the wording it sounds like maybe you want people to use bitflags but your problem still seems solvable with the blog's solution (hash/dicts)
Co-creator here. We built Donezo because we know how annoying it is to assign your tasks to your team, and then have to follow up repeatedly. Donezo automates this by taking the idea behind Slack reminders and following up with each person individually before the due date. It lets you know who has completed each task and who you're still waiting on.

Right now it's in free beta, so we're really just trying to understand how can simplify existing workflows. Happy to answer any questions about how it works!
Point taken on the shoddy behaviour, but if you'd like to try it out there's this helpful post on disabling snap[1] shared here[2] when I installed 20.04. Quick and painless!

1. https://www.kevin-custer.com/blog/disabling-snaps-in-ubuntu-...

2. https://news.ycombinator.com/item?id=22972661

*Edited
On Desktop I see black text on white background, although the videos don't seem to load.
If it's so bad, then why is it the most popular?

Arch is a no-go for most people and any sane IT department. Fedora doesn't offer LTS and RH/CentOS feel quickly outdated on desktops, let alone laptops.

Ubuntu ships a distribution that works on most hardware and provides a reasonable desktop environment. While snaps aren't the most elegant solution, they do the job when your users need to install stuff like Jetbrains IDEs for instance.
Yeah, I did get one eventually, but only after some extensive Googling.

Although I did successfully register the whole experience completely put me off from participating. I don't really want to be in a community with such extreme gatekeeping.
Philosophically building website search on top of Elasticsearch seems fine, but don't call it a static site then - you're deploying a backend.

"Static site search" to me is something like adding a `<form action="https://duckduckgo.com" method="get">` text box to your site.
True - I just explained history and facts. Did does not want to have a title that sounds as this still exists. In the end it is explained.
I think the author might be under the false impression that coming in contact with a known positive has some repercussions for you. In reality, it's just an indication that you should get tested.
>When you’re building the product the trick is to build your product almost alongside your first customers

I agree with you up to a point. Real customer use cases are important and good references are gold--both for getting other customers and for getting onto some analyst radars. However, it's important not to pivot towards building what a customer wants so much that you basically end up being a consulting company doing a bunch of one offs. (Assuming that's not what you want of course.)
I love this idea and I'm sure the only reason I overlooked their job ad here was because they were only looking for front-end'ers, but this is what I can't figure out (or find anywhere): what is the basis for disruption?

The incumbent providers have contracts, long-term ones with revenue shares for the management of the facilities, so what is Ameelio's route around that? Is it the ubiquity (to whatever degree) of Internet access? Is it the savings of digital letters printed locally? I can't tell.

There are relatively set-in-stone relationships here, and I would love to know what their chisel is. I would also accept that it's a trade secret or other special sauce, which I accept as a legitimate strategy when dealing with bribe- and kickback-driven institutions.
Earn with our products - more than 1035.20 euros
per sale and lifetime commissions:

Month after month with our subscription offers or very
High commissions with ours

High-priced services and products / offers.
You can get up to 50% commission!

Here are 2 offers from our partner program at Digistore24.com -

discover more products and promotional websites
in the internal area of our
Affiliate program.

Offer 1: Billionaire Elite Club
https://billionaire-elite-club.com/new-jetzt- members-werden/

Offer 2: 100,000 euro vending machine
https://12geldverdieneniminternet.com/100000-euro-verkaufsma...

Offer 3: Action Marketing Method 5.0 | High price program
https://www.action-marketing-ethod.com/website-action-market...

Log in with your email address
and you get immediate access to the login data
and more information about our partner program!
Options are for everyone not power users. Options are a necessary escape hatch for users when you fail to take into account their needs.

Inevitably you will miss some use cases. Given sufficient configurability users faced with substantial challenges will be able to find a way to use your software.

If you can easily search options including a description of the option this can still be usable for all.
These things all apply to every other business, but you don't see the same type of issues with every business. I don't see anything that state & local governments get from the current model above & beyond others.
Both solutions are O(1). The alphabet is finite. Let's say there are M different characters in the alphabet and N different characters in the string. If there is a duplicate, it is guaranteed to occur within the first M + 1 characters of the string by the pigeonhole principle. As N grows without bound, the number of characters that needs to be checked reaches a limit.

(I guess, most precisely, we should define K to be min(M + 1, N). Then the first solution is O(K^2) and the second solution is O(K))

EDIT: I assumed the first solution would compare each character to the characters visited so far, i.e.

for i in [0..N]
for j in [0..i]
if arr[i] == arr[j] return arr[i]

Maybe it's

for i in [0..N]
for j in [0..N]
if arr[i] == arr[j] && i != j
return arr[i]

That would make it O(KN). Or O(N) if we treat the size of the alphabet as fixed.