skysight-inc/HackerNews huggingface dataset:
You should learn SQL first then ORM afterward.

Most modern ORM have escape hatch to let you write raw SQL.

Your favorite web dev language will have a dominant ORM. C#, Python, Elixir, Ruby all have a popular ORM that works within a popular framework.

ORM will make working with database and web framework easier.

I do agree with post that querying in ORM can be hard and sometime not possible without raw SQL. Writing query for Ecto, Elixir's most popular ORM, can be tricky when you want to do dynamic query.
The company name should be highlighted in the text somehow; in its current form, it sounds like an eloquent Gollum's internal monologue in my head. I found myself having to re-read quite a few sentences.

"We has gone from unicorn to distressed asset"
> is fine so long as those children have been brutalised into looking willing

Stallman never said "it's fine", He called Epstein a rapist - i.e. indicated it was whoever did the brutalising who is to blame. Also, it was a 17 year old, not a child.
what models are you using to make these guesses?
Nuclear’s capacity factor is a problem because you can’t save money turning them off. If a Nuclear power plant can’t get 90+% utilization that’s a non starter it fails because it’s to expensive. On the other hand you can adjust the time of day a solar power plant gives power by moving it east or west and that 2c/kWh is after taking capacity factor into account.

Nuclear’s problem actually gets worse when operating alongside solar and wind which are dramatically cheaper and drive the spot price close to 0 regularly. Meaning Nuclear is unneeded for long periods. Thus the long term trend is ~0% Nuclear power due to economic issues.

As to photovoltaic capacity factor, nobody expects it to run at night that’s what batteries are for. The only meaningful capacity factor is the delta between average and minimum daily output vs seasonal demand.

PS: Solar thermal on the other hand is simply a boondoggle waste of money.
> ... there is already a method of that: the ~/bin folder.

More power to you if you can do that, but for me it's a memory problem and a problem of being able to figure out WTF options I need when I am in the middle of something.

man pages (and --help) are great if you have the time to sit down, ponder and experiment. But when you're trying to get stuff overwith, a massive wall of historically interesting text just isn't helpful.

The vast majority of invocations of any given command, I suspect, are limited to a not more than a handful of use-cases. In other words just enough combinations of arguments and options to perform a small number of different tasks. This is what people are typically interested in when they're on the command line. In that context getting massive dump of every possible option in a man page is frustrating and counter-productive.

For example, "tar". I use this command in 2 simple ways: archive a directory into a gzipped tar or extract a gzipped tar. This is what effectively everyone uses it for >99% of the time: toggle between a directory and a tar.gz file.

Basically... just 2 forms "tar -zxvf" and "tar ..." oh shit, I forgot how to tar/compress a directory, let's check the man page... ok "tar -cf" to create a tar, but wait I want it gzipped, and actually I forgot what the z, v and f stand for, now I need look each of those up, wait, do I really mean gzip? or bzip, oops more research.

To be fair, tar might be too easy an example but you can easily go down a manpage-rabbit-hole because of a lack of common usage examples.
And the cost of the US defaulting on its debt would be...?
What I was trying (and evidently failing) to say is that a sufficiently powerful query generation system that's designed for people who actually like their database to be able to generate the exact SQL they would've written by hand is essential to the 'mapper' part of the equation being able to smooth out any impedence mismatches between the appropriate object model and the appropriate database schema.

Hopefully that longer answer is a bit clearer than my first attempt.
A handful of far-fetched ideas have added more economic value to the world than every diploma combined. I’m not sure we could even assign a dollar value to crazy ideas like satellites or the internet because the positive externalities they’ve created are so far-reaching.

Crazy ideas a lot harder to evaluate, and a lot riskier, but they’re definitely not less valuable.
If this was done manking would be changed forever.

Note about teaching reason:
Cognitive biases and logical fallacies should be teached too.
> That is, the value of money is increasing.

The value of money in terms of assets has been steadily decreasing.

Granted, most people don't think in terms of assets. It takes a while for asset prices to bleed through to consumer prices.
My employer is paying for really expensive publications on economics for electronics industry.

Some of the best paid economists in the world say to avoid capex with longer than 5 year payback time as rates are almost destined to go up due to multiple strong factors, including emerging markets becoming more attractive investments.
We can add Canada to the list. If Interest rates were to rise just a few percent, it would bankrupt the entire country.
Linux Reader – Access to Ext 2/3/4, HFS and ReiserFS from Windows
But I believe it's more bizarre that Congress has the power to appropriate funds, but then also has the power to deliberately deny payment. The fact that the debt ceiling exists at all is the bizarre part.

