skysight-inc/HackerNews huggingface dataset:
That’s a little depressing.

Another case I keep running into is people generally using the address for sales from HN. The worst culprits are recruiters / agencies using it on Who’s Hiring when I explicitly say “no recruiters”. I’ve simply politely told them it’s our of order and then restrained from naming and shaming them...so far.
Maybe he's up to some more shenanigans here?
> While many many of the big players (VW, Toyota, Honda, etc.) are going to match specs when it comes to battery range and whatnot, I haven't seen any indications that any of them intend to follow suit with the software.

I'm hoping for the opposite, a return to basics, reliability and separation of concerns, not 3 billion lines of code running every single part of the car with a transistor - sure electric engines need some fundamental low level software and computer, and you can argue it's more fundamental to the engine than modern ICE computers.. but the whole infotainment center hub network bullshit, I'd really rather not have it all tied together, give me the machine, and independently some electrics like windows, mirrors, radio... if there must be a media center, at least make it separate from the computer that makes the car operate.

... and if you hadn't guessed, i'm obviously not an autopilot/selfdriving proponent so I don't care about that argument for integration.
If the argument is that it's the right tool for simple jobs, then by definition it won't save a lot of effort.
Totally agree on the first pattern.

For the second, I don't see how skipping the ORM avoids that duplication. Presumably you still need to map your database fields to object attributes.
ORMs have taught me to not rely on ORMs for critical storage. I have one product that uses ruby DataMapper. With my particular product (embedded industrial equipment) it’s terrible. I have to constantly fight it to correct MySQL problems.

If they had just used basic sql it would be much easier to refactor.
> if you need to know SQL, just use SQL

Are ORMs leaky abstraction? Absolutely. Is this the reason to avoid them? Not even slightly. ORMs provide plenty of ergonomic benefits over SQL.
There is some progress in applying wind power to shipping (other than the traditional fixed sails) - https://www.ship-technology.com/projects/msbelugaskysails/

The German company SkySails has been working for years on kites that can reduce fuel use on large ships. I think at some point we'll see alternative (renewable) energy taking over shipping as it is gradually taking over other domains.
Time and time again you will poop projects promise utopia but fail miserably.
I try to be concious, I cycle to work or use tram if I can't cycle. I'm vegan and I also use Project Wren to try an offset what I can.

However, my wife is Chinese so of course she wants to see her family once a year. That means at least four flights. However we usually take the opportunity to travel whilst we're in China which adds another two flights each.

To balance this, we usually try to holiday in the UK when we can, which of course means we don't need to fly.
Thanks. I haven't checked, but I'm hoping it would be simple to add support for using PostgreSQL and/or MariaDB/MySQL since I found that Sqlite doesn't support some constructs of SQL (I can't remember what they were).

The big advantage of sqlite is the lack of static types for columns. I can just add numbers without explicitely typing a column as being numeric.
Ensime Project Shutting Down
Speaking of crafted and amplified rhetoric, let's get back to Barry Crist's justification for allowing Chef to continue to due business with ICE.

He invokes principle to seem high-minded, but his guiding principle is not patriotism but profit. He is merely hiding behind patriotism.

All I am doing is drawing upon literature (I am using the term loosely, but I suspect it is probable that more HN members have read The Fountainhead than the Iliad) to show that being able to live with yourself and the uses to which your work is put is more important than seeming "professional" or "reasonable".
No. I actually looked at reverse engineering it a few years back. If you pull apart their drivers you can figure it out pretty quickly (there's actually two different ISAs, the main shader cores and a tiny little RISC esque core that marshals work for the shader cores).

But their driver/software complexity is super high to even get a triangle in a buffer or run a compute job. They have a RTOS looking microkernel running on the shader cores, and there's a ton of caching and MMU setup you have to do from the GPU side (not the main app processor). And there's a lot of caching hints and hacks that are hard to work around if you don't know the context (a lot of tables for bug reference numbers and special cased code depending on those)

If anyone from Imagination is listening, the open source community would still love your help in supporting these chips. : ) They're really pretty inside, and the world should know about the good work y'all did!
The comments on this thread have made me happy
I think what this points out, which may be counter-intuitive, is that if there is sufficient complexity in the project that has driven it to be late, there is likely hidden complexity that will push it even further.

