skysight-inc/HackerNews huggingface dataset:
It feels like most of Norway migrates to Thailand in the winter. Scandinavia itself is not very representative of the rest of the world.
What's so "AI" about it? It doesn't even have a TPU. Kendryte K210 has a fixed point TPU, 400MHz dual core RISC V with FPU, 8 channel audio DSP, FFT and crypto acceleration, and costs $8.90 with wifi and $7.90 without. And the module is the size of a half of a postage stamp. Runs TensorFlow Lite (a subset of ops, but good enough to do practical things).
Sometimes power is actually used to keep them turning as they need strong wind to start turning. At least that was true 10 years ago or so.
In January I was sat in a park in Scotland eating lunch, feeling the sun on my face, and realized that global warming has probably ruined this cliche forever.
Predicate builder type stuff is probably the reference.

Whether or not parallel arrays of template and value pairs to be anded together is better or worse is debatable.
Because the process of building that SQL, executing it, and bringing the data it returns into the object oriented universe is a tedious and fiddly pain in the arse.
Decentralized currencies.
Just use a mixture of both, why the frothing at the mouth from either side?
Of course Apple has an interest in ads given their competition with Google, which is an ad company. Harder to make money off of ads is bad for their competitors and in a zero sum view of the world good for Apple.
We use ActiveRecord, which, from my perspective is a good ORM. It's very simple. If you are diligent you can use pluck and count and a ton of other features to ensure you are selecting only what you need. It's easy to drop down to sql in partial form or in the full form. We tend to not get too crazy with AREL.

In particular I like that it behaves way better using surrogate primary keys (serial id column) instead of natural primary keys... it just answers that question for you that would otherwise result in bike shed conversations.

We minimize logic in the AR models, instead those are in glue objects and this pattern works real well. AR models are mostly there for describing relationships in the code and doing data validations in the code on top of CRUD operations.
I am pro-immigration and wish for every immigrant to be given a good shot at great opportunities.

Chef did the right thing. It's not up to individual employees to sabotage company assets because of their own political viewpoints. I hope that employee is thrown in jail.
So isn't the solution to improve the medical care and treatment?

How is removing a library for a DevOps program going to do that? Isn't it just useless virtue signaling that won't actually have any effect?
They let developers do whatever they want? Bad. They ask developers to be serious? Bad.

Facebook bad, bad Facebook. Grrr, must crush Facebook.
Fun fact most police cruiser SUV models come with no roof rack rails as they would get in the way of the light bar. However this also includes the unmarked ones making them easy to identify at a glance.
Wait, this is displayed gray. It got downvoted???
*one of the person who was laid off.
I'm OK with sabotage that does not resort in injuries or loss of life as a means of nonviolent protest.
I am seriously glad I don't work on this project!
Will tend to agree with the author.

Initially ORMs can save time when developing as you get an easy mapping between objects and the database.

However in practise ORM tends to give you quite horrible JOINs that quite frankly are hard to understand for humans.

Further more I think that ORM can lead to a bad practice in the sense that you do not need to think about your data layout first.
But for database performance data layout is of utter most importance. One need to have data in lay out in a form that makes the application run
fast. ORMs does not necessarily provide that. One need to normalize the database.

ORM save you time during initial development but you pay later in the maintenance phase when what is complex queries that humans may not understand are hard to optimize for performance.

Database normalization
https://en.wikipedia.org/wiki/Database_normalization
https://en.wikipedia.org/wiki/Third_normal_form
As someone who has designed shipping HDL including more SPI masters than I can count, and now works as a security researcher (among a couple other hats I wear aty current job), I really think Bloomberg got dragged through the mud.

Everything they said about the BMC was plausible. It was bizzare hearing about how such a scheme would literally break the laws of physics, when by accident (read shitty, undebugged HDL) I've caused exactly what they were claiming.
ORMs let you drop into SQL whenever you need, usually in a way that is fully compatible with the model, so that's entirely false.
> Thanks for leading a vanguard of anti-racism against deepfakes.

