skysight-inc/HackerNews huggingface dataset:
Most startups fail, and can often cause the founders to lose much/all their savings or go into personal debt.

Where a startup beats the odds and starts to become successful, it needs to employ a lot of people (and generate other benefits for others, such as returns to investors and, oh yeah, valuable products to customers) before the founders can get personally rich.

Occasionally it goes well enough for the founders to "make tons of money", but it's not the norm.

In this case, founders of these companies will only "make tons of money" if they succeed in helping vast numbers of people overcome anxiety and other distressing states of existence.

Of the founders I know who are working on one of these startups to help people overcome anxiety and ill health, if you could talk to them, and see the sincerity with which they are dedicated to building something that makes life better for troubled people, you wouldn’t dismiss them with such cynicism and snark.
I wonder how it reacts to walking on stairs. Less steps, more, or the same?
Worse, is when folks take a late project and add people to it. They don't realize this is just adding to the work, so will almost certainly just increase the time.

You may get lucky and one of the new additions throws out the current plan. Cuts from the sunk costs. Probably, though, that will be its own trap. You'll think you understood your success for the next time.
IDK, keep doing your thing if you find everything working out for you. I thought of suggesting what I did because maybe you have curiosity in what your dreams are but then again curiosity killed the cat.
Just use YesSQL.
It's very healthy of you to be skeptical of government handouts to the Green industry – not because climate change is fake (it's not), but because government rarely knows how to pick the right tech to invest in. (Note that the government also hands out lots of subsidies to the fossil fuel industry, though.)

The more economically rational way of solving the problem is to implement a carbon fee and dividend [0]. You simply put a tax on fossil fuels as they come out of the ground. This makes everything downstream a bit more expensive. You then return 100% of the tax revenue back to citizens – so government doesn't grow and consumers don't suffer, but companies suddenly feel intense competitive pressure to get more fuel efficient so they can lower prices. The market takes care of the rest.

It makes so much sense, even many of the big corporations are onboard [1].

The best thing you can do today is to contact your local representative about this policy [2].

[0] https://citizensclimatelobby.org/why-we-support-a-price-on-p...

[1] https://www.clcouncil.org/

[2] https://citizensclimatelobby.org/write-your-representative/#...
"In true Stallman fashion, this was

a) absolutely correct from a logical perspective;
b) mind-blowingly stupid from a perspective of The Current Year."

I think this says worse things about The Current Year than it does about Stallman.
I can confidently say that people doesn’t expect the same UI between mobile & desktop apps.

If the Mac version and Windows version of the app can be consistent with the mobile version(which will have different interfaces), why can’t they be consistent with each other(between the two desktop apps) while having different interfaces?
I want to agree. But I use TeX. And really, it does as advertised. And set a line for where it stops.
Show HN: I made a widget to share Updates/Roadmap/Bugs and Webchat/Calendly
This turned out way more interesting than I expected: https://www.youtube.com/watch?v=uUmIdq0D6-A
Now that the myth of experts have been accurately described, let's say a few words about the reality.

If IBM wanted the experts, they would have hired or grown their own. What they wanted was, I guess, the contacts (actual and prospectives).

My experience with support contacts is that you often times have access only to someone who is not any more expert than you, and who care much less for your customers than you do. In several occasions it turned out the "expert" had been the one benefiting from the teaching from the in house "not supposed to be expert but knows more than the expert" guy (and yes also, and maybe especially, with "reputable" large companies like IBM or Oracle).

I can even remember of a particular instance when the expert had no access to his company internal documentation to get details about a specific error message we were hitting, and we had to find a pirate copy of some internal manual from some Russian website and hand it over to him.

It makes sense to have a service contract when you have really no knowledge at all on the domain, but as soon as it's related to your daily job then you will quickly realise that experts are mythical characters whom your contractor have no better access to than any other company, including your own.
It's kind of obvious, I got a weird pneumonia, and even when interspersing walking for and hour or more I'm starting to feel my back muscles getting sore just from lying in a bed and sitting for most of the day.

This has been just over two weeks. And the weather is now cold so I cannot take longer walks.

(On the other hand, diet is even more adjusted so I lost weight rapidly.)
Any source to back this statement? I’m curious if fed actually destroyed the money after repayment
This is a false assumption as well.

If people decide to not invest to clean energy/climate-neutrality/reducing waste, it might be fear of freeloading, but it can be billions of other reasons. But most reasons will have something in common.

And it is not fear of freeloading.

It is a list of priorities. When something is really important for people, they do it, they invest time and money into it.

If people don't invest their time nor money, it is in fact not important for them.