There were many parts of this Wikipedia page, the parts talking about how it would be technically legal but counter to our traditions of checks and balances, that honestly seem quaint in a post-Trump era. I don't say this to be explicitly political, but Trump has made it 100% clear he won't be constrained by any "traditions". I mean with defense money being rerouted to pay for the wall despite not being allocated for this, the president directing members of the executive branch to just break the law and build the wall and then say he'll pardon them if they are prosecuted.
Not if you consider the contribution of the taxpayer on behalf of domestic students (and their tax contributions over their future careers).
I also like the idea of free money from government. There seems to be a lot of like minded people who like free money, maybe we should develop a political party around that?
It's only half of the truth. The other half is, the government has to tax you out of your slightly stronger dollar to pay back the loan to the bankers.

Minting the coin only cuts the bankers future profits, which - as it's a zero sum game - benefits the worker class in the long term.
For me it is worth it.

Made a review some time ago https://www.youtube.com/watch?v=W5tIhuk8yAU

Only used to read technical stuff and I have not missed physical books.
While at university here in Australia I was given the opportunity to spend a few weeks in China sponsored by Huawei.

I was naive back then. It was just one massive brain washing exercise where we were taken on a propaganda tour and taught how stupid the Australian government was to not contract Huawei to build the NBN.
This stuff is honestly way over my knowledge but the way I see it, as a renter wanting to buy in the next couple years, if I own a house I am paying a mortgage. That gives me equity every payment. So every month instead of my landlord getting my money the bank will and in the end I own the house so can sell it back. Also owning a house opens all sorts of opportunities a renter does not get. Subsidies to install solar panels and save energy would go to the home owner. If you own a house and want a loan for a car let’s say, you automatically get a better interest rate then me because I am higher risk. There are all sorts of ways owning a house can make or save you money. But based on my understanding of this article the entire value of houses will crash at one point as we can’t keep increasing the costs so when the market finally realizes we have been over selling, the people holding the houses at that point risk devaluation of their home and potentially lost all their investments. Again I am trying to figure what this all means and there are certainly a lot more knowledgeable people here that know more then my layman’s view.
I think we need better marketing and just a handful of very wealthy and highly visible people to invest in those alternatives instead of going into space.

In any case, what really makes space exploration possible today, is military spending. Which means that for the alternatives to become viable, they need to have strategic military applications. Unfortunately.
Simple Web and API Servers with Scala
The 97% of us that didn't go remain ignored so that the 3% can have endless coverage.
> Even if wages are comparable, are other costs of employment, such as unemployment insurance, healthcare, pay roll tax comparable?

At ~23.5% Chinese social insurance (medical, trauma and serious illness, pension, housing fund, maternity, unemployment) costs more to employer than in US, at least in Guangdong province.

This is why I was saying that guessing purely on numbers, lower cost of capital, external risks, taxes, social payments, and somewhat lower wages, USA should be a better place for manufacturing than China
Throwaway account.

Local. TAed (USA nomenclature) 6 instances of 4 courses at top 5 AU Comp. Sci. university. Can confirm professorss of 3 courses wanted to fail at leats 1 student (one wanted to fail half a summer school class: approximately 75 students) and not a single student was ever failed because politics. Very few if any candidates for failure were local students.

Have many contacts, some with Ph.Ds, some who are lecturers in charge of courses now who at least reluctantly admit to this pattern.

Universities have indirect policies that penalise LiCs for failing students. Classic example: every failing students requires a report to management. Why did they fail? What is your proposal to prevent this type of failure from happening in the future?

When the reason is: how the hell did they get through the prerequisite course (presumably because of the same political pressure) you are met with: they met the prerequsites; you are applying unreasonable expetations on your students.

The entire reputation of the univiersity is for sale. How long can it last? If recent history is any guide, a long time. Let's find out.
That might be true but I'd still want a source on that because the assertion makes no sense: aside from the value-returning property, all the overlap between dbg! and Debug.Trace is already covered by println!.

And as far as I can see Debug.Trace doesn't contain anything like dbg!: the closest would be traceShowId, which neither shows the traced expression (before evaluation) nor the location information.
Interest rates are being set/managed by small technocratic committees in pretty much every country I've looked into. I'm a cynic and I don't believe they are as politically independent as most claim to be either. Interest rates set in that manner don't indicate anything about the underlying real economy.

EDIT And as I'm arguing elsewhere in the thread, they measure inflation and it is positive.
From the article: the Eidophor was 80 times brighter than CRT projectors of the time.

Presumably because it was a modulator of an independent light source, rather than the source itself.
I mean you could just render it differently on mobile, or at least not with such a tiny bounding box. Its not impossible.
Depends on the size of the bank. I know someone who needed to borrow "just" a few million to purchase a warehouse and I think 3 local banks had to pool up the money to lend him and to spread out the risk. Sure for a giant corporate bank that's literally nothing but there are still small banks all over the country which have relatively little capital.
Not identical example. But Elon Musk was born in South Africa. Far from Syria, but still not a major world economic Center.
Stronger Security with Terraform Module for AWS Landing Zone
> the point is advancing the progressive no-borders agenda.

