skysight-inc/HackerNews huggingface dataset:
Speaking of which, coming from Rust (well, when I say it like that it sounds like Rust is the only language I ever used which is of course not true. I think Rust as a first language would be highly unusual still), I enjoyed being able to say

Rust code:

let foo = if x <= 0
{
0
}
else if something_else > 50
{
9000
}
else
{
42
};

And I miss this in Swift.

The ternary operator is fine on its own but I’m not a huge fan of nested ternary operators.
With a bit of whitespace it's somewhat readable still but still not as comfortable and easy to read correctly.

Swift code:

let foo = x <= 0 ? 0 :
(somethingElse > 50 ? 9000 :
42 )

One way of writing something that is more similar to the way I'd write it in Rust would be to make a closure and then run it.

Swift code:

let foo =
{ () -> Int in
if x <= 0
{
return 0
}
else if somethingElse > 50
{
return 9000
}
else
{
return 42
}
}()

But it's a bit annoying still, both to read and to write. Also, even in the current version of Swift (Swift 5), the compiler cannot infer the return type of the closure on its own even though all of the branches return an Int, so I'd have to explicitly annotate that as I have done in the code above.

I guess for a lot of people they would just make foo mutable and write the code as

Swift code:

var foo = 42

if x <= 0
{
foo = 0
}
else if somethingElse > 50
{
foo = 9000
}

I concede that this is probably the most readable out of all of the three Swift code samples in my comment. But the point is that I didn't want foo to be mutable. I wanted to assign a value to it based on some simple logic and have it be immutable.
i think this round of delivery startups were mostly driven by concentrated capital desperate for return (plus not enough diversity of thought to recognize unconventional but interesting bets), because anyone who remembers webvan knows that the economics of last-mile logistics hasn't changed substantially with faster/ubiquitous computing and mobile.

mobile does increase availability slightly and reduces friction a little, but those weren't the core problems that needed solving to make a successful business in the space. even uber's outsourcing of capital costs wasn't a major problem that needed solving to unlock the market.

you can't beat last-mile logistics by throwing more marketing at it.
Gross revenue and/or profit.
Ask HN: Why search in Android 10 settings is slower than search on Google?
I just think it doesn't make sense that it takes less time to search the whole internet using Google than search the menus in Android 10 settings.
how is this compared to Godot?
To be honest, this seems perfect. Your description of this business fits pretty well with the rest of Uber's business aka "burning investor money to never make a profit".
To answer, I think there are an utterly astounding number of books in this world and no intellectually satisfying reason to isolate exactly one specific book as having special authorship.
I do not look forward to that kind of future. As someone who has worked in food preparation, meals are usually quite unhealthy because they are designed to taste great. I can’t imagine eating delivered meals daily is good for your long term health. You would be surprised that seemingly healthy food, when made at a restaurant, is often anything but.
> Would not be surprised 30y from now most homes won't have kitchen anymore. You'll have an access where a drone can come in an deliver whatever you ordered.

I suspect you vastly underestimate how cheap and time effective cooking at home can be. My girlfriend and I just mealprepped 8 meals for $30. Took 15min of active work.

The whole week we both get a healthy balanced meal that takes 2min to prepare.

No delivery company can compete with that. Drones or no drones.

Edit to answer questions below:

We don’t mind eating 4 identical lunches. Saves you thinking about it. We use dinners and snacks for variety. This week it’s a pork roast with string beans and fingerling potatoes. Put potatoes in a baking pan, stick roast on a rack above the taters, stick in oven for 45min. Cook the beans in water.

About 15min of active prep time, another 5min to portion it out, 5min to stick dishes in dishwasher. Watch netflix or hangout while food cooks itself.
Breakfasts are savory around the world. I think a cereal that is savory is viable but the problem is the combination with milk. Perhaps a different liquid (water? Vegetable broth?) would make such flavors viable?
The magic of postmates is good integration with google maps and no service charge (for me).
> if a third of the top board games

I don't think it makes sense to consider Gloomhaven and Gloomhaven: Jaws of the Lion independently. There are other issues with this count -- for example, Lost Ruins of Arnak doesn't appear to, technically, exist yet -- but that would be the main one.

If, instead of the "the hotness" sidebar, I look at the top 20 games by rating, then those with more than zero potential occult flavor are:

1. Gloomhaven

13. Spirit Island

19. Arkham Horror: The Card Game

(with potential honorable mentions going to Star Wars: Rebellion and War of the Ring: Second Edition, depending on your opinion of Star Wars and Lord of the Rings.) This is 15%, not 33%.

You have to know what it is you're trying to count. A Feast for Odin (#23) might be objectionable on the grounds that you are thematically honoring a pagan god. But it involves no supernatural phenomena whatsoever. Mage Knight (#24) is a war game in which you use magic.