So why tax something that isn't important for people (because if it was important, they everybody would buy clean energy, would stop using plastic & other things)?
This has seriously got to be the dumbest, most uneducated piece of writing I have ever read. Yes, lets all just throw money at a broken problem, that'll make it better. "Politics" as the author refers to it as, needs the opposite of funding, it needs to be cut off entirely from donors to see who still stands. The US Government, will have a fund where it gives a set number to each candidate for campaigning purposes and that is ALL that can be used. Already own a private jet? Tough shit, cant use it for campaigning! Already a millionaire with lots of millionaire friends? Sorry charlie!
That is the only way we will get back to grass roots form of electing. Simply throwing money at something rarely fixes a problem.
Ted Kaczynski did it before it was cool.
Learn SQL, yes, and then use your ORM as a handy SQL generator library because life is short and you do not want to write that much SQL.
You can do this yourself in Chrome right now!

Open the page you want to be an "app", and on the Chrome three-dot menu, select More Tools / Create Shortcut...

Edit the name as you wish and check the "Open as window" checkbox, then click OK.

Now you have a shortcut on your Start menu that works like any other app shortcut. You can pin it to the taskbar, save it to the desktop, any of the usual things. And when you open the app it will have its own window and its own icon on the taskbar.

This works on Windows and Linux at least - have not tried it on macOS.
I'd argue you can't "win" in any form, if you're in debt. That's like trying to lose your way to the top of a ranked competition. You never move up the ladder of life by losing.

Broadly speaking, it's a position of weakness and servitude. It's a similar suggestion that if you're deep in debt, you "win" if you get hit in the head with a baseball bat. Sure, you enjoyed spending the money and now you're mentally deficient so you got away with not having to pay it off, but you've still been beaten over the head with a bat.

But ultimately, even if my view is an inaccurate description of reality, what you're saying is true, but I'd argue it's still a net loss. The end-goal over a lifetime of earning is to be in the black, not red. It's difficult to lose your way to the top. Wages don't track inflation (contrary to those 2% raises a year, because salaries are suppressed from downward pressure on wages). So the relatively short time someone is in debt doesn't outweigh the time spent out of debt thus the advantage you speak of isn't worth it.

All that said, debt is not inherently bad.. but that's another discussion and not in the context of this discussion.
Except that's not what happens. What happens is people line up at the trough of government directed funding and distort the market, often negatively for a long period of time.

For example, people who are against meat consumption for climate purposes are linked through various entities to companies like BYND. So they begin to work on legislation that will profit BYND.

For another example, the solar funding debacle under Obama.

Otherwise I have no qualms with what you're saying.
You can ask mmap to map memory to an exact address. You could have an allocator that decides itself what addresses get allocated.
As a user of different saas products myself I cannot helped to notice that all the "user engagement" infos (product updates, product roadmap, bugs tracking system, webchat box, demo/appointment box) are often scattered around and almost never in-app.

So I thought to make an in-app Widget to integrates all this stuff in a single place: ProductHero.

From within the widget it is basically possible to:

--> publish in-app product Updates and News

--> share product Roadmap, collect upvotes and comments, new feature requests and feedback from users

--> collect and track down Bugs and Errors

--> publish Tips&Tricks/Tutorial about the product itself

--> integrate existing Webchat tools and Calendly

It's actually available as in-app Widget or public standalone page. It comes with a Bootstrap-like UI with both light and dark themes. It supports markdown, emojis and images/video upload.

Thoughts?
Idunno man, my day job working Rails code uses a custom mailer and job queueing system and everytime I have to work with it I really wish they'd used ActiveMailer and ActiveJob
Apparently. The phrasing is not straightforward.

My apologies.
No, it is not okay. If you need insert/update/select for every object/table that is way too much duplication. It becomes very irritative when the schema changes. There should be table meta data in such a case but one should also know what one is doing. Having no idea that under the water 14 joins are done is not a good situation either.
> My model of thinking is that any copy of data that isn't currently resting in the database is potentially stale; avoid round trips like the plague; get new data into the database as soon as possible.

Nothing about an ORM stops you from persisting data as soon as it is ready or updating the state from the DB to ensure consistency (or from using transactions).

> rather more often a question of whether I even want my data hydrated into a special object at all. I've come to the realisation that for the kind of work I do, data objects almost always end up being an unnecessary layer of indirection that don't give me any real benefits

Yeah, if you don't need to use objects than there is no reason to use an ORM. Knowing the right tool for the job is critical and Objects and ORMs are not infrequently used when they are not needed.

In my work, updates are rarely atomic and business logic is complicated and intricate. It is extremely hard know what data you will actually need and so it makes sense to pass around a complicated object that has all the potentially needed state. This also gives me the option to separate logic about when to commit/rollback from logic about what to persist.

> because every transform becomes an opportunity to write a method on an object and not a straightforward query.

