skysight-inc/HackerNews huggingface dataset:
The PHP ORM Doctrine supports a custom SQL like language called DQL that integrates your defined model/relationships as well as converting it to the correct SQL dialect for your backing store.

Queries look like:

SELECT u FROM ForumUser u WHERE (u.username = :name OR u.username = :name2) AND u.id = :id

Where ForumUser is your model.

https://www.doctrine-project.org/projects/doctrine-orm/en/2....
HUD spends most of that $40B on keeping people housed. Most people receiving HUD benefits, directly or indirectly, aren't considered homeless. If they were then your denominator (# of people) would be much larger and therefore expenditures per person significantly lower.

EDIT: 10 million people receive federal rental assistance, which AFAIU is basically what the $40B reflects. https://www.cbpp.org/research/housing/federal-rental-assista...
> First, we should expect ordinary people to donate more to politics.

My mother donated once to some Democratic volunteer who came to her door. They hounded her for more donations. She got mailings, phone calls, multiple people at her door. She vowed never to give them another cent.

Perhaps an unusually bad experience, but generally you do get punished this way for donating. I emptied my grandmother's mailbox when she became ill, and due to her charitable giving, it was absolutely crammed with political and charity mailings.
This comparison is only apples to apples if exact same content can be filtered. If you lose some filtering due to the added restrictions on blockers, the page may load more resources (in particular, javascript), easily negating any CPU performance benefit.
Assume the firmware is written in C, first. That makes your question moot by definition.

Thanks.
Sometimes you just should live with duplicated code. It's OK.
I personally run AMD at home, but in all the benchmarks I have seen, Intel wins by a large margin in AVX enabled tasks - often double the speed. Downclocking did not seem to be a factor here.

I think saying that Intel wins in AVX tasks is absolutely fair.

For example, I had a simulation that had to run on the CPU for reasons, but made use of AVX. Intel was consistently faster on any system I tested.
At least vw offers a dashboard AND the option of a Heads Up display.

The lack of a dashboard (in the line of sight) is the reason I did not buy a model 3.

I actually like the large display in portrait mode in the model S. I do not like the UI though. You fiddle with controls to the side and down while driving. I cannot imagine the design came from people driving a moving vehicle.

The giant horizontal display in the model 3 is difficult too. The near part of the screen is for speed and other status. So for controls you will be fiddling WAY off to the side.

Maybe with competition all the cars will improve.
I believe GP means because if transfer is allowed, it'll happen at the expense of 'new' sales, which hurts developers/studios/publishers as much as it hurts Valve, so they adapt model to mitigate and sell subscriptions instead of perpetual licences.
I've never encountered these problems.
But you shouldn’t live with a hand-rolled pseudo ORM that stumbled into existence when there’s developed alternatives
Is there any technical reason for limiting the charge rate unless you pay more? I see this is becoming common now. Even Tesla does it.

I'd be willing to settle for the smaller battery as long as charging it was at the same higher rate. Sure, charging sessions are more frequent during long trips, but if you're charging a smaller battery at the same rate then the charging sessions are shorter. So it seems like they're just trying to get more money out of you by limiting the charging rate of the low-end cars.
What’s new in civic tech: National Day of Civic Hacking
I don't understand your point. It doesn't matter what the language is: JS, Lua, Python, C++ or even Rust. What matters is the API the extension has access to: tab URLs, web requests, storage, network, DOM read only or read write. Just like in mobile apps: it doesn't matter what language it's written in. It only matters what system apis it has access to.
Have you not seen the protests today? Hello?

The last thing they need is money as that will lead to increased consumption or even increased population growth!

This is a climate EMERGENCY so we should limit their ability to gain money, not ease it
You're not doing anything with it then. JPA is a relic that slows down productivity. Give me JDBI any day and I can get things done 10x faster.
If cars are to follow synthesizers, the next step is a Eurorack-style modular dashboard where you can fit instruments and controls from a wide variety of vendors that adhere to some basic standards and interact mostly via analog voltages.

Re-patching your dash while you're driving is probably taking the metaphor a bit too far, though.
Technically, they are not political contributions. They are donations to non-profits like Americans for Prosperity. Legally a non-profit can use 49% of their money to influence elections directly and the other 51% can push individual issues that are very politically charged.
To fight ‘evil’ ICE, an engineer pulled his code off GitHub
So in my limited understanding, the exponential distribution popular because it's very easy to work with -- you can actually analytically solve some queueing problems, for example, that wouldn't be possible with other distributions.

But power-law distributions show up over and over in things that people here care about: file size, network traffic, process lifetimes, etc etc. In these cases the exponential will drastically underestimate the fat tail.
It's a thread running through the article that the big thing about merge is that it is hierarchical and not sequential. e.g., see the following passage from the article:

>> [Merge] applies to discrete units of language (words or their parts). It combines these, not sequentially, but hierarchically.

Or the paragraph at the start where human language abilities are contrasted to bonobos' and chimpanzees' and deep learning models' sequential processing; etc.

My knowledge of Lisp is rusty, but as far as I remember it cons is a list operator that joins the head to the tail of a list (like the "|" in Prolog). So it imposes an order - on a sequence. Apologies if I misremember this.
> The question is, whom do you trust, and who bears the greatest consequence of failure?

I'm going to trust uBlock Origin because it is free open source software and I can see everything they are doing with my data. Apple on the other hand forbids reverse engineering safari (trying to understand what it does and how it works).

Once you're a part of the apple eco-system apple could theoretically (and to be clear we're talking about purely theoretical privacy risks in all cases) access your browsing history and also tie that directly to your name, address, credit card/bank account, GPS coordinates, etc.

Putting your privacy in the hands of a company that has so much of your data already is naturally more risky than compartmentalizing. If hackers somehow compromise my browser extension they get access to my browsing history on one device until I notice and correct the problem. If a hacker somehow compromises Apple they could get access to much much more. For all their care and resources Apple is not immune from attacks either. Safari has had a ton of vulnerabilities exposed just this year so far.
Uber has significant traction in Europe, thats why they got banned from several places, and Taxi cabs drivers have attacked people and set cars and places on fire.

Nevertheless globally it triumphed.
Large-scale representation learning from visually grounded untranscribed speech
Programmer without anything in particular to prove: hey, I already know SQL, and ORMs create queries "under the hood" in ways I can reason about and control, so I'm going to use this ORM in a way that doesn't involve just throwing objects and tables together in a big pile and mooshing them all together with duct tape.
Agreed. As for reference materials, you missed the key point that they tend to go out of date. An outdated reference book is largely useless, in contrast to a good novel.
One of my favorite movies of all time. So much so that I own it in Blu-ray and when I visited Vienna I took a ride on the famous ferris wheel.

The night images are amazing and they spent so much time spraying the streets every night with water to get that look.

I'm also so glad the director fought hard to avoid the typical movie score that was pushed by Hollywood producers and went for the iconic sound of the zither [0]. Which all happened by accident when Reed was having a dinner and hears Karas playing the instrument. The choice of this instrument not only made the movie but also change the fortune of Karas who was playing the instrument [1].

Along with the best improvised movie lines which I would include the Bladerunner I would also include Orson Wells' line about the Swiss and the cuckoo clock.

As a bit of a movie buff, I have to agree with Soderbergh's comment about the movie keeping the consistent tone. So many movies with great potential lose their tone and miss that quintessential part of the movie that makes them a classic. The Third Man is a classic and should be a must watch on anyone's list who likes the cinema.

[0] https://www.youtube.com/watch?v=2oEsWi88Qv0

[1] https://en.wikipedia.org/wiki/Anton_Karas
I think a lot of this is just some weird expectations. You cannot _use_ a database without knowing sql. ORMs work great, but you have to know sql to use them properly. What if you want to load a relationship with a join? What if you want only to load certain columns?

I would consider part of the profession to be knowing sql. This whole "orms are bad / long live the orm" split attitude is ridiculous. ORMs are fine. Some orms are bad, just like some code is bad, and some frameworks are poorly thought out. I have worked with developers in the past, who I _desparately_ wish were forced to use a good ORM like ActiveRecord, so that they could understand just how far you can get with a solid and good pattern. I've also worked with developers in the past who used an ORM like a 15kg sledgehammer, and had absolutely no idea what was going on.
>as long as they get their abortion bans.

I disagree that the Republican party as a whole wants an abortion ban. The Republican party had control of the House of Representatives, the Senate, the Presidency, a large chunk of the Judiciary and 5 Supreme Court seats. If they wanted an abortion ban as much as they repeatedly claim they do, they would have it.

If Republicans couldn't run on promises of banning abortions anymore that would substantially impact their voter base. Actually following through on that promise seems a bit like sawing off the branch you're sitting on.
Which is same as banning ad blockers. With the declarative API you can't know what domains this website connects to and you can't prevent it from connecting to bad domains. Moreover, trackers and ads can choose a random domain to completely avoid any blacklists.
Your assumption that every single homeless person will need assistance is wrong. Most homeless people are fine, they just need help getting back into society in a normal way. There's a metric ton of research on this, but people of privilege seem to think that it takes some kind of enormous negligence to become homeless in the is when it's absolutely not the case, an illness or a divorce will do for most folks.
That's why you use something like SQLAlchemy that gives you all the good parts, but lets you painlessly drop down to native SQL when you have to.
Stripe really sucks for this and it's discouraged me from using them in the future. That said, small gyms are likely a high risk business for charge backs because despite how well you run yours, many of them are predatory or scammy or generally just awful.
Sending a Spacecraft to Interstellar Comet C/2019 Q4 (Borisov)
Source or it didn't happen...
Recent discussion:

Unison – A statically-typed purely functional language

https://news.ycombinator.com/item?id=20807997
Unless you have people making multiple layout changes at the same time you shouldn't have collisions. It's 2019, you don't need to lock an entire DB to make changes to tables. You can sync those changes while content changes are being made if you so choose.
Bill Gates on his crazy early days at Microsoft: We ate powdered orange Tang
Thank you! You just said something I very much agree to but never dare to say out loud.
Yep. Pick your poison.
I agree with improving inventory with dense housing. However, where I disagree is that it can meet availability for everyone who wants to live here both now AND in the future. Sure, we might be able to generate enough space in the near future assuming the NIMBYS start losing legal fights, but demand will almost always outstrip inventory unless your population and economy start shrinking.

Remote work is still a good tool because it requires no extra upfront costs or slow to pass legislation; it can be done right now to offset demand of a scarce finite resource: living space. Moreover, it doesn't have to eat up new land. I would imagine it could help revitalize urban centers such as Detroit and other cities in the Rust Belt
You can look at binning statistics for non-avx/avx2/avx512 clock speeds:
https://siliconlottery.com/pages/statistics

For example, the worst 7980XEs do 4.1/3.8/3.6 GHz for each of these respectively. 0.5 GHz down clock isn't too bad.
You can change these settings in your bios however you'd like on the unlocked CPUs (ie, the HEDT lineup + W3175X).
I do find those down clocks are necessary; I've passed 100C with a 360mm radiator and roaring fans. AVX2 loads don't get anywhere near that hot.

But for all that, I do see a substantial benefit on many workloads from avx512 -- at least 50% better performance than what I'd get from avx2.

I definitely think it's nice to have, especially if you enjoy vectorizing code and looking at assembly. With much bigger performance wins on the line, it's more rewarding and more fun -- and you have more tools to play with, like vector masking (unfortunately, gather/scatter have been disappointing).
Fun or not though, if you offer me avx512 on one hand vs twice the cores with full avx2 for the same price on the other, I'd have a hard time rationalizing avx512.
Even more amazing when you compare it to Intel with a p/e of 11
I just need something that takes the result from the query and puts it in a language-compatible data structure.
I have experienced similar with charity giving and donating to my alma mater. It was shocking.
What I find missing with ebooks is a sense of 3D space.

With a paper book, my brain seems to tag my memories of sections and scenes with how far into the book they were and where they were on the page. If I need to refer back to some earlier section when reading, that tagging lets me find it quickly.

With an ebook I don't get that page tagging, and also depending on the format and the reader might not get position on the page tagging.

For some ebooks, the ability to search by words is enough to make up for this, but for a lot of books I can find a given previously read section much faster and easier with the paper edition. If it is a book where I am likely to have to go back frequently, I'll probably get the paper edition.

Perhaps someday they will be able to make a thin enough display that someone can make an ebook reader that has a hundred of so screens bound together like the pages of a book. That would be awesome.
Based on the economic and social data coming out of China, it really does seem like China is going down the drain though (shoddy skyscrapers collapsing, massive economic slowdown, visas not being renewed out of retaliation, biometrics used for ethnic cleansing [which was covered by NPR], Americans being detained with frivolous cause).
If you haven't read that post, it's worth reading in its entirety. The title is not the entire argument.
Why do y'all hate Intel so much?
Tangentially related, but I always thought this scene from Inside Out was such a clever personication of memory: https://youtu.be/E9NMUGhJ7FE
Tbh you could easily claim that the explicit goal, mapping to objects, is incorrect.

The real value is to reduce the damage of the SQL language itself — the unnecessarily ordered clauses, the arbitrary inconsistencies in syntax, the worthless parser errors, the lack of any static typechecking — which cause so much code bloat and debug headaches.

There are two reasons to use the ORM: to not learn SQL, and to generate SQL.

The first reason is the commonly provides one, and what leads us into vietnam. The latter is why people try to avoid ORMs, yet find themselves back in vietnam.

What we really need is a less shitty version of SQL.
That's starting to happen now in Paris: https://uk.reuters.com/article/uk-france-paris-pollution/gre...
The product I work on has a search experience similar to Airbnb's. We initially made the choice to show all-in prices on the initial search screens. Bookings TANKED. Guests called in to complain why our listings are "more expensive on our own site than Airbnb" (they were cheaper at the end of the day, but we weren't hiding fees).

End of the day, we had to switch to Airbnb's fee-hiding style because users are trained to expect the hidden fees.
Honestly, unfortunately: same.

