skysight-inc/HackerNews huggingface dataset:
US-centrism is a part of it. Renault don't sell anything in the US. Nissan America may as well be called Datsun [1] for how well it currently reflects Nissan's fleet in Europe and Asia. The Leaf is Nissan America's ugly stepchild that they barely advertise, were forced to sell by "dad" (Nissan Group), and most Americans probably don't remember exists. Similarly Hyundai and Kia have much different overall US fleets than European ones, and have been slow to bring their EV options to US markets. (Just as VW is targeting 2020 for Europe ID.3 sales, but has made no word of when US sales might start. Or Honda America is entirely ignoring the Honda e.)

As far as most of the US is concerned it really is just Tesla to compare with for EV sales. (GM's Bolt maybe the only other footnote to that.)

[1] At one point Ghosn even tried to rebrand most of Nissan America's (gas guzzling, oversized) vehicles directly to Datsun in a strategy to make them easier to sell off/kill once EVs actually catch on in the US. No idea if that sort of plan still exists at Nissan Group post-Ghosn.
You've only succeeded if that tree eventually gets sucked into the earth and turned back into oil eventually. If it gets cut down for fuel you've done nothing.
As a refugee of Hibernate etc. I definitely agree with this. Python in particular already has data types that map nicely to relational data - dict, list, tuple, iterators - so mixing SQL calls directly in code works great.

Plus you get full access to the particular database's features, direct control & understanding of what's being executed when, easier query & performance tuning, no special 2nd pseudo-sql dialect to learn, no big extra stack of leaky abstractions to troubleshoot, etc.

One of the big pitches of ORMs is "you can change your DBMS mid project!" Which sounds cool and has its occasional applications but is something I've never actually needed in over 20 years of development.
Show HN: Cloud Egg – A Shared Experience of Cloud Computing
Just a general piece of information to share here, since I think everybody in here has an interest in e-readers:

did you know that you can get a mint condition kindle 3 with 3G (free data for the device for life) on ebay for $30?

I consider the kindle 3 a nearly flawless device (save for it's lack of a frontlight). The fact that they are available, and the included 3G which just works, for $30, is a technological miracle in my mind.
One day later here is a huge NYTimes piece about how the employees were pushing hard for the public offering for years and it caused tensions: https://www.nytimes.com/2019/09/20/technology/airbnb-employe...
The phrase you may be searching for is 'informed consumer'.

The world is full of tools that experts use because they understand what the tool is doing, and why this is a good thing... most of the time.

Having the tool is a poor substitute for the knowledge that led you to use the tool instead of doing it by hand. There are times where you would not do a thing by hand and so you don't ask the tool to do it, and there are times you ask the tool to do something you would never do by hand.
They absolutely can survive this. But they don't have to.

Publishers and vendors could simply stop selling software licenses and start leasing them out in the EU. Your rights diminish. They wouldn't have to charge less. They wouldn't have very much of anything. It'd actually be a lot easier than complying than this ruling.

Or —if they're willing to do more than an hour's work— they could completely pivot and only lease software as part of a membership (Origin Access), or keep essential elements of the game as SaaS with rent, or even just keep everything and do remote gaming as a service (eg Stadia).

Welcome to the brave new world of software licensing.
This is just another take on EAV (https://en.wikipedia.org/wiki/Entity%E2%80%93attribute%E2%80...).

I'm unsure if it's better than the typical way of modeling EAV though, I'd have to think it through.
French gov (CERT-FR and ANSII) made recommendations about heartbleed.
A good list, but it won't matter for much longer. Fennec is dying, Firefox Preview is coming.

As in, the core browser is available and seems to work fine, but for many people there's not much point in switching until it supports extensions. It won't replace Fennec until it does.

https://github.com/mozilla-mobile/fenix/issues/574
The point was not that the comparison was not perfect, but that it was utterly wrong. SQL is not at a lower level of abstraction than procedural code, but at a higher level.
Abstraction should make complex things easier, not harder.
Thanks for jumping in.

So it is really a matter of not having the same resources as Java/Kotlin teams.

Thanks for the update on possible NDK library management.

Regarding the headers, what I am getting at, is why it was such a big issue to fix them, instead of being proper from the start, like other OSes, including embedded ones.

Anyway, thanks for improving the experience versus what it used to be in the early NDK releases.
It sounds like you're suggesting that every dollar donated to a non-profit entity results in a dollar less of payable taxes -- I'm not aware of a country with a tax/donation trade-off like that, but would be interested to hear about it if you do.

The best deal that I'm aware of is a reduction in your reported taxable income equal to the donation, resulting in a savings of the affected tax bracket rates * the dollars donated per bracket, but even that kind of thing is somewhat limited as far as I'm aware (eg up to x% of income is allowed per year).

I might have just misunderstood you -- either way, curious if you know something about donations I don't or had a different idea in mind!
That's a thoughtful answer. Thanks.

I think the difference between holland and india/egypt is a) relatively low prosperity of the latters leading to b) desperation leading possibly to c) a culture where theft is normalised (cos everyone else does it, why not me?).