For me, this is a plus, not a minus :). Methods are easier to test and re-use as part of a complicated business logic flows. They make it easier for me to manage when data gets synced with the DB without having to duplicate code.

> —and they change the way you think,

I am going to pay more attention to this and see where I may have made mistaken presumptions and used objects unnecessarily when I could use atomic updates or queries instead.
Huh, I hadn't made this connection, and it still may be a case of ad hoc ergo propter hoc. But they sure seem to go hand in hand.

I think the first team on which I ever experienced Agile– working on a CAD program–was quite good with documentation. Ever since then–about 8 years–it's been almost all bad. All my work since then has been on iOS, so I maybe difference in domains has something to do with it too.

I often say code should "document itself," but I guess what I really mean is that the code should be readable and understandable, without obfuscating elements like anonymous identifiers, single letter variables etc, or needing comments explaining _how_. Comments should explain higher-order ideas like _why_. But, no one part of code can document the whole _system_ to which it belongs, nor can e.g. Git commit logs (which I also highly value). For that, I absolutely need diagrams and technical writing.
With respect, I’m glad that you don’t like what ICE is doing, but you still haven’t addressed the elephant in the room, which has been pointed out by Seth Vargo: https://twitter.com/motherboard/status/1175084059548143617?s...
Removing the VAT is absolutely the right way to make the comparison. I didn't use EU prices for the Model 3 so as to not penalize it for tariffs and shipping. I honestly can't believe you're pushing back on that.

The specs don't match up to a Model 3, but it's a much cheaper car. If they were the same price, I'd understand your distaste.
Definitely applies to doctoral thesis projects, especially the writing up! :D
"Capitalism is not going to fix climate change" is the same as "(any other favorite ideology of your choice) is not going to fix climate change".

No ideology cannot fix anything.

Only people can fix things. People fix things they really care about enough to want to fix them. If people don't care about global warming enough to do real steps, no ideology will fix it.

And honestly, we have so many other problems, like obesity explosion, need for retirement reform, need for education reform, potential end of antibiotics, etc. that I am glad that people do care about other things too.
I donate to multiple charities through Givewell, and I allow them to release my contact info, which means the charities know who I am. But I believe they have an option to hide your contact info so that you're donating anonymously to the charities. So in that case, only Givewell will have your contact info.
Agreed! I've found JOOQ to be excellent.

Generally ORMs try to abstract away the database entirely. This is mostly fine for CRUD stuff where you really just want to persistently stash away something basic off host. If you could write perfect uncrashing programs you'd probably just keep them in memory.

As soon as you need to find things, especially based on their relationships, you'll need to be aware of what indexes you have available at least. Eventually you'll want to have control of the precise query

JOOQ lets you compose queries programmatically without really hindering you from producing any query you want but not forcing you to glue strings together either.
experiencing something new?
Can Valve take a cut of the transfer? It sounds like the point is French/European citizens must be allowed to resell the game any way they like without any involvement with Valve at all. If the sales/transfers have to go through Valve, it seems that still infringes on "the free movement of goods within the Union."
also implicit row mappers so one can still do the queries manually without writing all the oo glue
>> So you're saying, "All regulation is insitutionalized violence." Okay...

> Yeah, essentially.

Nifty! If all appeals to government intervention are by definition violent, then that would mean that, for example, filing a sexual harassment lawsuit or pressing charges against a kidnapper is actually just, "solving the problem by resorting to violence." That really spices up a headline.

As someone else mentioned, words have meanings. We all (well most of us, apparently) agree that given words refer to specific things. That's how we communicate. Appropriating a word with the desired connotation to an arbitrary definition just because you can find a way in which they're associated -- that's misleading. It's using inapplicable words intentionally, for the purpose of causing others to incorrectly understand what you're talking about.

It turns out we have a special word that refers precisely to that very type of communication: "lying."
ACLU is the worst!! I gave them money years ago and they still send me FINAL NOTICE mailers constantly.
Photos Taken a Second Before Someone’s Personal Tragedy
For those interested in comparing, note that Geekbench has updated their baseline recently. Make sure to use Geekbench 5 in your tests!
The plants are real, it's just that they are not directly planted in a planter with soil but the plants remain in their plastic pots (which do have soil in it).
Toyota and BMW both are dragging their heels with EVs and are mostly focusing on hybrids and hydrogen. IMHO both are a dead end and an expensive mistake.

Battery prices and range are on track to improve for the foreseeable future and most other manufacturers are basically preparing to massively increase production of the dozens of EVs they announced in the next few years. There are very few manufacturers left that are not fully committed to EVs at this point. Toyota, Mazda, BMW, Fiat, and a few others basically.