I would mentally classify Mage Knight in the same genre as superheroes rather than occultism, but somebody else might differ. But my larger point is, it's a mistake to look at those two games, acknowledge that they both meet (very different) definitions of occultism, and then conclude that occultism is extremely prevalent. First define what occultism is, and then you'll notice that the number of games actually meeting that definition is much smaller than the number of games potentially meeting any definition.
As someone who isn't a huge board game nerd, would additional cosmetics or characters be reasonable stretch goals? Characters might be harder to balance but if you have extra money, you might be able to invest more into it.

This is an approach similar to what a video game might do.
I wonder how many of those investors are also in to uber.
Yup, it cost me more to sell CMTN than it was worth. Lost 101% on that one!
S3XY is kind of funny. tesla should buy ford when they declare bankruptcy so they can get the "E" back (Ford owns the trademark on E for cars, apparently).

Telsa is vastly overvalued, and I'm a long term tesla stock holder (bought it when it was $50, sold and bought it a few times). They might get to this valuation when they increase their sales by 10x. I most recently sold at $950. Tesla is doing great and kicking butt, but the other companies will eventually build great cars. Just like IBM was overtaken eventually.
An introduction to civics in the 21st century
> A more cynical take on this might be that it's hard to actually turn a sustainable profit in this market unless you have monopolistic pricing power,

I'm not convinced even a sole provider would have pricing power in anything but a vastly smaller market than currently exists: food delivery doesn't compete with only other food delivery, but also with “drive there yourself takeout” and “cook (or at least heat up) food at home”, which limits the scope of pricing power.
Because it gives the implied impression that time can only be valued by money, or that it should be in all circumstances. That's a recipe for depression imo.
Sometimes you get "sorry I got caught" non-apologies, other times people are dog-piling and Twitter doesn't show new arrivals the entire apology discussion if it were a sincere apology.
> China is a ridiculously protectionist state - people in the west had theorized that the market would force China to more opennness and democracy back in the day.

The Chinese government has almost completely lost control of its market. They can control (and profit massively from) very narrow things like blocking foreign servers on their internet (which happens to include our largest tech companies) but otherwise it is very much the wild west over there. The political system has chinese characteristics, but the wildfire of capitalism going in is just plain capitalism, and more so than in the US in some ways.

As for whether the government can survive, this is a complicated question but sooner or later an opposition group always defeats the rulers. I wound't write this ending off yet. Or ever, really.
> Earn 4X Points at U.S. supermarkets on up to $25,000 per calendar year in purchases.

> Earn 4X Points on restaurants including takeout and delivery

> Book a room through American Express Travel that's part of the Hotel Collection, stay two consecutive nights and get a $100 hotel credit to spend on qualifying dining, spa, and resort activities.
Hard problem: AGI. But with my own rules: not OpenAI/Deepmind style put-more-computation-into-it solutions.
I have a friend who got into Bitcoin early. He had almost $300,000 when MtGox got hacked and he lost everything.

So it wasn't all sunshine and roses.
Renamed to Solar2D.
>Would not be surprised 30y from now most homes won't have kitchen anymore.

That is definitely scary. A big reason for America's obesity epidemic is because of processed ingredients. Markets drive restaurants to maintain high margins, and so they will always be on the lookout for processed ingredients as cheap alternatives. I need a kitchen because it's the only way for me to audit exactly what ingredients I am going to put into my body.
> Margins are terrible, if they’re ever positive. It’s just a bad business.

That's simply false. A lot of profit is made in the space and as soon as you have some significant market share it becomes a cash cow.

Yes, it might not always work to start up in a already saturated market, but that shouldn't be a surprise.
> We used to joke that “we lose money on every transaction but make it up in scale.

Ooof, I remember that from 2000. Does anyone look at unit economics?

PT Barnum made a book called "the art of money getting" - which could help many, worth the read.
well from the customer view (i think i have been this person a few times).. i dont exist to keep your company afloat. I trusted you to do what you said, and i gave you my money. and you didnt do what you said you would do.

Dear Company,
if you cant do your job you shouldnt exist

Self promoting tip: hire people who feel this
These delivery companies running at a loss are valued almost entirely based on growth in MAUs. Giving a customer a free pizza may be worth it if it keeps them on the platform, considering how much it costs to aquire a new customer.
What ever happened to thorium based nuclear energy?
Are you suggesting that Nortel wasn't hacked by the Chinese?
Ask HN: What is the sqlite of graph databases?
This question came back today:

What is a single file, open source, embeddable, with a query language graph database?

4 years ago there was a similar question: https://news.ycombinator.com/item?id=10991751
I'd guess i fall into the mutable camp, while sometimes doing a closure.