Buddy, I appreciate it. You know how hard it is when you’re surrounded by doofuses who can’t even read well enough to tell the difference between race and class and who don’t even understand how to read in good faith much less do it, and stomp all over themselves trying to epic own people with ‘facts’ that are just straw men created from their flawed understanding of existence outside of their bubble? It’s tough, not gonna lie.
I'd be fine[1] if every time this money changed hands it was fully taxed at the pre-trump corporation book rates... so somewhere upwards of 30%.

1. Well, finer - it'd be nice just to not have lobbying and switch over to public funding.
> my guess is most people will simply switch to a different adblocker rather than switch to a different browser.

the moment they can't find ad blocker that actually works they will stop switching ad blockers and switch browsers.

What's holding back linux isn't the lack of influence power users have, it's that it's still lacking in gaming, hardware compatibility, and ease of use (although those are improving all the time)
Active record is a great pattern.

Where things fall apart is when you want to do things like a subquery on a select field.
Yeah, there is tons of money spent on politics outside the above the board lobbying industry. If I run a commercial saying to vote for Pedro I’m not going to be counted in these metrics.
A. that's not even close to true, and

B. if it were, that only argues that you don't use the ORM in the latter case.

You can have an ORM in your project and still fall back to plain old SQL if you like. It's not an "either-or" thing.
Try the rr command :)
What "goodwill" would be involved here? NSA is chartered to exploit things like Heartbleed.
Correct, books won't die, but copyright (as we know it now) will.

What's needed in this industry is social innovation, not technological innovation.

Technology is already doing all it can.
Godwin's Law is supposed to demonstrate the reductive nature of comparing everything to Nazism, it's supposed to be a logical fallacy.
The only episode to cause me to physically cringe during the whole viewing.
Wow - I didn't expect this many responses - seems like I'm not the only one who's experienced the same issue. Quick answer to some of the comments here:

- We DO NOT have ridiculous membership commitments w/ auto-renew. Our membership is month to month (unless you've prepaid for 6 or 12 mos).
- It's been approx a week since I received the email suspending my account. At first, I tried to contact support by chat or phone, but it seems that when they suspend an acct, they block your ability to contact support by any method except by email...of which I sent approximately 8 with no response. I realize it hasn't been that long, but we're a small operation - I can't afford (literally...cannot financially afford it) to let this drag on for weeks or months w/o a resolution of some sort.

Quick update - After sending an email to Edwin@stripe, I got a response within the hour. Thank You Edwin. This was the reply:

"Unfortunately, we will only be able to accept payments for xx for a bit longer. Stripe can only support users with a low risk of customer disputes. After reviewing your business and account information, we've found that your business presents a higher level of risk than we're able to work with.

As noted above, your service will not end immediately—we understand that moving away from Stripe can take time. To help with the transition, we are able to provide you five additional days (beginning today) to switch to a new provider. Because of the elevated dispute risk here, your account balance will be placed on reserve for the next 90 days, the industry-standard period during which most payments are disputed. During this time, the reserved funds will help cover any disputes or refunds on your account. The remaining balance will transfer to your bank account at the end of this period[1]."

Not really telling me anything new - we're not a "high-risk" industry (according to Stripe's list) and have not had any disputes or chargebacks AT ALL. Be that as it may... But I still CAN'T REFUND PAYMENTS TO CUSTOMERS! <sigh>
2990WX was a weird ultra-NUMA setup where half the dies had no direct memory access at all. Part of the gain will have been fixing that - particularly on Windows where the scheduler did not understand this configuration at all (Linux results have always been much better).

Another part is the power consumption and resulting higher clocks. The 2990WX was basically power limited, the new chips are on 7nm which will drastically reduce their power consumption and allow higher clocks inside the same power envelope.
Following.. I have stripe integrated into one of my apps and so far I really like it. No probs in the many years working with this company. I'm happy to see someone from stripe is reaching out.
So the admin link is just a public link with "&mode=edit" added? That ain't going to last long against the abuse :)