The above is speculative but if there's truth in it then trust comes evolves where people aren't desperately poor.

That said there is a proportion of the population which are psychopaths and they are congenitally indifferent to such norms as are needed to make a trusting society work. They just don't care. It's how they are wired. It's not right or wrong, it's just biology - but having known a few, it certainly not pretty.

If that can be managed then you may have an answer.
With a p/e of 166, there’s a lot of optimism priced in.
Seems that Tesla has a big advantage over other electric car manufactures because of their super charging stations.
Friends comment about his Bolt. It's a car. Thats what I wanted, a car.
I didn't mention anything about other things they've done, I'm just looking at what the organization actually provides to the market. While it is true that they did all of the things you mentioned, that is unfortunately what's known as First Mover Disadvantage. They pave the way, and now anyone can crop up and make use of the tough road they laid down.

McDonald's is popular, at least this is what I was told in business courses, because people like familiarity and they know when they get a meal at a McDonald's it's going to be mostly the same everywhere. Uber doesn't really enjoy that. They do enjoy that it is a unified app and service no matter where you are, they have that going for them for a certainty, but they do not have control over their drivers to the level at which McDonald's has control over their franchisees. That's down to the fact their drivers are independent contractors, although it likely couldn't work any other way. It might be moot since the service is the same, getting from point A to B, so the part people want stays the same.

I would almost be inclined to see it as Uber being more valuable for their management of driver reputations than the software they provide, really. They set a standard, and hold drivers somewhat accountable to that standard, which is something that a more 'open' solution would make very difficult or impossible to do.
I worked in some projects where we had to support multiple databases. Entity Framework and a few Database Views helped us keep it agnostic. It was very common in the pre-cloud enterprise world.

Uber did it recently, too. They changed from Postgres to MySQL. But I don't know if ORMs helped them or not.
I hope you also read the original poster's follow-up message elsewhere in the comments. Apparently the amazing support they could offer was a five day migration period before they cut off all payment processing, and also keeping 100% of the money hostage for three months. And of course not answering the central question of just what were these unauthorized payments, if there are no chargebacks.

Do you still feel like commending them for amazing customer service?
Wouldn't the higher clocks impact single-core performance? The article claims that's about the same. I suppose the userbenchmark single-core perf test[1] (the article links to some userbenchmark.com results) could just be a bad test; I'm unfamiliar with it. (It could also be that 2990WX wasn't power/heat limited on a single core, and neither is 3xxx; but say, at 16 core 100% clock, 3xxx can go higher than 2990WX due to a lower power process?)

Anyway, it's still 32 cores. While eliminating the ultra weird NUMA effect and increasing clocks could explain a significant benefit, I'm still really struggling to intuit 72% higher performance. But it is Windows 10, so your remarks about the Windows scheduler may explain the gap.[2]

[1]: https://cpu.userbenchmark.com/Faq/What-is-single-core-intege...

[2]: https://www.userbenchmark.com/UserRun/19698768
The question is, whom do you trust, and who bears the greatest consequence of failure? I'll bet my money on Apple over some third-party extension vendor to protect my privacy.

Besides, in the end, it's all about minimization of threats. The existence of one threat is better than the existence of two. Don't let perfection be the enemy of the "good enough."
It seems no one has been able to extract homo floresiensis DNA yet. Their warm humid environment was not conducive to DNA preservation, but the Denisova cave in Siberia has cold stable temperatures, so preserves DNA surprisingly well.
This was my position for a while. ORMs introduce a layer of magic which obscures what's actually going on under the hood. I decided I would just make raw SQL queries and handle mapping data explicitly.

I quickly ended up with a lot of duplicated code. So then I thought, "Well ok, I should add a bit of abstraction on top of this..." I started coding some simple functions to help map the tabular data to objects. One thing led to another and suddenly I looked at what I had done and said, "Wait a minute..."
> Sure but at a certain point it just harms your credibility

Only if it's a recurring issue. People can be a horrible contributor at Company A and a rockstar at Company B - should my entire future be anchored because of a single event? No thanks.

> I know it's standard business procedure to outright lie about these things

This is just silly. It's no different than how anyone reacts in any non-professional setting. Do you tell everyone in your life about every fuck up you make? So why expect that from our professional peers?
Retrospective: 26 Years of the Flexible Mandatory Access Control Security Model
Not sure about companies, but as an individual, political contributions are NOT tax-deductible.[1]