Nested ternary if statements scare me from my PHP days, and noticed inlined closures can at times be harder to grok at a glance.
Walking Dream – single-player adventure game for the Oculus Quest
He's not a developer and hasn't been for a while. He's a TPM by sounds of it. Don't understand the downvotes but perhaps that's down to junior developers who don't understand what a TPM is.
Redesigning our cities to make predatory business models work is the opposite of what the United States needs right now.
I have nothing valuable to add, except for this gif which cracks me up to no end:

https://ww.namu.la/s/831e5f6df658f2287a30f051ba958b39b6299fd...
How do they view the use of libraries in this competition? Do the libraries count toward your 4K?
What Cockos did with Reaper and their VST "extensions" is absolutely not part of Steinberg's conception of VST. Because of this, there's no namespacing: two organizations could "define" an extension that uses the same integer value for the audiomaster callback, and there's nothing to resolve that except for one of them to say "Hey, guys, please don't do that, we were using that first".

LV2 uses URI's to identify extensions and there is an expectation that the URI is based on a URL controlled by the extension's proponents. Namespacing, put simply.

VST3. Cough. Choke. Do you know that the SDK Steinberg distributes for VST3 is larger than the entire Ardour codebase?
>ParMinor performs better than ConcMinor in majority of the cases

Does this just mean better throughput, or also better latency?
Approaches that make small countries like Singapore, Taiwan or Hongkong succesful are not easily scaled to a large one like India. Using them as examples in arguments is very disingenuous.
Hey, I'm pretty sure that Steve Newman would create a group for us on Podaero :)