Just double the size of the ID and use the first half as a public ID. If you get a full ID, you know it's an admin.
No, you don't end up re-implementing your own, you end up implementing 10% of one. The 10% you need. Maybe it maps rows to objects, but doesn't handle object identity right, because that's not what you need.

The ideal for me is something that manages connections, lets me write the SQL, and gives me easy access to ResultSets, perhaps in the form of an object.

And yes, stored procedures are extremely useful, especially for minimizing chatter between the server and the database. Use them appropriately. (Although I don't see how they are an alternative to ORMs.)
But my favorite pesticide is diatomaceous earth. It's entirely edible (if food grade quality), just dont breathe the dust.

It's basically tiny sharp sand. Doesn't hurt squishy skin, but slices open exoskeletons causing bugs to dehydrate to death.
Some links to prove carbon capture is not just some fairy tale.

>A Canadian company, called Carbon Engineering, has published peer-reviewed findings, which show the process (carbon capture) can now be done for less than $100 per ton. This is a major improvement on current estimates of $600 per ton.[1]

>In 2016, Hollub became the first female CEO of a major international oil company. ... Hollub’s leadership has brought about a change in thinking. She realized that the company’s carbon-capture expertise could be used not just to make profits for shareholders but also to do climate good. That’s why Hollub is confident that Oxy can become carbon neutral, and why she was sitting at a table in Edinburgh, Scotland in November 2018 with Carbon Engineering’s Oldham. As of this year, Carbon Engineering has raised about $100 million, including about $15 million of government funds. Carbon also counts oil major Chevron and mining giant BHP as investors[2]

>Crystalline nets harvest water from desert air, turn carbon dioxide into liquid fuel ... a chemist at the University of California, Berkeley, reported that he and his colleagues have created a solar-powered device that could provide water for millions in water-stressed regions. At its heart is a porous crystalline material, known as a metal-organic framework (MOF), that acts like a sponge: It sucks water vapor out of air, even in the desert, and then releases it as liquid water.
... By mixing and matching the metals and linkers, researchers found they could tailor the pores to capture gas molecules, such as water vapor and carbon dioxide (CO2).[3]

>Net Power, a startup that built the world’s first zero-emissions fossil-fuel power plant in Texas. Earlier this year, Net Power fired up a $150-million power plant that burns natural gas but has the ability to capture 100% of its carbon emissions.[4]

[1] http://www.climateaction.org/news/breakthrough-made-in-lower...

[2]https://qz.com/1638096/the-story-behind-the-worlds-first-lar...

[3]https://www.sciencemag.org/news/2019/09/crystalline-nets-har...

[4]https://qz.com/1456378/occidental-petroleum-is-now-an-invest...
Ok, but in this example the Japanese Americans are not Americans and they traveled thousands of miles to voluntarily join the internment camps.
> And we've never even attempted to hold energy for days or weeks at a time in these large scale deployments.

Wouldn't that greatly reduce the wear rate?
Release of source-code and licensing of said code is typically a very significant consideration for a company like Google.

Even a "C-level" person in the singular sense most likely does not have the authority to approve such a thing. And if you don't have approval, you probably shouldn't talk or speculate about it in a public forum.

Don't hate the player. Hate the legal-liability game.
That's how CNO exploitation works. They generally can't report; their adversaries are recording their own networks, and will retrospectively detect intrusions.
Gee, what about companies that supply things to Planned Parenthood?

There are a lot of people that think PP is immoral (especially given the origins in eugenics). Should employees of those companies rise up and try to harm their employers, too?

For the record, I am against such action. Firmly against. Politics is personal and should not extend beyond your personal rights.
Im Canadian, I’ve read and researched a lot. I thought I knew my country but then I drove across it and realized how little I knew. Experiencing a place, people and culture is imho impossible without being there and present.
They're different things, indeed, and can both be used for public-key crypto. ElGamal uses intractability of the discrete log, RSA uses the intractability of integer factorization. Both are broken by Shor's algorithm on quantum computers.
Yeah, it'd be great, until your clients stop viewing it as a noble thing and start seeing it as a disgusting and wasteful thing. Then your competition will be happier than you.

People's expectations are malleable. It's not easy to change them, but it's necessary and it's possible. And once that happens, the game will change, and it will force you to change your tune accordingly.
> noxious oxides of nitrogen and sulphur

People keep repeating that. Nobody cares about nitrogen and sulfur oxides on deep sea. Good luck trying to even find evidence it's locally harmful to organisms (most likely, it isn't). At the extent that people are against ship emissions, it's about what they emit at the coast, and that is a very small share of that total you cite.