Complexity grows exponentially (a graph of inter-relationships) and so even cutting a feature isn't enough to curb the ballooning complexity of an over-scoped or poorly estimated project.

I could be projecting from past experience ;)
Threadripper 1000/2000 (and corresponding Epyc) were true NUMA: each chiplet had IO for PCIe and memory onboard, and each die handled part of it. Thus you have "near" and "far" memory like a traditional NUMA.

On Zen2 everything goes through the IO die. In a sense this means everything is "far" now, but it is uniform, and performance seems to be very good despite this (perhaps due to the insane amount of cache meaning less need to hit memory as frequently).
If you're only mildly curious and don't wish to invest much then you might consider urine test strips. Very cheap, but the reading is also very vague also. However, they will let you know if you have a problem or not.

https://en.wikipedia.org/wiki/Urine_test_strip
Another good example of a freemium browser extension is Grammarly. Browser extension certainly can be monetized in an ethical way. (Note: I never used Grammarly myself, just seen the many ads)
A friend of mine wrote:

"I don't know whether you recognized the name of the author. He is a well-known aviation writer and journalist, and the son of Wolfgang Langeweische, author of the book Stick and Rudder. Stick and Rudder has been the bible for pilots of how planes fly since its publication in the 1940s."
> Yes, but those plugins will now require more expansive permissions requests when enabling them, correct?

If history has taught us anything it's that forcing users to agree to allow access in order to get what they want doesn't stop them from doing it. Especially when programs apps and extensions are required to ask for broad access to accomplish even the smallest tasks that the warnings become meaningless noise. If I want ads blocked and I trust a company enough to install their blocker I'm not going to uninstall it just because it needs access to the content I want it to check over for the presence of ads. No matter how many warnings I get or how scary they sound I still want ads blocked.
You're absolutely correct. I've spent about 3 months of my life in China. During that three months, my father-in-law was pulled over while the police checked the trunk for a local suspect in a quadruple homicide that day.

This quadruple homicide was not reported on the news, likely for "social harmony" reasons as you mentioned. To me, this makes their external reporting of public safety quite untrustworthy (ironic, considering the video linked by OP).
There’s a good subreddit which focuses on the boring dystopian subject. Highly recommended if it’s your type of subject matter.
IIRC it's free. You might need to opt in.
https://en.wikipedia.org/wiki/Wassily_Leontief#Affiliation_w... . <- 1949 from Leontief
From what I've read, it really depends on the street: https://bit.ly/2W180G3
> A world with greatly reduced air travel is a more insular and less understanding world.

That's dubious and far more benign than the consequences of a world with climate change.
Funny or Die Finds New Life in the Streaming Era
> provide a signed affidavit--with a real signature on it

They really are becoming desperate.
If you read a little more, you would have seen that it was a case of union busting (which is illegal) that was taken by NLRB. It is just part of what happened.
I got the same. Good times.
Each time I see someone complain about ORMs I remember Greenspun's tenth rule[1], which adapted to ORM would be:

"Any sufficiently complicated program contains an ad-hoc, informally-specified, bug-ridden, slow implementation of half of a decent ORM."

ORMs are hard for a reason. Using an ORM doesn't mean you can't or shouldn't use plain SQL where the situation calls for it. You can mix and match perfectly fine.

[1] https://en.wikipedia.org/wiki/Greenspun%27s_tenth_rule
Edit: typo.
Rivian's New Amazon Delivery Vans Look Adorable
> For ages, friends, family, and colleagues have lent and borrowed from each other, but what differs today is a lack of reciprocity. In peer-to-peer credit, everyone is eventually likely to be a debtor and a creditor; terms can be reworked according to timelines and margins that are subject to negotiation. In contrast, the fintech industry envisions ordinary Kenyans as first and foremost borrowers, leading many Kenyans to describe their predicament as a form of servitude

