skysight-inc/HackerNews huggingface dataset:
It depends. For example in Beijing (and probably in other big cities) you can't carry a knife, but in a small town you can.

The laws are a jungle everywhere :/

The detainment is the worrying part here.
Solar is not cheaper as it requires backup energy sources such as coal, oil, nuclear etc.

You can't just isolate the cost of solar or wind as they are only viable because they sit on top of a fossil or nuclear infrastructure.

Solar and wind is always depending on backup energy, those backup energies are not depending on wind and solar.

Wind and solar haven't factored in the cost of decommision and maintanance in their prices which is going to be much more given the huge areas they have to be spread out on.

There is plenty speculation about how to solve the intermittency problem of wind and solar but we are not even close to a solution for that.
Show HN: A dbg(...) macro for C++
I attended the protest in Melbourne.

There was reportedly around 150k people, which is just over 3% of the city's population... that's crazy to me.
Yes, I did!
>"As such, the Democratic Party is now anchored in the nation’s booming, but highly unequal, metro areas, while the GOP relies on aging and economically stagnant manufacturing-reliant rural and exurban communities."

The analysis of averages can be misleading. Democratic districts appear to include both some of the poorest urban cores and wealthiest suburbs. I wonder how the GINI coefficient of Republican versus Democratic districts compares?

Also, the makeup of the 111th House was 256 D, 178 R and the makeup of the 116th House was 235 D, 199 R, a swing of about 10 districts to the Republicans. But note that in the 114th House the makeup had been 188 D, 247 R and the map was even redder.
MS Paint is probably one of the most used programs for drawing pixel art, so the article title seems a bit click-baity and out of context.
> what these areas that lost GDP over the past decade could have provided.

The data isn’t measuring areas that most GDP over the past decade. It’s measuring the average GDP per capita of areas that voted Democrat/Republican in 2008 and 2016, which is a different set of areas. What it’s showing is the economic sorting that happened in the 2016 election, with higher income suburban areas voting more consistently Democrat, with lower income rural areas voting more consistently Republican. That doesn’t say anything about the incomes of any given place, since the set of places wasn’t held constant.
But, if I don't misremember this also, cons creates an ordered pair, no?
I am quite impressed by the image quality and the sharpness for something that was used in the 60s. Of course, digital screens are better now but whoever invented the Eidophor at that time did extremely well.
Yeah. I feel like my modest one-time donations to Oxfam and cancer foundations have already been matched by all the mail they've sent me over the years since. Makes me less likely to donate again.
This isnt really surprising to me. What's the average lifetime of a company, even one that has reached maturity? I would guess much less than 100 years.

I suppose the waters are muddied somewhat by consolidation, in 1927 there were 10s(?) of thousands of car companies, today we're basically down to 20(?). No doubt many went bust, but many also got subsumed.

The fact that 3/7 companies have outperformed Treasuries since 1927 is the surprising thing for me, not that 4/7 havent.
Hear hear.
And it would it also have been very useful to see some data points from before 2008 to better understand the trends
They didn't "bough Reddit". Tencent has a non controlling stake.
Tesla M3 SR+ is advertised as 240mi (386Km) EPA in the US vs. 409Km WLTP in the EU, a 6% difference. The LR is 310mi (~500Km) EPA vs. 560Km WLTP, a 12% difference. Assuming the tests are designed in such a way that for some reason they start to diverge massively the longer the range (6% at 240mi but 12% at 310mi) then for an ID.3 with a 210mi range there is no reason at this point to assume 15% difference but rather under 10%.

Given that you obviously know the numbers your extrapolation, while it may turn out to be true, seems more bad faith than reasonable assumption at this point.
You can use Gmail with the plus '+' tags or extra dots '.' in the address.

e.g. example+charity1@gmail.com, exam.ple@gmail.com, etc.

I did this for years before switching to a custom domain and it worked very well for me.
How European football changed in the last decade
But can it make diamonds? ;)
How exactly you think preventing your customers from using secure passwords is going to demonstrate due diligence?
Apps should not have access to the underlying schema and should just interact with the database through stored procs or views anyway.
I leave it as an exercise to you to select "global stocks" as one of the tested portfolios ...
Transactional semantics are problematic with a lot of nosql databases but I've used a few and you can work around this if you have some kind of consistency checks using content hashes. Postgres is pretty nice these days for a wide variety of use cases; including nosql ones. And it does transactions pretty nicely.

Regarding the object relational impedance mismatch, check here: https://en.wikipedia.org/wiki/Object-relational_impedance_mi...

In short, there are lots of things you'd do different in an OO domain model vs. properly normalized tables. A lot of what ORMs do is about taking object relations and mapping those to some kind of table structure. You either end up making compromises on your OO design to reduce the number of tables or on the database side to end up with way too many tables and joins (basically most uses of ORM I've encountered in the wild).