Ships are quite clean of the pollutants that matter. They beat planes on CO2 emission by a huge margin.
Android running on Nokia feature phone
Try reading that Twitter thread and count the number of times he mentions. "I" or "me" in the same sentence about how it's all about other npm employees and the greater community.

This is a textbook example of if (when!) you get let go you should strongly consider an internet moratorium.
All big companies have HUGE java teams/projects.
Its battle tested for distributed systems, has legions of developers who can do any task you ask for. Java is where the big bucks are.
>If everyone who cared about homelessness donated $100 to the problem, homelessness would be solved. Nobody does this, because they know that nobody else is going to do it, and their $100 is just going to feel like a tiny drop in the ocean that doesn’t change anything. People know that a single person can’t make a difference, so they don’t want to spend any money, so no money gets spent.

I wonder if something like the National Popular Vote compact could work here.

It works like this: state legislatures pass a law that says if enough states sign onto the compact to pass 270 electoral votes, their electors are automatically assigned to the winner of the popular vote. In this way, nothing changes and no one has to sacrifice anything until enough states agree to actually effect a change, and then they act together to effectively obviate the Electoral College.

Sure, if I donate $100 to a homelessness charity, it'll feel like a drop in the bucket. But if some charity starts an initiative to take my credit card information and only charge it once enough people donate to end homelessness, I might be more inclined to do it. Either the threshold is reached and homelessness ends, or I get a feeling of altruistic pride for doing nothing. Everyone wins!
It's fascinating to watch first hand, management's inability to properly estimate project timelines. I think it's from a lack of really digging in and solving the thousands of tiny problems that eventually add up to solving whatever larger problem it is the general organization was trying to solve originally.

Instead, I've seen mostly attacking a problem head on which involves a really inordinate about of planning, more planning, some execution, and then more planning. Planning so much, that timelines must be altered to make room for more planning.

That's been my experience though.

I believe the desire to blow through timelines planning instead of executing, is born out of fear and what I call the sensation of movement. Fear because management doesn't want to mess up and miss something important. The sensation of movement causes management to incorrectly perceive work is being done.

At the end of all of this, nothing is done because no one has done any of the work to accomplish it, they've only been planning.
Low hanging fruit, assuming you can afford to purchase a new car. Soooo, not so low hanging for a lot of people.
Same here. Hibernate team had always, even as early as 2003 when I first started using it, advocated for turning on show_sql=true in development. If the code interacting with the DB fetches a table - rows and columns - of data, say for displaying a report, ORM does not buy you much. Instead, if the code converts the ResultSet to entities in an OO language you always end up using an ORM - a hand-rolled one, or an off-the-shelf one. I just don't understand the hate.
This website detects when I move my mouse towards the back button and then shows a "before you leave ..." popup. Creepy.
The clock rate issue isn't the fact that it downclocks a core when moving to AVX512, it's that it downclocked all the other cores on the processor at the same time.
Note that this is basically an advertisement for the author's new book which primarily focuses on the future of reading:
https://www.basicbooks.com/titles/leah-price/what-we-talk-ab...
I would pay for my car to NEVER update without my express approval. That is the definition of "my" - I get to decide how and when it changes. In fact, i think i will do just that. I might pick up one of these ID cars and thus vote with my wallet.