HN isn't really the place to share conspiracy theories that are completely unhinged from reality.
WE instead of We would help a great deal. Had the same issues the last four articles I read.
To be remembered as the Umbrella Revolution.
LOL. I don't think you're being completely honest.

From your reply, it would appear you are also upset and want to defend someone who's upset about an article that has a gushing review of an Apple product.

Apple is just one of those companies that is very divisive within the tech community - for some reason or the other.

I could make an assumption that you're another person who is 'annoyed' by the existence of Apple. But I won't.

So you question my sanity bc I question why the OP was upset.

Maybe you're just annoyed by existence.

So why are you mad?

grabs popcorn
While the economics dogma may agree that this is true, I imagine many people have a hard time swallowing the idea of this never-ending of printing free money and giving it to the banks and government.
Software Automation – My favorite programming language
They call it seeds of the future:
https://www.huawei.com/au/press-events/news/au/2019/huawei-a...
> But not curious enough to expend any energy on it

and that's exactly why you miss out on nightly dreams!
> and being vulnerable to a drop in house prices

And there are no financial constructs to spread the risk?
Well, Trump promised to restore rural American culture and way of life, to stop the change, reopen the mines, bring back the factories and the jobs. To turn back the clock on globalism and the leftist regulations which (as far as many such people were concerned) were the real reasons for the rural economic downturn.

He's a charlatan, though, and everything he promised was impossible, but conservative people by definition don't want change, culturally or economically, and "Make America Great Again" as a slogan means "turn back the clock to when the world made sense to us."

The Democrats, meanwhile, represent the very change rural Americans want to avoid. They embrace globalism and progressivism and multiculturalism. They want people to look forward, not backwards. But, looking forward, rural Americans only see their own relevance diminish. They don't want to live in a world where the government has to take care of them because capitalism has determined that robots and Chinese children are a better ROI than American labor, or where labor doesn't mean something.

But they will have to live in that world. We all will, in time, whether we want to or not.

Add to that decades of propaganda training Americans to associate the Democrats and progressivism with neo-marxism and atheism, that a social safety net is only for the lazy and indigent, that the "dignity of an honest day's work" is a thing that exists and matters, and it's easy to see why the Democrats' message falls on deaf ears. It's not even an entirely economic argument at that point, it's economics, culture and religion.

Corporate interests have successfully convinced rural voters that socialism and regulation are the great moral evils of their time, even though it's capitalists who exploit them and send their jobs overseas, in the name of the very values they espouse, and even though rural areas often depend on government subsidies and programs.

Trump's populism doesn't work because rural voters are stupid. It works because it appeals to people's fear about the future and their sense of being personally wronged by that future, on an emotional rather than intellectual level. You don't have to be stupid to fall for that, you just have to be vulnerable, it's a basic long con.
Fewer and fewer opportunities are made available by those who hold the keys to the gates.

Measured how?
The underlying DOJ review is addressed here: https://www.healthaffairs.org/doi/10.1377/hlthaff.25.w74

The 12-13% was unsecured debt (which would exclude mortgages, which are secured by the house).

> This past year, the U.S. Department of Justice (DOJ) responded to a request by Sen. Charles Grassley (R-IA) by examining 5,203 bankruptcy cases from the files of the U.S. Trustee Program. The filings occurred between 2000 and 2002, the same time frame as the filings studied by Himmelstein and colleagues. The DOJ reported that 90 percent of filers had medical debt of less than $5,000. Of those reporting medical debts, those debts accounted for only 13 percent of total unsecured debt. The DOJ summarizes the evidence against Himmelstein and colleagues' thesis as follows: “The conclusion that almost 50 percent of consumer bankruptcies are ‘medical related’ requires a broad definition and generally is not substantiated by the official documents filed by debtors.”

The study is a little old, but the “medical debt is the leading cause of bankruptcy” trope is also old.
In fairness, you can have the glass frosted
i feel like i'm back on 2004 lj
Geekbench’s usefulness aside, I think it’s pretty safe to say that the A series has surpassed x86 for the ultraportable laptop chip.

An ARM MacBook would be a kickass machine. I actually hope they don’t release some sort of emulation layer like they did in the previous transitions. We don’t want to be spending battery with that when the tooling these days is much more homogeneous and high level.

It’s also very tempting to speculate what they would be able to do with a larger, 40 something watt budget.
Not everyone can afford to be seen failing.