For reporting, you can of course choose to go for a hybrid document/column based approach. I've done that. In a pinch you can even extract some data from the json in an sql query using whatever built in functions the database provides. Kind of tedious and ugly but I've done it.

Or you can use something that actually was built to do reporting properly. I do a lot of stuff in Elasticsearch with aggregations and it kind of blows most sql databases out of the water for this kind of stuff if you know what you are doing. In a pinch, I can do some sql queries and I've also used things like amazon athena (against json or csv in s3 buckets) as well. Awesome stuff but limited. Either way, if that's a requirement, I'd optimize the database schema for it.

But for the kind of stuff people end up doing where they have an employee and customer class that are both persons that have addresses and a lot of stuff that is basically only ever going to be fetched by person id and never queried on, I'll take a document approach every time vs. doing joins between a dozen tables. I also like to denormalize things into documents. Having a category table and then linking categories by id is a common pattern in relational databases. Or you can just decide that the category id is a string that contains some kind of urn or string representation of the category and put those directly in in a column or in the json. You lose the referential integrity check on the foreign key of course; but then you should not rely on your database to do input validation so that check would be kind of redundant.
Yeah, papyrus can burn to ash. If you burn a tablet, it just gets more permanent. In fact, a lot of cuneiform tablets that have survived are ones that were in fires.
It is striking the balance between your own queries and ORM.

My rule of thumb is that I always go with ORMs for MVPs and small apps. Optimizing for speed usually means going deeper and building a system or queries for yourself. Until that point I usually stick to less verbose code and more to business rules.
AFAIK the article didn't make a claim about storage, only how much more CO² this contraption "sucks up" compared to a certain volume of forest.
> sometimes using them makes the program slower than it would be otherwise

oh no, that program will be super fast.

It would make other programs that run concurrently with the AVX one slower.
My guess is the following: ASML produces the lithography machines, and TSMC/Samsung/<chipmaker> uses them in mass production. What I hear from the Dutch news is that the development process is very much a cooperation between different companies. What works in ASMLs lab will likely need a lot of tweaking before it can be used in mass production.
This just in: Flying algae seen returning to the atmosphere!!1 :D
Humans used whatever material was plenty available for a long time. The Siam and Burmese empires used wood. When the wood started to rot they razed it and built new houses.

Most homes in the US are simple wood frames, with wood cladding. No one worries about the lifespan of those houses.
United States Cattlemen's Association.
We need to say it loud and clear and reduce our dependency on Chinese money.
The title of the post is "An Update to the Chef Community Regarding Current Events", would be nice if a moderator could change the submission to reflect that seeing that most threads discussing the topic are otherwise being flagged to death for some reason.
> It's like there are two sets of standards now. One for Chinese students, and one for everyone else.

At least in the UK, University of St Andrews, which has the highest percentage of international students in the country, offers a Foundation Year[1] to the applicants from the third-world countries, which must be taken before the 4-year undergraduate degree.

It reduces the knowledge gap, improves the language skills, and brings additional income to the university without affecting the quality and experience of the degree programs.

[1] https://www.st-andrews.ac.uk/subjects/study-options/foundati...
The Founder’s Lie About Comfort Zones (2012)
QuickCheck, from Erlang and Haskell
Well considering that vastly more tablets have survived from the ancient world...
I couldn't disagree more. Good fiction is more than just entertainment, and you learn as much from it than from a good non-fiction book. Some aestheticians have talked about how you learn from art the same way you learn from more obvious sources. Some non-fiction books are great, but there are a lot of non-fiction books that are just entertainment.

It's not the shelf of the bookshop on which you find it that tells you if you can learn something from it.
There is no way to replace a significant part of the used plastic/fossil fuel.

We underappreciate how many things fossil fuel can be used for. It's not just fuel and plastic which in itself is extremely valuable. But it's also pesticides, machinery, medicin, chewing gum, sports equipment, textiles, toothpaste, guitar strings, contact lenses, fishing lures and I could go on.

It's so ever present in our daily life that living without it would kill most of us.

Sure there are alternatives to some of this, but we are not even close to having solutions for 99.9% of the uses of plastic today.

With regards to energy then also here it's hard to see the alternatives without fuell cells, thorium or fusion being a reality anytime soon.

I've looked at a lot of different alternative energy forms and while there are some interesting concepts in between I have yet to see something that can compete properly. A lot of Rube Goldberg solutions out there or solutinos that require a complete redevelopment of the very infrastructure we spent 200 years building.