Is it any different in the USA?
As someone in sales, I think I would be EXTREMELY supportive of all of my competition deciding to do the eco conscious thing, and declining to fly to clients. It'd be great.

No chance that businesses will stop paying for people to travel. And their budgets are much bigger than individuals visiting family. Take a look at the entire private jet market - basically a very small wedge of HNWs and lots of executives flying for business.
Except it's not. ICE is not the Third Reich, period.
My algebra is a little rusty, but isn't the discrete log totally unrelated except for also sometimes serving as a pseudo-oneway function?
You haven't been to China if you think UK's air pollution and China's are comparable. The smog is so bad at times in major cities you can't see the street from your hotel window.
Can you elaborate? SQL queries compose just fine, it is just that most developers don't understand the relational part.
Just because a job is simple doesn't mean it doesn't take time & effort. A tool can be helpful if it reduces the time or effort to accomplish something.
Anyone else notice that it's hard to find a good therapist around Silicon Valley? It seems many of them are booked solid.
Oh my, I also was about to propose Stripe to a local boxing gym myself. This gym is also a 'not for profit' company, of which I'm a volunteer (unpaid).

Guess I'll scratch that plan!
I really got worried when I stopped getting these and other subpoenas from 3 letter agencies. I knew we had to beef up our server defenses. :/
Popular need not imply secure. :-)
ORMs are a tool in the overall toolbox. Attempting to apply their usage to every facet of an application is, of course, ham-fisted.
That's not true. A simple job might be 3 lines of code in an ORM to update a record. In SQL that will be a lot more code especially if that's wiring up a foreign relationships. With SQL you will also have a lot of uncheckable strings containing code.

Simple tasks are done maybe thousands of times in any one application. It's the complex tasks are rare.
I know, this is a recurring discussion.

Both sides continue to distrust the other, though.
It's quite important that developers actually test their desktop layout and functionality (hover states, etc which don't work on a touch screen) with Safari's engine.
> People who don't understand the security implications inherent in allowing browser extensions that have nearly-unrestricted access to the user's behavior

You can say the exact same thing about any code we run on our devices. We accept that risk or we wouldn't run any software at all. Google isn't worried about our privacy. They take our privacy. They are worried about their profits because that's all any corporation cares about.
I mean, Netflix effectively tripled Obama's net worth with one deal. I'm not saying it's quid pro quo, but ex-politicians can command quite a lot of money in exchange for their influence.
Ask HN: Does YC Have an Active Request for Startups (RFS) for W20 Applications?
Does YC have an active Request For Startups (RFS) for the Winter 2020 application process?

Is there a place in the Winter 2020 application to identify as a startup in one of these categories?

Or is this best accomplished in the Category drop down?

The most recent RFS I see is from March 2018
https://www.ycombinator.com/rfs/

Also, I might have missed it, but I don't see a field in the current YC application to list a RFS category like last year.

Thanks!
But is a perceptual colorspace "natural"? A physics-based vectorspace is the most natural thing. Adding vectors in a perception based vectorspace seems unnatural to me.
I think what you are missing is that the bank doesn't own the 1 billion, that is someone else's money (deposit, leverage, etc...). This is very rough estimate, but let's say they are making 1% on the spread in rates (I just made that up, but that feels right, if not high) then using your same calculation they are looking at ~$570k in revenue. If that $570k suddenly turns into a $3.6M loss, that could cause problems.
In my experience, though, the cases where ORM's seem to be a good fit end up growing to cases where they're no longer a good fit - and getting away from them ends up hurting more than just starting without one to begin with.
Nothing quite like being a Jewish kid going to middle school 15+ years ago and seeing classmates reading manga where the characters are basically dressed like Nazi Youth and they're 'protagonists' of the story.
Oh, Brave New World, that has such creatures in't!

(Ok, not corps, but definitely psyops.)

Some Stephenson gets close, most especially the Snowcrash / Diamond Age arc.