On a personal note, I like Andrew Yang's approach to wash out special interest groups and lobbyist with "democracy dollars" [2] of $100 for every citizen. Apparently it's been working in Seattle, but would love to hear from any Seattlites on the progress of the program.

[1] https://blog.turbotax.intuit.com/tax-deductions-and-credits-...

[2] https://www.yang2020.com/policies/democracydollars/
False on both counts.
you're still missing the point.

An analogy cannot be wrong because it is not comparing anything. it's communicating an idea.
That Netflix could so casually triple Obama's net worth kind of emphasizes OP's point. (Note that quite aside from being the most recent two-term US president, who is considerably more popular than the current office-holder, Obama was a best-selling author & Nobel Laureate.)
Much like Uber and Lyft, we work runs at a loss that scales with usage. In the event that continually losing ever increasing amounts of money somehow results in bankruptcy all of the people currently leasing office space will probably try to lease the building space directly.
I guess I'm an advanced programmer. You described my exact progression :-)
The problem on the article is because the author seems to be using ORM as a complete replacement of SQL query. When it's used like that, for sure it's gonna be a hindrance.

How I use ORM is to help automating some of the things, while on top of that, I'd still write raw queries for the more complex things. For example, I create base tables using ORM, and then lay off all the joins and more complexity in a handwritten views. For query, I use ORM for something simple such as direct single-table queries or straight forward joins. When things get more complex such as joining a bunch of tables, or doing nested queries, I just use raw query.

The thing about ORM is that it should always be used as a complementary tool. Feel free to mix and match it with raw SQL queries as needed. Trying to do everything in ORM is just too much. One would end up spending too much time learning about the inner working of the ORM, instead of getting things done. So yeah, use it as a complement to raw queries, not as a substitution.
Slides here: https://static.sched.com/hosted_files/lssna19/e5/LSS2019-Ret...
> followers to agree to things that are in the general interest but aren't in their interests.

if your vote is open & transparent, you'd be less likely to vote for something socially less acceptable imho.
Mr. Godwin would like a word:

https://web.archive.org/web/20170814022147/https://m.faceboo...

https://www.washingtonpost.com/posteverything/wp/2015/12/14/...
I really don't see how, could you elaborate?
Spin them all up when the wind blows and convert their kinetic energy to power during a lull.
Chrome 78 Beta: a new Houdini API, native file system access and more
SoftBank Founder’s Empire Is Vulnerable to WeWork Woes
$20B or $20B/year?

It's easy to estimate what it would cost to end homelessness, if the number of people nationally is around 600,000.

The thing that makes it more expensive than you think or people want to admit, is that a cot is not enough. Giving everybody a home is not enough. People who cannot cope with living in someone else's house or having their own apartment are even less likely to cope with owning property. To solve the problem, you have to provide every one of them with a spot in something comparable to an assisted living facility. That costs in the ballpark of $4K per month.

So, $30B per year. How much capital is needed for that income? Median assumed rate of return for public pension funds is 7.25%, let's use that.

The bill, if we're being honest, to solve homelessness, as a lump sum, is therefore about $410 billion.

Sounds like a lot. Well, it's about $3200 per American household. But that's assuming everyone paid equally. Total net worth of the US is said to be about $123 trillion, so $410 billion would be around three tenths of a percent of all the country's wealth. Not much when you look at it that way.
Recorded for Quality Assurance
Kind of light, but it makes me think of the methodology I adopted for learning Japanese, which was to basically ignore the ordering of things. Don't get me wrong; I speak the words in the right order. It's just that I didn't try to memorize the ordering of things while learning the language. Because, as I think the article points out, your brain is pretty good at figuring that out without trying.

The most helpful thing I think you can do while studying language, other than placing yourself in real world scenarios where you use it, is to just read (or make up) example dialogues. Words by themselves aren't that helpful because they're often out of context. Sentences are better, but even they benefit from being embedded in a larger structure such as a dialogue or paragraph. I guess the point is, the more context, the better. Or, as the article would say, the more merging the better.
> in order to remove that link I would have to prove that I am the person with that name at that address, or that I am the person with that online handle or whatever, but there's no fundamental reason I would have to further identify myself in any way.

I feel like I'm missing something fundamental with your point, because this sounds to me like you're saying the same thing I'm saying, and then coming to a different conclusion. How would you prove that you were the owner of a name and address without revealing additional information about yourself?

The best way I can think of is to use a trusted third-party for verification. For example, send a censored utility bill that's in your name. But this still seems to me like it's a compromise -- it means that 3rd party needs to know your name/location, and it means you need to reveal your relationship with the third party.

Is there another strategy I'm not familiar with? I suppose in some cases, like with a government ID, your relationship with the third party wouldn't be new information. But it seems like a stretch to say that a government database of names and addresses wouldn't impact anonymity.