So I am very skeptical but still looking. I am not saying you can't make a good investment on some of them, but whether you can save the world by investing in some of the things I have seen at least is very unrealistic.
Exploring .git Folder of TensorFlow
Geothermal does not come from fission. It comes from some combination of primordial heat (which is gravitational), and alpha and beta decay (not fission).
I'm not sure that's true. Charges for e.g. plastic bags in supermarkets had a dramatic effect across the entire country. Even if you can afford an expense, people don't like paying for things if they don't have to. When saving money is easy--like bringing some old bags to the supermarket, people do adapt their behaviour. It adds up over time to be a decent saving.

That said, the problems with alcoholism often affect the less well off, so if it did materially affect them more, then that's probably not a particularly bad thing in terms of satisfying the objectives for the change. This law is primarily affecting the purchase of low quality and high alcohol beverages, like really cheap ciders and lagers. I occasionally buy bottled real ale, and the price has not changed at all. It's around £1.65-£1.80 per bottle in a supermarket. Still much cheaper than at the pub, but several times more what a multipack of cheap cans cost. If the objective is to improve public health by making binge drinking harder, then I think the pricing will actually be effective. It worked for smoking. The pricing of the cheap booze in supermarkets was ridiculously cheap, and I personally think that while it might have benefitted the drinks companies and the supermarkets, it's a net negative for society at large, and overall many people and their families will have their quality of life improved by the change. The change is not stopping purchase of alcohol, or even raising the price of most drinks, but it is raising the price of the stuff people binge on. If you're a moderate and responsible drinker, then you'll not even notice the difference.
Things I hate about software
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

- I hate writing code that should be available out of the box.

- I hate when I can't get open source tools to run locally.

- I hate having to deploy servers to do simple sh*t.

- I hate scouring the internet for "the best SMS service".

- I hate reading endless documentation to integrate yet another API.

- I hate managing 30 API integrations.

- I hate overly complex documentation.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

- I love simple APIs

- I love things that work out of the box

- I love easy-to-understand documentation

- I love cheap, reliable 3rd party solutions