BMW already is signalling they expect issues with market share, growth, profit etc. and just appointed a new CEO to fix this. In other words, they are late to this game, they know it, and are now acting to fix this. I know less about Toyota but they seem to be very stubbornly ignoring battery EVs so far. IMHO that signals long term trouble for them as well. Unless they find a way to catch up in a hurry. Either way, they are late and the rest of the industry is not waiting for them. IMHO Nissan and Honda, are in much better shape.

For most manufacturers the key game the next ten years is going to be securing availability of low cost batteries with decent range while balancing that cost with the absolute massive cost of dismantling their legacy manufacturing and supply industry. I expect layoffs directly related to that in Germany may affect tens of thousands or possibly hundreds of thousands of jobs across the thousands of companies that make up the car industry and their suppliers over the next decade. BMW just announced layoffs for 6000 in Germany. My guess is that won't be the last time.

Tesla is where they are in the market right now because they decided years ago to produce battery packs in house and recently to also start producing their own battery cells. That gives them a cost and technical advantage. They have no legacy business and every penny that comes in is invested in more production capacity, lowering cost, and improving technology.

VW is investing tens of billions to catch up in the next few years. IMHO this is exactly the right thing to do for them and I think Dieselgate helped speed up the decision making. The ID.3 is an important milestone for them and when they start shipping this in volume in a few years, it will no doubt affect the rest of the industry. They are already talking about Id.4 and my guess is they are not stopping there. I think there's a good chance they might wipe out or flat out absorb a few of their competitors in the process. BMW for example. Meanwhile Tesla has at least five years and probably closer to ten years where they are basically enjoying volume and cost advantages essentially unchallenged. I'd be surprised if they don't establish themselves as one of the top car manufacturers during that time.
Show HN: Dualgram is a iOS 13 app that records multiple cameras at the same time
The Tractatus is interesting to read. Line by line as a program.
Intel doesn't have anything 7nm yet, there is nothing to consider in the first place.

They failed hard at their 10nm process, and are still struggling to recover from that.

TSMC is the the indisputable leader on fab technology at the moment
To read, perchance to dream.

Human creativity is unleashed in fiction, where anything is possible, yet still bound by its humanity. That it didn't happen makes it no less human, and possibly more human in that it is completely driven by emotion and pure thought.

Just look at _From the Earth to the Moon_. Long before we knew we could make it to the Moon, we yearned for it. And I think it was that yearning that led us there.
YC Summer 2019 Batch Stats
> Typically you are allowed by law to dispute chargebacks.

One caveat. For online businesses it is very hard to dispute most chargebacks. The card company typically wants you to FAX back a copy of a receipt or invoice for the charge bearing the customer's signature. That's fine for businesses like the OP's, which deals with customers in person, but for most of us who deal with customers via an online shopping cart...nope.

> I learned from previous experience, never have a single payment processor ever.

Note that if you are handling recurring payments then in order to have the flexibility to switch processors you need to either handle credit card storage yourself, or make sure whatever processor vaulting service you use provides a way to export the raw numbers in case you want to switch processors, or use Spreedly or something similar.

We do our own storage where I work. PCI compliance is a bit of work, but it is not as bad as most people think. (If you transaction volume is high enough to not be allowed to the the Self-Assessment Questionnaire, then it is probably as bad as most people think).

Every time it is time to renew the reserved instances at our hosting service that are involved in card storage and would no longer be needed if we used a vault at a processor or a service like Spreedly, we've taken a look at the number of cards we have stored and the transaction volume to figure out the vaulting costs, and so far it has come out cheaper to continue doing it ourselves.

Another issue with using a vaulting service is how to handle expiration dates. The expiration date printed on the card is the date after which the physical card is not supposed to be accepted, not the date that the number itself expires. If you have the card on file for authorized recurring payments, you can continue to charge the account after the physical card expires. But most gateways will reject a transaction at the gateway if the date you supply is in the past. Most gateways have some way to tell them you want to go ahead and try to charge the card even though the expiration date of the physical card is past. You want to make sure that when using such a card from the vault, you can still tell the gateway to try it.

Also make sure that vault works with the card updater services. Visa, MasterCard, and Discover (not sure about AmEx) provide a service whereby a merchant can provide a list of cards the merchant has on file, and the card company will tell them which are still good as is, which have new expire dates but the same number (and give the new date), which have both a new number and date (and give those to you), and which have had their underlying accounts closed.

You have to be able to give the updater service full credit card numbers, so if your cards are in a vault service, you'll have to have the vault service do the updater querying for you.
Major international banks have entire payment systems implemented in PL/SQL. I’m talking 2-3kloc procedures and thousands of them.
Git Man Page Generator
Exactly what Tesla did when it marketed the 3. Wait list. Have friends that still waiting.

Perfectly normal, factories for EVs have to be built from ground up or adapted. This takes time. In the meantime, why not win hearts and minds?