The Internet is way large enough for all the spaces that we want. It just happens that I primarily focus on anonymity, privacy, and resistance to censorship. Both to protect dissidents, and to protect the ~clueless from destroying their lives.
My interest is piqued. What 8 meals did you make in 15 minutes? Did you purchase already cooked food?
Ah sorry my comment was a bit unclear. I had that revelation when I was in my third year at Square and started looking around (not to knock Square, it's a great company!)
Yeah. This kind of savings comes up in interesting places elsewhere -- if you make your algorithm run twice as fast but using twice the memory, your time-integrated memory use (measured in gigabyte seconds) remains the same. So if you can make good use of that memory while your algorithm isn't running, you're saving CPU and not really using more RAM.

For something like the Pi this is unlikely, but in data centers with big, latency-insensitive distributed workloads "using memory for less time" can be a real win. (The battery example with the Pi really is the perfect example though, because you're usually interested in the time-integrated value more than the peak draw.)
Its strange to me that the article says that board games are booming during the pandemic.

I haven't been able to have a regular board game night in months :-( I tried online but didn't love it (I suppose I should try it some more); I wish I could see how to do it in person and maintain physical distance, but it looks doubtful.
There are direct on the record quotes from different people with knowledge about it in this article. You could pretty easily interview or email them and find out.
Indian real estate is expensive due to outdated town planning and land use laws. This is because the people who control most of the real estate (politicians) do not want increase in supply which depresses its price. Construction cost although important is a much lower part of the equation compared to land cost.
Problem: A lot of professional jobs spend a shitload of time in front of the computer doing nothing else than googling or research on websites, taking notes (or transforming that knowledge to another medium or file) and repeating that all over the next day until they come up with a conclusion.

Idea: A web browser for self-automation that learns semantics and sentiment of content on the web, whilst trying to respect references or articles’ sources to recorrect the ground truth.

Solution: Still far away from it, but am implementing a peer to peer Web Browser that can share its information (or states) with trusted peers. Trying to implement a recordable, editable and repeatable GUI for everything, which is a lot harder than it sounds.

[1] https://github.com/cookiengineer/stealth

All kind of feedback appreciated!
But as your customers learn that wasting support time pays off, the game is surely over!
> Is this really just a case of people not willing to pay what the service truly costs?

I think so. If a driver spends an hour on delivery, they have to make $15 in NYC or ~$8 elsewhere (USA) to be worth their time. For a single person, that can be the price of the whole meal again.

I've run into this when seeing the fees reflected on a final checkout page, and decided to cook for myself instead.
> Hold on, "down-voting is censorship"? Since when? The content remains. No disciplinary action is taken against anyone who's comment starts to turn grey. It's simply a feedback mechanism members of this forum use to signal to each other the quality of the content being posted.

If one fails to stay within the boundaries of HN's Overton Window, you run a high chance of being rate-limited for "starting flame wars", regardless of whether you were the one who actually started it. What comes after that I'd rather not find out so I try to keep my opinions to myself as much as possible. Whether downvotes are used to detect instances of dissenting opinions is unknown, but it's one of the most obvious ways to discover it I'd think.

> ...not simply content you don't agree with, BTW

You do not actually know this, it is a heuristic prediction. Even getting a half-accurate feel for that would require access to voting data and a lot of time reading over downvoted comments.

People often do not even know why they themselves are doing many things, such is the nature of the human mind, that evolved to optimize for speed over accuracy.
That's on the mark! It's also pretty clear that manufacturers did want to utilize this as it reduces tooling costs a lot. But, in attempts to increase fuel efficiency/reduce weight(cost) they lost rigidity and went to unibody.
Composite & battery technology are enabling these types of designs again.
As for the lead comment, it's true that the exact same 'skateboard' isn't going to perform, but keep the board and swap 'trucks & wheels'. There's your sports car cum minivan.
It's about the chassis not the rolling
Alright, sooo... Pascal kind of seems like the holy land of "get shit done" that isn't C or C/C++. At least as far as cross platform UI development goes that isn't _electron_.

How is it maintaining a Object Pascal project in 2020? What are it's weak points? Anyone have some examples of "modern" apps written in Object Pascal or problem spaces it's still vastly better than the competition? Are there any like magical libraries, frameworks, or patterns?
Somehow all time travellers seem to guess that my codephrase is password[current year].
Perhaps because of this Doordash has been aggressively cutting their refund policies. If an item is not delivered you don't get a full refund and often don't even get a refund for the item price + tax on said item.
> Its strange to me that the article says that board games are booming during the pandemic.

Households of more than 1 member are probably looking for more things to do at home together.
I’m fine with your revised criteria but still think it shows the OP was somewhat reasonable to ask for help. You insulted them pretty badly. They’ve gotten good recommendations from other users, though.
I don't think we're disagreeing.

When I say non-trivial, I don't mean local refactoring. I mean the kind of refactoring that requires you to load the entire system (or a large part of it) into your head, and figure out how to clarify and simplify it.

It is not a luxury. When done successfully, it is the only way to lower the cost of that expensive debugging. The slow debugging and the expensive refactoring are two sides of the same coin. They are both the cost of a system that is too difficult to understand and safely change. But the cost of a good refactoring need only be paid once. Whereas the cost of debugging a system you refuse to fix is levied again and again.
Yea, every rust programming is a challenge ;)
Python on top of the list of best programming languages in 2019
Please reveal your secrets!
Pokemon Theme Rendered in Windows Task Manager with 1792 Threads (video)
Seems like location should be a toggle on this page as well, as I imagine that can contribute to a large variation in compensation figures (fairly or not).
a few thousand of them exist, Uber had over 30000 destroyed: https://www.vice.com/en_us/article/5dz94x/uber-acquisition-j...
The space-time continuum stays the same. So the time travelling device (if it’s a decent one) should automatically compensate for this.
West is littered with graveyards of companies hollowed out by Chinese Industrial Espionage. ASMC comes to mind.

https://www.straitstimes.com/world/united-states/chinese-win...
How do you think this tool would be used?
This is true. Transparent regulation and enforcement of rules is the only protection. Other examples is the sugar industry 'mafia' in the state of MH where private players cannot easily enter.

It is not like we do not have any checks and balances. We have an activist Supreme court as well as high courts which ignore average folks but open their doors at 3 am for special hearings for important folks.

However overzealous regulation in India has also meant that a Copper plant in India was closed in Tuticorin after protests allegedly funded by Chinese interests. Now India imports Copper from China. Apparently the main reason why protests happened (pollution) did not change 1 year after closure of the plant. Whereas thousands of poor unskilled laborers did lose their jobs.
I didn't feel that way then but lately I actually felt the same :)
This is what my wife and I do, and will do for our kids when they're old enough to have a device like that. One purchase, shared by the household. Much simpler than manually logging in or having your credentials used by others.
I think a questions that’s going to pop up is, why does delivery work for a company like Dominos’s (vertical integration) but not Postmates (horizontal)?
I thought they rejected them because electron used private apis. Is that resolved?
How much experience did you have when you were offered $400k/4y?
It's a shame that playstation tries to wall off their development support. This would be great on the PSVR.
Sometimes they can be a lot of filler though. Yes you managed to create a 40 minute video but its 90% the same thing moving very slowly.
Even characters are a question mark in my opinion. Easier to balance than adding a game mechanic, but if you don't choose powers carefully, the synergies with other characters can be overwhelming or underwhelming.

Cosmetics would be where I would put the stretch goals at (like upgrading the coins to metal coins (remembering to adjust the shipping cost accordingly), upgrading the player tokens, etc), or very expensive t-shirts (as those print runs can also get complicated fast), or stickers or other "simple" swag.

Disclaimer: Have not run or funded a board game Kickstarter, only heard a podcast about one (https://www.idlethumbs.net/3ma/episodes/threes-a-crowdsourci...)
Experts with one big claim: The coronavirus is airborne
Note that Azul is a masonry game but the sequel, Azul: Stained Glass Sintra, is about stained glass. Both are excellent, but I personally find the sequel just overall a better experience.