Perhaps. There are also a lot of people who think they cannot be seen failing and very well could.
https://www.inflation.eu/inflation-rates/denmark/current-cpi...
A website coding itself live
Cross-Lingual Contextual Word Embeddings Mapping with Multi-Sense Words in Mind
Or just distribute the verification work to a local level where theft of one set of names is only locally useful.
I like how some websites format company and person names in a very specific way. Either like [We] or having them bold or in a different colour. Especially in this era of “name your company after a really common daily-use word for maximum confusion and ungoogleability!”.
Anyone have a quick summary for the paywalled folks?
It always takes 10% more than the developer's estimate, even if he added 10%.

(I say 10%, but my estimates are usually 100% under, even if I added 100%)
Ding ding ding. That’s exactly what he was quoting. So, how does one counter this?
What happens when SpaceX moves in next door
yeah but long term treasury and investment-grade medium duration corporate bonds are still yielding 2-4% . Ppl thought bonds were expensive in late 2018, and now in 2019 LQD, a bond etf, is up 15%.
Touché. I did think it's about the asset class as a whole and didn't bother reading the article because it looked like something as useful as a "are we in a recession" clickbait.

But that isn't surprising either, on a long enough timeline everyone's survival rate drops to zero (hence most individual stocks die, eventually). Also, stock returns are Pareto distributed, which means that a small fraction represents the majority of the gains (hence there will always be massive outperformers that dominate the space). Nothing surprising here.
Paper ballot, people counting.

There cannot be a black box in a voting system.

It works perfectly well in the UK and is literally impossible to hack because all the candidates are in the room with the people counting the votes. There are also two people with the votes (in a sealed bag) at all time during transit
I taught a Masters level Enterprise Architecture unit at Swinburne University for a single semester and concluded that the system is designed to pass students. Specifically, my advice to employers and recruiters is to discount science and technology degrees by at least a single grade i.e. high distinction is really a distinction, distinction is really a credit, credit is really just a pass, and a pass is actually a fail.

A decade earlier I had graduated from a Masters and had such a great experience as a mature age student that I vowed I’d try my hand at teaching if the opportunity arose. When the opportunity came, I was excited, thinking I’d experience the same kind of mature, engaged and discursive sessions that I had as a student. Far from it. A handful of my students turned up consistently and at least made an effort. The rubric for the assessments were designed to make it almost impossible to fail. Out of my cohort (27 students), I would be comfortable hiring 2. There was one kid (that passed, barely) who I wouldn’t hire as a cleaner because he wouldn’t know which end of the broom to point at the ground unless someone told him.

It was incredibly disheartening and I can’t see myself ever doing that again.
You plot them as ROI or other normalized value, eg by dividing the price of the stock by its initial value.

Then you can compare two stocks by looking at their return at T1 relative to their price at T0. This solves the problem that you’re better off investing in a $5 stock going to $10 than a $100 stock going to $115, since it normalizes it to 1 going to 2 and 1 going to 1.15 respectively.

For switching you may need something more complicated, like looking at the price at Tn divide by the price at Tn-1.
What we're really paying for is the armies of data entry and clerical workers that have to back up every doctor in this country because they are in a constant arms race with the insurers about getting every claim paid. Compare any medical practice to just about any tech firm these days. My company has one office administrator taking care of 30 keyboard commandos. A typical medical practice has more than one clerk per doctor.

This is not normal. Go to any medical clinic in Europe, and it's no different from the tech sector. One office admin, lots of doctors and nurses.

And it's not cheap either.
And I think more important than the places not being held constant, the people weren't held constant either. That is, people move. Many of these more rural areas are basically seeing a massive exodus of young people who are moving to cities and other places with more opportunity. The people staying behind are then those who are older or those who find it difficult to move, or those who don't have the ambition to move in the first place. So the self-sorting then only accelerates.
I thought previously that Yoda's speech is an emulation of anastrophe frequently seen in poetry. However, as the post article notes, generally the OSV order is barely ever seen in languages.
Isn't Peter Thiel doing that with the Thiel Grants? Pretty successful so far (projects Ethereum, Aragorn... founded by grantees).
Show HN: Best of Show HN
This reminded me of a more traditional (but focussed on efficiency) 100% self-build (and design) that I've been following for a while, but since the last infrequent update I seem to have lost it.

I don't suppose that's familiar to anyone else? I expect I saw it on HN in the first place, the URL was something focussed on the efficiency/climate aspect, though most of the content (and to be honest what I was interested in!) was just generally applicable how-to/DIY for each step.

Edit: Ah! I found it: https://www.savingsustainably.com (I wasn't quite right above, I suppose perhaps the efficiency goal is a product of 'FIRE' rather than climate concern). And some more update since I last caught up with it, excellent.