(Which I'd like to see him continue.)
> Oh, and bikes and feet for the last 1-2km.

1. Bikes work for the last 0-5km easily:
https://en.wikipedia.org/wiki/Cycling_in_the_Netherlands

2. Don't forget lightweight electric micro-cars for the disabled. i.e. like this one:

https://en.wikipedia.org/wiki/Canta_(vehicle)

but electric.
ORMs make the simple things simple, and the complicated things impossible.
The brain may actively forget during REM sleep
Yes, What computation are we talking about?
That's a load of crock. By that same argument, since you have the agency to think for yourself and vote however you want, foreign propaganda should have zero impact on our elections.

I also don't have any choice in whether or not I personally get to deal with the negative social impacts of overconsumption of sugary drinks, overextraction of fossil fuels, or politicians bought by the healthcare cartels. I have to live with all of it.
I always feel that the arguments against ORMs is like the one against frameworks or using “Vanilla JS”. Saying you don’t use one really means you’re just writing your own.
Makes me think of a Black Mirror episode:
https://en.wikipedia.org/wiki/Nosedive_(Black_Mirror)

Really creepy stuff ...
I used to get messages when I posted about remote work. People wanted to know how to get started, which companies to apply to and so forth. Many people don't write back once I explain that I do enterprise Java development for BigCo.

Anyway, I get fewer emails now so hopefully that's an indication of the normalization of remote working.
Clearly stating that the model is unrealistic doesn't make the model realistic.
Echos of "banality of evil".
It might not save a lot of mental "effort" but they still save a lot of time that would otherwise be spent on writing simple boilerplate code.
Scams are very common in China. If you ever decide to visit, do a favor for yourself and brush up on the latest ones so you have a good trip.
While I am skeptical of bloomberg, I'm even more skeptical of the NSA as they've burned all their goodwill in my eyes at this point. So I'm in the "probably true, if not then probably something nearly identical happened with a different serious vulnerability" camp.
I strongly suspect an average student who studied Japanese in college knows more about Japan than an average tourist who went to Japan for a week or two, yes.
I'm betting on sulfur aerosols. The energy requirements are modest, the impact is apparently relatively reversible, the side effects seem less potentially catastrophic than iron fertilization.

I look at the street outside my office and simply can't picture us deploying enough carbon capture machines to offset how much we're pumping into the air. I hope I'm wrong.
Yep, no goodbye note was really the highlight of everything that happened at npm in the last couple of months.

This article about union busting https://www.nytimes.com/2019/07/08/technology/tech-companies...

and this one about working conditions at npm https://www.businessinsider.com/npm-employees-open-letter-20...

or The Register who covered mostly everything that happened since the first layoff mentioned in my Twitter thread https://www.theregister.co.uk/2019/04/22/npm_fired_staff_uni...
I don't think that is what parent wanted to say. It's still a lot of boilerplate code and config that can be avoided by using an ORM for the 'simple' parts of an application. And if you use a framework like sqlalchemy, you still have access to the lower levels if it turns out the ORM abstraction is unsuitable.
Alas, so true.

I tolerate an ORM at work. Secretly loathing it. Like much of industrial programming.
Listing prior discussions is not a reprimand suggesting we can't discuss it again. It's a service to the community to let us see what's already been said, if we so desire.
A man who snuck into Auschwitz
$29. We think you’re going to love it.
Appreciating R: The Ease of Testing Linear Model Assumptions
Arguably, when people think of capitalism, they think of Adam Smith's "Wealth of Nations," and all it entails about trade, specialization, profit, etc. For much of its history though, capitalism depended on a lot of what Smith wrote about in "On the Theory of Moral Sentiments," i.e., societies work because people "naturally [desire], not only to be loved, but to be lovely."

In the West, we're trying to figure out the right allocation of goods through the market economy, and the right way "to be lovely" through freedom of speech, freedom of association, etc.
Very good point. I'll need to remember this.
This looks like a perfect use case for blockchain... oh wait
> electric cars usually get 100mpge or better

Right, and the mpge metric is flawed, because it assumes a (typically bad) energy mix.

5km driven in the UK is equivalent to 100km driven in Sweden.

The former sits at an average of approx. 300gCO2e/kWh. The latter at 15gCO2e/kWh.

With electric cars, the ultimate situation is that all of the carbon cost is in the production of the car/roads and maintenance thereof. Which is another issue that can be targeted and mitigated.

By contrast the only ultimate hope for a combustion powered plane or car is carbon capture.

The 'MPGe' of an electric car in a country with 90%+ renewable energy is like, 1000 or something daft like that.
Swapping from EF6 to Dapper was one of the best choices we ever made with our project stack. It is so relieving to be able to hand-tune queries and transactions now. Initially, we were sold on the apparent simplicity of EF6, but as with many things there is a cost for an abstraction like this. In our case, the performance penalties and opaqueness were dealbreakers after a while. We saw an average speedup of 10x on all SQL operations after rewriting using direct SQL with Dapper handling mapping of result sets into models.

Writing your own SQL migrations is actually incredibly straightforward if you just think for a few minutes about how you would do it if ORMs didn't exist. Many database systems have ways to store metadata like schema versions outside the scope of any table structure, so you can leverage these really easily in your scripts/migration logic. EF6 uses an explicit migration table which I was never really a huge fan of.

One thing we did do that dramatically eased the pain of writing SQL was to use JSON serialization for containing most of our complex, rapidly-shifting business models, and storing those alongside a metadata row for each instance. Our project would be absolutely infeasible for us today if it weren't for this one little trick. Deserializing a JSON blob to/from a column into/from a model containing 1000+ properties in complex nested hierarchies is infinitely faster than trying to build up a query that would accomplish the same if explicit database columns existed for each property across the many tables.
Incentivizing profit on elective credulity is a great way to drain tons of consumptive (and second-order productive) capacity out of your economy to the benefit of the ethically bankrupt.

"Idiots deserve to suffer" is a shaky assertion even in a vacuum. In the real world, where most of us are idiots about some things and are therefore surrounded by idiots at all times, it's just (self-)destructive.
>How does that sound?

Sounds fine, I support everything in your comment.

However, I believe keeping guns out of the hands of people who would harm themselves and others is also a legitimate part of the solution. Unfortunately, the Supreme Court and Constitution of my country disagree with me.
I'm a SQL fan as well, having used it before there were ORMs. I still prefer it for complex queries. However, ActiveRecord is so nice for reducing start-up tedium with DDL and migrations, and especially for mapping relations to data structures (objects in this case).
Do Alzheimer's&Lewy body disease have discrete pathological signatures of gait?
The old Data Mapper vs Active Record debate.
Don't just count the politicians. While at Lucent, I observed a manager/project management expert who seemed to be permanently between projects. I was told not to ask about him again, since his cousin/brother-in-law (can't remember which at this late date) was a powerful US senator. In retrospect he probably should have stayed with ATT...

With respect to lobbyists, from the lobbying firm's point of view it might be a good deal to pay a former office holder lots of money for doing nothing at all, if he or she did something particularly helpful before stepping through the revolving door. Quid pro quo.
I think most server operators look at overall performance. Once you start buying hardware specifically for one purpose you're cornering yourself.

Besides, who spends $15,000 on a mid-high end server to run single threaded applications anyway?
Does that follow though? They took 10,000 fewer steps away, yes, but was there actually any judgement in how those steps were gained/lost? I'm curious if the same effect as those 10,0000 steps could be found simply by going out for an hour walk and still sitting for the rest.
@ 1:24 - You need good social credit to buy food!? holly fuck they are taking it up a notch.

... i'm half joking though, I have been to China many times, there is no way this is going to be effective for all of the cheap restaurants and street food. One thing I've learned about China, is although we often interpret their emerging laws and policies to be extreme (which they are) - what we don't appreciate is the context - they are not enforced as widely, rigorously and thoroughly as in the west. This is at least partly cultural and geographic, and it is probably this same reason that contributes to some of the Chinese government's overreach in the first place (to overcompensate). It does not excuse the human rights issues, but explains them somewhat.