- I love plug-n-play, one-click microservices

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Kodem.io (https://bit.ly/2kY3h7r) <-- Shameless plug
Compared to British umbrellas.

https://www.youtube.com/watch?v=tukQDg22o9M
Nuclear failed to hits its price points in the US even back in the first building boom. There was never a time here when nuclear was economical.
Difference in approach to libraries and the standard library.

NPM/Node is very much a "we only provide the bare minimum for a language, everything else must be implemented on your own." The JavaScript stdlib is very small (not that weird when you consider it's originally a language to do stuff with in your browser).

The result is that a lot of "simple" functionality that most languages would put in the stdlib (left-pad is the most infamous example) has to be reimplemented by library developers. Now because programmers are for the most part not interested in copying the same code over and over, this means that these simple functionalities end up on the npm, which are then used in somewhat bigger libraries, right up until you essentially create a massive dependency chain for each major library, since the dependencies for that library rely on other dependencies and so on so forth.

This sounds interesting in theory, but in reality this almost always means that if one thing in this chain breaks (for example a "simple" library introduces a breaking change but doesn't properly adhere semantic, since nobody enforces semantic on the npm although it's recommended), essentially the entire chain is broken and the top level library stops functioning as well.

And then you end up with packages such as left-pad, which provide simple functionality that is almost universally needed for almost all major libraries. Now the last thing you want to have happen here is that the maintainer either removes or breaks the package, since this essentially results into a dependency hell cascade as suddenly several millions of packages are broken.

Python on the other hand has probably one of the biggest standard libraries I've seen in a programming language, and the difference is outstanding. Most PyPi libraries are moreso focused on adding specialized features or simplifying otherwise lower level libraries into more higher level ones (ie. requests is really nothing other than a really good wrapper around urllib). There's very few "simple functionality" libraries for PyPi, since most of this functionality is already in the standard library. Usually if a library that is "simple functionality" isn't in the standard library, it's because it changes too often (standard library is mainly for unchanging code. eg, requests) or is still somewhat specialized (ie. sqlalchemy or a couple of validator packages I use).

There's pro's to Nodes approach (ie. you're generally not locked down to a single approach), but generally Pythons approach on library management is better in my opinion.
Talking Is Throwing Fictional Worlds at One Another
Should or does? I'm not arguing that they should, only that they do.
there's nothing barring valve from giving devs a percentage of the resale right? that in of itself would be a significant advantage over traditional used game sales & key resellers.
I wonder how much CO² you could sequester from the atmosphere per year by removing just one cargo ship.
Because they're the dominant player (and the history of getting to that dominance is very sketchy, including $billion fines in the EU for bribing OEMs to use their processors)
Really excited to share something that we launched recently.

We have been running a successful product development agency - codemycompany - for over 3 years, and a lot of times we get requests to complete really small tasks (integrate this api, create this report, create this plugin etc) which we would have to turn down, since the entire team was built in a way to handle larger projects.

But now we have launched boringcodecompany, which focuses on these microstasks (any dev work which would take <5 days), where we look to go from enquiry to onboarding a dev from our team to work on the microtask within 6 hours.
No benefit in growth mindset theory
I wonder how much the lack of high-speed Internet plays into the stagnant economic prosperity of rural America.
Same as a rest api
I looked into building our home. Unless you can self fund you’ll need a loan. If you need a loan for new construction the banks will require a general contractor. If you already work as a general contractor you’re all set. If you’re not you’ll need a GC to shepherd the project through. But going completely DIY is extremely difficult for most Americans.
How is that related to Apple’s product vision at all?
They make security devices which is essentially a collar on each side with steel cables between. Makes it virtually impossible to cut it off. It instead requires you to first take off the device then cut off the cat. This problem of cat thefts have been a problem in the us for a long time.
The cost of electrolyzers has also fallen dramatically.

On the other side, gas turbines are incredibly cheap. A simple cycle gas turbine plant costs as little as $400/kW, vs. $10,000/kW for a nuclear plant.

It's this huge cost advantage of combustion turbines that is making natural gas such a killer competitor these days (along with fracking).
Next year on AliExpress, weaponized umbrella's
> Professor Jonathan H. Adler of the Case Western Reserve University School of Law has said that he believes the legality of the trillion-dollar coin to be dubious.

One of the most harebrained schemes hatched to date, "dubious".
The cynic in me would think this is nothing more than an opportunity to make more money while guaranteeing that after the foundation year anyone can get into university.
Well, here's a handy example https://news.ycombinator.com/item?id=21034424 which leads to https://www.theguardian.com/lifeandstyle/2019/sep/17/healing...

Some quotes:

- The model Miranda Kerr has said that she filters all her skincare products through rose quartz “to give the vibration of self-love”.

- Believers say crystals conduct ambient energy – like miniature phone towers picking up signals and channelling them on to the user – thus rebalancing malign energies, healing the body and mind

- According to Pew Research Center data, more than 60% of US adults hold at least one “new age” belief, such as placing faith in astrology or the power of psychics, and 42% think spiritual energy can be located in physical objects such as crystals

- Last year, Paltrow faced (and settled) a misleading advertising lawsuit for claiming that Goop’s vaginal egg crystals had the power to balance hormones and regulate menstrual cycles

What's this if it's not stupidity-by-choice?

Let's have an answer instead of downvotes because I'd really like to hear what you think.
Yes.

If you stick to using the ORM for what amounts to (mostly) just PODs, it's syntactic sugar that can really help readability.
>You do not use lithium ion batteries for seasonal storage. Use something else

Like what?

You think I'm saying these things because I hate renewables. I'm trying to understand what people are arguing for! So you say Lithium ion batteries shouldn't be used for seasonal storage. News to me. News to a ton of people who believe that Tesla battery site can scale to that level. What is the battery technology that can store enough energy for weeks at national-scale.

Maybe there is no battery technology? Then why are coming up with these examples that you know don't work! If you look at my original post that all I said is that there is no battery technology that scales to economy-size and therefore you need fossil fuel backup for solar and wind... Which part of that is wrong?

This is my frustration because regular people and experts just handwave the answers. Germany is all on in solar and wind and fighting climate change and is hailed as a model for the world and also invest billions into gas pipelines to Russia to provide them with huge volumes of natural gas for decades!!!

What the fuck is going on? I just want to know. I'll post something, told I'm wrong but nobody will post the answer.
This is a very valid point. You should include now-defunct companies, as current investors can’t tell whether a company goes bankrupt next year.
All those people who protest ... They protest against what ? In France, we have the "Gilets Jaunes", who also protest, there is also the young people who protest against climate change. They protest, and they go nowhere ...
Tbh they’d probably get more people to answer “yes” if they made the “yes” very clear. Most people just blindly press whatever looks like yes. The dark pattern would have the opposite effect in this case imo.
That video screen on the inside of the umbrella could be made with some portable beamer projecting it, would be cool to have in a storm so you could see oncoming traffic haha
The things I've found positive about ORMs are exactly that mapping of results to business objects. The things I've found "not worth it" are the query-building APIs baked into the objects. These principles can be seen in a lightweight ORM I made, PureORM [1].

[1] https://github.com/craigmichaelmartin/pure-orm
Your proposal doesn't work, though. It requires that nuclear be subsidized by buying its power 24/7, even when much cheaper sources are available. This opportunity cost, if properly accounted for, makes the cost for the gaps that nuclear fills in for very very expensive. Trying to use the excess nuclear for hydrogen production, battery charging, etc. doesn't save you, for basically the same reason.

Nuclear is expensive, and you can't shuffle that expense around under three walnut shells hoping it will somehow disappear.
Considering how undervalued they have been for the last decade, things have moved definitively in the right direction. The recent releases and developments are still fresh news and i suspect the people/computers responsible for most of their volume operate at a longer timescale