I am no EV fanboy, but this one looks like a practical second car fit for simple short-range missions
This is one of those Drinking Oatmeal Through a Straw articles, where the author projects and forcefully interprets general statements to have narrowly specialized meanings.
Isn't flooding more of an issue in Bangladesh?
That makes sense. I also saw some speculation that it's helped accelerate some vendors' efforts to convert customers to cloud offerings. On the other hand, I saw a very insightful analysis that thought vendors fighting this were being short sighted because annual maintenance can often be upwards of 20% of the initial license, and so recipients of second hand software would still be more than making up for the revenue in the not-so-long term.
It wouldn’t surprise me to learn that this is ultimately due to how little the JS standard library actually does.
This topic pops up frequently here on HN and every time I’m shocked at how many people have issues with ORMs! I’ve been using Hibernate/Spring Data for several years now and never ran into any issues.

Same. Hibernate with Spring Data JPA, for me, "just works". But it's not necessarily the right solution for every database interaction. But for a typical microservice which might have up to 20-25 discrete entities, and few if any crazy complex relationships, I find that I plug it in, extend CrudRepository, write some JPQL queries in @Query annotations here and there, and bob's yer uncle.

If you were writing a monolithic CRM system with 900 domain entities, super complex rules governing the inter-relations between them, and trying to write your analytics queries right into the app, then an ORM approach would probably fail miserably.
I feel like there should be a better term to distinguish an ORM framework from the kind of ORM that pretty much every competent developer uses (a hand-rolled one).

These “you don’t need an ORM!!!” posts always annoy me because even if you don’t think you’re using an ORM, you probably are. You aren’t mixing raw SQL statements into your business logic, are you? Probably not. You’re probably writing wrapper classes that “map” the “relational” data into the “objects” that your business logic uses, otherwise known as an ORM.

But there’s a big difference between that and an ORM framework that generates SQL. Realistically speaking, you _do_ need an ORM in all cases, but not necessarily an ORM framework.
Every single reply to this has validated my decision
Someone who writes that in an ORM will happily write the same loop with sql in the middle.

ORMs usually have eager loading options...
Uh, you are making $100 if someone commits to stop drinking and isn't able to? So you're making money from someone's addiction, you know this right?
How far can you scale interleaved binary searches?
That’s a great idea to pitch. It has the side benefit of incentivizing less travel due to increased expense.
Neat, not having used rails ever, I didn't know about Arel. Speaking about composable sql, I've had some good success with dbt lately. It has a feature where it lets you 'compile' a query out of multiple select models. Now I wonder whether it'd be feasible to use that dynamically, within the context of an application...
Surprised to see no one has mentioned query builders (like http://knexjs.org - no affiliation). All the niceties of not writing raw queries but no abstraction leaks... Although I have found for anything more interesting (recursive queries, etc) there is no escaping raw queries and every developer needs to bite the bullet and learn SQL.
Ramesses II may have been cool, but I doubt he was as cool as Yul Brynner portrayed him.

Absolutely iconic. Nobody today is in Brynner's league.
Is it really unusual to start a business after the hours of your usual occupation? Where is the correlation with inebriation?
I mostly agree, but any time I get into serious historical scholarship it's amazing how much contradictory information there is that is usually left out for the books and stuff targeted at Lay people.

I'm a huge fan of Bart Ehrman for example, and of course anything around religion is going to be polarizing, but he has a long list of contemporary sources that describe the same event with blatant contradictions in them. Flash forward to the modern times and despite having powerful tools like the internet, we still suffer from fake news and honest mistakes. I think the skepticism is healthy, tho I don't take it to "we can't really know anything" (but I concede it may have seemed like I was saying that).
Pieter Levels made this site like 5 years ago as well. It's good to make new things!
Performance and Working Fast