Nearly every time I've donated to something political, it's come to bite me in the ass. Donate to a candidate? They sell/give my info to related PACs and groups (and there's no stopping it, because it's considered political speech to solicit for donations). Last time I gave money to one of the fundraisers with vests that hang around downtown, my credit card got charged at an eastern European online retailer.

I feel the only real way to avoid this is to donate through an anonymous vehicle, but I believe anonymous political donation vehicles and everything that came with the Citizens United decision to be at the core of the rot in our system.
It's not uBlock Origin they're concerned about, though - it's all the other random extensions out there that could use the same capabilities for evil instead of good.
It's orthogonal and I'd rather not clutter or derail one of the most interesting threads I've seen on HN, wrt these details of repo operations.

I'm still of the mind that liquidity in effect means, "no buyers or participants," because banks have doubt about the stability of their counterparties - with the possibility that liquidity just isn't available at a suppressed interest rate. Even though the Fed rate and the overnight rate are different beasts, I'm asking by assertion whether the Fed rate is affecting the overnight rate, which is causing the liquidity problem because of the underlying idea banks are worried about what's on their counterparties balance sheets and they aren't compensated for it in the overnight rate.

I shouldn't have included the startup joke, as I think that clouded it.

I'm suggesting the liquidity problem is an unexpected knock on effect of the fed rate suppression due to the geo issue that forced their hand on low rates. The geo issue I was thinking of has been deferred for the moment, but for this discussion, the real question is whether there is a domestic issue where the banks are worried about each others stability.

If competent people are sure it's just Q3 taxes and an artifact of the business cycle, this thread is still really valuable.

To say it's a play by Mnuchin to kick start another round of QE would be consistent with the geo issue, but we're well into wagging the dog conspiracy stuff at that point.
You read his comment backwards.
Google are between a rock and hard place, for sure!

As someone who isn't a corpsec/IT practitioner, though, breaking uBO is literally the most important impact of Chrome's Manifest v3 for me.

I wouldn't mind if Google incorporated uBO as a first-party component in Chromium while applying the restricted policy to all other extensions! Most purported adblockers are crap, if not malware. Pick the best one and restrict the rest.

Unfortunately, I doubt an advertising company is going to incorporate uBO in the browser they provide for free.

I totally buy that breaking uBO isn't Google's goal for Manifest v3! It just happens as a beneficial side effect.
OK, I think I see why we're seeing this differently. The only way this actually saves energy (instead of merely money) is if, later in the future, you would've actually wasted the heat that would've be produced if your initial goal had been computation. In that case, yes, it's true that doing the computation now and using it for heat is better. My assumption was that you would be already using any heat you generate from computation for heating regardless, so it didn't make sense to me that, in other situations where your goal is only heating, adding computation to the problem would save any energy.

(Sorry this is complicated to explain, I hope it makes sense. Regardless, I get your point.)
Somehow I feel like poor people in Kenya are not the primary source of overconsumption. And giving people more money decreases population growth, it doesn't increase it.
AR is the gold standard. AR + extended gem + Arel covers almost 100% of the problem space. For everything else, use views or set returning functions and wrap them up in AR.
> They can be identified by their independent-bookstore tote bags, their “Book Lover” mugs, or—most reliably—by the bound, printed stacks of paper they flip through on their lap. They are, for lack of a more specific term, readers.

Is there some hidden irony in the pointlessness of this paragraph?
The typical language people use is imperative language where you state how to do something, while sql is a declarative language where you say what you want.

Since we are in the world of analogies, using an ORM is like taking a shovel and using it as a prop (without speaking) to explain excavator operator where to dig, how deep, how wide, what things to avoid etc. Except querying a database can be much more complicated. You might be successful with some simple tasks, but it will fall flat on more advanced things.

Anyway perhaps if databases would expose an interface and allowed you to directly write a query plan then that wouldn't be so bad? But then many people would complain that you need to know a lot ot use it, and also based on data your plan for the same data might need to be different to be fast.
Not really. For $10k, I got a car in really good condition with ~$60k miles, and most cars don't have issues until at least 100k miles, if not closer to 150k miles. My car has ~120k miles right now, and I've done very little aside from getting oil changes and having the factory service around 90k miles.

My car cost ~$20k new, and I could sell it for $3-5k, so I'm already ahead if I sold and bought another $10k car today.

Buying a new car only really makes sense if you're really interested in cutting edge technology or are very particular in the options you want. You can't really get a reasonable electric car used, so new is going to be your best bet there. However, you will pay more than if you buy a quality used car.
> when we need to fix shipping first.

Yes, lets only focus on one problem at a time, right? We are only one person after all.
If you had billions to lend you could get access to the market too.
Ah, I think I get it now. So you could reject deployments for oversubscribing resources or using unsupported docker repos, as some contrived examples.