> The possibility of corporations being anonymous is not an example of a tradeoff between anonymity and control either.

If a website operator is anonymous, how are you going to contact them and require them to take down your information? If they refuse, or if you get their website removed and they just keep buying and posting it on new domains, how are you going to stop them from doing that?

I'll fully admit I've been talking a lot about theoretical extremes, but this particular problem isn't theoretical at all. Onion sites are already a thing, and it is notoriously difficult to get illegal information removed from the dark web because the site owners, site visitors, and even server locations are anonymized.

Tor makes it easy for me to stay anonymous, but it seems to me like Tor makes it very hard for me to control my data.
cars are nice but they wont replace horses. your car ever mowed your lawn for you before? You ever hear of mowing a lawn before cars? Your car ever come when you whistle because it likes apples?

this car thing is a fad. I'm putting all my money in horses.
Concentration camp, internment centre for political prisoners and members of national or minority groups who are confined for reasons of state security, exploitation, or punishment, usually by executive decree or military order. Persons are placed in such camps often on the basis of identification with a particular ethnic or political group rather than as individuals and without benefit either of indictment or fair trial. Concentration camps are to be distinguished from prisons interning persons lawfully convicted of civil crimes and from prisoner-of-war camps in which captured military personnel are held under the laws of war.

https://www.britannica.com/topic/concentration-camp
I don't think you can retroactively change the meaning of a point you made decades earlier.
I think there have been many, many similar copyright cases in music. E.g. composers have performed their composition method to prove originality. It would be surprising if judges started claiming that dataset companies have excusivity to all NN-derived works , and would seriously hold back progress.
What China could gain from a digital yuan
Entity Framework and LINQ are amazing feats of engineering.

Its query builder is super transparent, consistent and flexible, thanks to LINQ, but still generates very performant queries.
If i were feeling glib, i might say something like:

> File under: "duh"

However, I think it's important to recognize that just because this shocking headline might be true, doesn't mean that capitalism is necessarily incompatible with conservation & environmental stewardship.
Pretty sure they're actual giant brick and mortar stores in NYC. Not proof against buying out but different. I dont buy enough from either to know.
In my prior job, I worked with a few (really skilled) interns that were just finishing up their CS degrees. I found out that they didn't learn any SQL at all and their interactions with databases was severely limited overall. This really surprised me, as I had a whole databases course when I went through college (different school, but in the same state, just 20 years earlier). Is not teaching SQL or relational database concepts no longer common at colleges? I should mention that the school they went to otherwise was excellent and taught a great many things my own schooling never touched on and I had to pick them up later myself. I'm just curious if it's a matter of just that school, or if other courses have been prioritized across the academic field generally for some reason.
Starting a few years ago industrial/automotive electronic manufacturers started heavily marketing stuff for electric cars and 'smart car' electronics. Before that the industry was slightly sleepy.

EV's mean a total rethinking of just about everything automotive.
Even more advanced programmer: writing the ‘boilerplate’ queries out manually takes barely more time than composing them in an ORM, means less indirection, saves me a major dependency, and encourages me to think intelligently about each query no matter how boilerplate they might seem at the surface.

Super-advanced programmer: allowing my database structure to be influenced by the needs of an off-the-shelf ORM will make it worse.
Then you've broken the law by failing to register under the appropriate channels and are subject to prosecution.
> These donations are effectively free. A company or wealthy individual can either pay taxes or donate the money to a "non-political" think tank to promote policies they'd like to see.

That's not how deductions work. A donation costs the donor much more than the tax reduction. All a deduction does is reduce your adjusted gross income, not literally offset the nominal sum you pay in taxes.

Say my top marginal tax bracket is 20%. If I donate $100 then it's costing me precisely $100. If I don't donate then I'm on the hook for $20 ($100 * 20%) in tax. $100 > $20. This presumes the $100 is earned income, and that the donation is in fact tax deductible. If neither of those hold then the relation is $100 > $0.

People have similarly mistaken ideas about so-called write-offs: https://www.youtube.com/watch?v=XEL65gywwHQ
Tildamail – Private Email with Decentralized Storage (Your Desktop, S3, IPFS)
I believe this is called taxes.

Not trying to be snarky, just... there you go.
Interesting metaphor. It has been this way since the 1980s. For instance, in 1985/86 it was popular to upgrade your 386sx with an i387 math co-processor which is something like adding a cat back exhaust system on your car. Later on increasing RAM, installing QEMM for boosting available memory for DOS games and over clocking and then add on 3D video accelerator cards. There was even a physics add-on card at one point. Mostly these focused on performance gains. The shift towards LED bling and aesthetics is more recent though.