skysight-inc/HackerNews huggingface dataset:
Tesla battery pack (not just battery) prices have been creeping down forever, in part because they are the only company doing ev mass manufacturing in the west (lots of sizable chinese ev companies, supposedly they aren't as efficient as tesla but that's surprising if really true).

Separately tesla has been working on the next gen of batteries for several years, has bought several startups and even paid for the research of a particularly important battery research team. Their existing batteries for the S are made by panasonic, have their own chemistry, different than other panasonic batteries. The 3 and Y have gen-2 batteries that are different (more efficient in energy per unit volume). The half-gen new S with longer range came from putting the newer motors from the 3 into the S. They can get another bump by using the 3&y batteries, but we'll see if these 3rd gen batteries will be ready for production.

Tesla is way ahead on many many dimensions of all the legacy makers (efficiency, design, horiz integration, battery supply, superchargers). This is separate from their stock price being way too high. I always thought the other car companies would do a better job of competing with them. But the industry standard design and implementation scheme in the auto industry where car makers assemble many different pieces together designed and made by 3rd parties like bosch etc are making it hard (like the difficulty of vw with software problems with their "electronics assembled from many different companies" id3 hardware platform. I'm sure vw will eventually work it out. But the vertical integration of tesla really helps them. This got off the subject....
Any hope of getting this as a text article, or even a git repo? Blind user here who can't see code embedded in a video, but can read ascii-text with a screen-reader perfectly fine.

People who don't enjoy videos for various reasons would probably like a text version too.
The problem for AR is that there are no killer apps that aren't deeply privacy invading. What people want is something that basically googles the world around you giving you all the relevant information it can find. We are very quickly going down the path to making that entire use case illegal, especially for people. Without that use case, I'm really not sure there is much outside of things like How To instructions.
Not yet, but I believe babel and others just transpile/polyfill it by having it fall back on a string arithmetic library for working with integers of arbitrary precision.
And automated systems require babysitters. How long does a 100% robot-controlled factory operate when its supervisors are in quarantine? While it's true that the robots aren't concerned with infection, I doubt that a pandemic-style shutdown can really be fully averted, even if the manufacturing process is "100%" automatic.
HN User dillonmckay has a point. Recovery happened in all the cases you mentioned because labor had income. Which in turn created demand. Which you satisfied by increasing production. Which, at that time, required more labor. Which gave labor more income. And so on cyclically.

If we create even a sizable percentage of automated factories, then you don't necessarily need the same post-WWII levels of labor that you needed back then to get production increases. My own bet would be on inequality in the developed world actually accelerating. Businesses will be doing what's rational. Finding manufacturing locations close to coastal ports for the purposes of distributing their productive capacity across the globe in a bid for redundancy. Automating everything they can. And more.

All of which will be completely reasonable actions. It's just that the result will mean even fewer jobs, and even more education to get those jobs. Probably good for the HN crowd if I'm being honest. But not so good for opioid infested flyover country.
I'm pretty sure the exact layout is not guaranteed in this case, so while the above code may work in many cases it's not possible to represent all data structures like this, particularly if the bits are not byte or machine word aligned.

I don't think the standard even guarantees which bits in an integer the bitfields will be stored. That's important for network protocols.
Magic Cap Operating System
But now you're filling your application with arcane and inscrutable logic, with an extra layer of abstraction via the ORM to make it even less scrutable.

I think one should view a SQL DB like a microservice. Instead of REST endpoints (or gRPC or whatever), create stored procedures. These define a strong contract with your DB, the capabilities that it provides to your app(s). Now you know what the query and insert patterns are, and can tweak the table layout under the covers without screwing up your application code.

Of course you can abuse this into a spaghetti monolith, just like you can evolve a microservice into a spaghetti monolith, but you shouldn't. There's no technology that will prevent you from making poor architectural decisions, you just have to not go down those dark paths.
Yes, because we know exactly where the buck doesn't stop.

They're getting ready for round 2, and if the rule setters do the same thing, we'll get the same result.

People want to blame the banks -- and banks share the blame -- but they are not the root cause. The legislated rules are like physics, you don't get mad at the water flowing wrong but at the people who planned the river. The planning committee is doing all sorts of weird stuff, but the people with the most control is republicans, and via veto etc, the president. Those are the people deciding to whom the river flows and with how much water. They knew there would be more applicants than money, and the bigger applicants would have accountants and bank managers ready to leap, yet they still didn't put any priority order in for small businesses. Instead, they spent that time putting in carveouts for big hotel owners. If you think they didn't make it fair, it's their blame.

I don't even know why we're doing this via banks to beginwith, that just adds a massive & confusing middle layer of uninvolved for-profit companies. Feels like not knowing how to use the system, or corruption... which is again, a problem upstream.
you are correct, you can't escape the laws of physics latency wise, but most web things we are all building, including 100% JavaScript apps require a round trip to the server. For example I can't post tweet without a round trip to twitter. On the LiveView side UX wise, we apply css loading states to the interacted elements, so the user is provided feedback while awaiting an acknowledgement. On the server, our templates are precompiled and do change tracking. So we only execute the elixir code that is necessary to render the parts of the template that changed. The rest of the calls are noops. From the top down, it appears like an extremely heavy approach, but with our change tracking and diffing, it's actually incredibly optimized. Also note the Erlang VM was made to handle multiple users, as we showed in our "The road to 2M connections with Phoenix" blog post a couple years ago. More connected users will mean more memory, but Memory is cheap, and the platform scales well enough that opening a websocket on all pages as a matter of course is completely viable. Hope that helps!
I'm not saying platforms should be forced to host all legal content. Well moderated communities (HN as an example) have a lot of value.

The issue is that right now those platforms can't really exist. Even if the platforms themselves had an incentive structure to do so, credit card processors would cut them off or heavily punish them in fees and rates.

Let's say you wanted to legally sell NSFW content. Perfectly legal, nothing morally objectionable. Well, you can't host it on several server providers immediately because their TOS/AUP restrict it. Some providers may allow it with significant restrictions.

Once you find a place to host, you still need to accept money. Paypal, Amazon, Google Pay, et al are right out. You can't use Stripe last I checked. You may be able to use Authorize.net or another middleman but you'll have to post a bond and pay a much higher rate. They may still cut you off.

And that's all for perfectly legal non-morally questionable content! That's for porn which 80%+ of the population indulges in.

> Nobody's preventing them, as an outside force

Except practically yes, they are.
> Didn't they earn it?

Can anyone prove it? Do they need it?

Is a CEO with multiple mansions and private jets and billions in the bank more worthy of life than the guy working in the mines processing the raw materials of modern civilization but living from paycheck to paycheck and barely able to support a family?

What about the mogul who raises essentials prices during a crisis? Or the traffickers running prostitution rings? There are many ways to make money without "earning" it. Can you make sure that only the people who earned their money can have it?

The point of UBI is to not have to ask or try to answer these sorts of questions.
Oh sorry, if you want it to work in your README.md, you have to specify the org-mode syntax. BTW it supporst org-mode syntax. Just have a README.org.
Stanford is facing significant financial pressures
Is there a reason the author uses the word dish instead of project? While I suspected as much before clicking, it would clear up the title if it would just say what was actually about.
Critics go after Trump for saying US would 'shoot down' aggressive Iranian boats
It may be an insider perspective. Early buildpacks were dominantly written in Ruby or Bash (one major one was written in Python). The Bash ones were awful. There was a generation after these, but before Paketo, which were written in Golang. Consolidating the various codebases was a big step forward and left a deep impression.
Stimulus cheques handed out at an actual time of crisis is not the same thing as an unending flow of such cheques during times of low unemployment and economic stability. I think that distinction is being lost in this discussion.

A lot of people who are in favour of some kind of intervention right now aren't necessarily going to want to turn this permanent.
So many startups seem to be blowing up right now. Amazing how fragile the whole ecosystem was.
When the cable goes over mountain ranges and cliffs and valleys on the ocean floor, it can end up thousands of feet from the bottom sometimes.
When I was in elementary school (in the 90s) we all sang Beatles songs with the teacher in our “music” class. My parents didn’t listen to The Beatles so I had no idea who they were, I just though the songs we sang were silly nursery rhymes. Even later Beatles songs like “Bungalow Bill” or “Maxwell’s Silver Hammer”.

Obviously not all Beatles songs are like that and the musical difference between McCartney and Lennon was one of the biggest contributors to their breakup, but yeah... a lot of their music today is treated as inoffensive background noise for grocery stores and elevators.
LiveView does not re-render the template on every interaction. LiveView actually sends patches over the wire, which is typically smaller than a hand-written JSON response. The screencast linked above has a good example of this, where clicking the "retweet" button sends a minimal payload, since we know the exact position on the page.

LiveView also uses a long-running WebSocket connection and that reduces the amount of data sent over the wire compared to regular requests/responses, as you don't need to encode headers, cookies, etc.

Finally, if you are worried about latency, you can call "liveView.enableLatencySim(200)" in your browser console, and you will be able to emulate how your application behaves over high latencies.
Use of a memory-safe language would prevent the heap corruption. A better type system would make it hard to ignore the error.
True, blur on large areas is reversible, even visually user can see the text true and I hope that users will recognise that. That's why I also added scramble option which replaces all text with random characters. Combining scramble for data protection and blur for visual affect is the best combination
One blocker within company is the labor itself not being in favor of automation, because they care about having jobs.

Software engineers on HN should have had experience of significantly improving some manual procedures, only for half the department to be laid off later.
In the UK we have some different data sets. We have "people who were tested positive for covid-19, and who died in hospital". This is rapid data, but it misses out large groups of people. Importantly it doesn't include people who die in nursing homes or care homes.

https://coronavirus.data.gov.uk/

We also have the Office for National Statistics data. There's some lag with that data. The ONS has a blog here about how they count deaths: https://blog.ons.gov.uk/2020/03/31/counting-deaths-involving...

The latest ONS data for covid-19 is here: https://www.ons.gov.uk/peoplepopulationandcommunity/healthan...
> If I'm reading it completely, glancing at the scroll bar tells me where I am in the document so it tells me if the document is reaching its conclusion, or perhaps just going on a side note.

You'll see the hidden scrollbars when you're reading through something anyway.

> A bit later, when I have read a page or two, how far have I advanced?

You'll see the hidden scrollbars as you scroll through the pages to begin with.

> do you have an explicit implementation in mind where you can optionally enable scroll bars? I don't think I've ever seen such an option, and certainly not easily accessible.

It's right there in Mac general preferences, defaulting to visible if you use a non-Apple mouse.
Seems to work ok for me. Firefox Dev edition (76.0b7)

Ubuntu 19.10
I also forgot to mention we provide optimistic UI features with our loading states and annotations. For example, in the screencast, the "Save" button has phx-disable-with="Saving...", which applies on client instantly and stays until an ack is received. You can leverage the loading states as well to toggle entire containers for a happy medium between traditional optimistic and instant user feedback.
Like I said they are being compensated for doing paperwork. But the compensation appears to far exceed the effort required especially if most customers are applying through an existing banking relationship.
> Automation coming sooner

I'd predict the opposite. The world will shortly have an international depression, and to the extent that businesses are allowed to be open, there will be 1000 applicants for every position. Wages will collapse. Demand for products generally will be low, dampened by the fact that a huge number of possible buyers are flat broke.

Those are conditions to retard the growth of automation, not increase it. You're going to spend a zillion dollars automating to produce a product people can't afford to buy while there are thousands of people outside your factory saying "we want to make your shit by hand for nearly free"?

Next couple of years will be a LOW time for automation, not a high time. (Which doesn't mean zero, obviously certain products are still going to be produced by increasingly cheap automated processes.) But some big surge in the rate of automation? No way.
>Variable declaration at the beginning of a function is also a common pattern

What language requires you to declare variables at the beginning? C even stopped doing that. People choose to do that, but ime that's after the writing phase, to make it more readable

>When you write a program, you may not know what libraries you need

Sort of -- the difference is that when I'm writing code in my IDE, I know all database objects available to me. It's in the schema. A library I import once (to the project itself), and the IDE can always assist from then-on. But SQL is designed such that despite the library (schema) being imported, the IDE can't actually assist, unless I write the code out of order (eg start with SELECT * FROM table and then start working)

>However, once it clicks, it's fits naturally with how a relational db works

I think you've misunderstood the complaint -- the relational language is a very strong concept, which has stood the test of time, and is difficult to complain about -- it does its job well, and fits naturally with how a relational db works.

SQL the language however is:

A hodgepodge of random keywords tossed about in a totally inconsistent fashion (eg postgres overlay: OVERLAY('Txxxxas' PLACING 'hom' FROM 2 FOR 4) -- postgres at least generally offers a consistent comma-separated syntax for every functions

has weird and technically unnecessary limitations (like SELECT being evaluated after the WHERE clause, so you can't use the aliases defined in select clause)

putting SELECT before the FROM (disabling IDE auto-complete support)

the stuffing of a 3-value logic system into a 2-value logic interface, so boolean operations break silently and produce nonsense in the face of a database with NULL values, because no mapping of NOT (TRUE, FALSE, NULL) AND NULL makes sense. [0]

It generally composes very poorly, leading to redundant, long and convoluted queries

The MODEL is fantastic -- the language is not.

[0] https://sigmodrecord.org/publications/sigmodRecord/1709/pdfs...
Did shutting down huge swaths of the economy "improve society"? Even if one agrees that is has been necessary in the short term (most seem to agree it has been needed), if we're still mired in this even mere months from now, we've probably got far bigger problems with which to contend than pushing projects like UBI.
It's not that insane if they can really deliver (and I don't see a technical reason why not.)

The real question is whether or not they compete with Archive.org, in the sense of sharing the same ecological niche. Archive.org does a great job but everything there is public, so maybe that's the differentiator?
In theory, as long as we have some reliable way to measure the aptitude, and we provide the corresponding opportunities, I don't really mind if we avoid mentioning the word "intelligence".

But, you know, the offensive thing about IQ is exactly that it demonstrates that different people have different aptitude. So, in practice, I find it difficult to believe that people fighting against the concept of IQ would be willing to provide sufficient opportunities to children with high IQ.

Sadly, many people's instinctive reaction to a gifted child is throwing some obstacles in the child's way, to "prove" that the child "was actually not that smart". (This is even more likely, if the child is a minority, or autistic, or different in some other visible way.) Some of those people are teachers. I know stories...

Like, there is a girl I know who did math olympiads at elementary school. For some reason, this rubbed her math teacher the wrong way, so the teacher started bullying her in the classroom. Two years later, the girl had phobia of math, and was unable to do even school-level math. Then her parents intervened and transferred her to another school, and with some private tutoring (by me; that's how I know the story) she became a straight A student again, and later successfully completed a university that required a lot of math. She never got back to the competition level, though, because the wasted time made a difference.

This story is less rare than you might hope. Quite many gifted kids, unless they also have superior social skills, are bullied either by their peers or by adults. People are bad at tolerating difference; twice so, if the difference suggests that the different person is somehow superior. And the gifted kids with superior social skills aren't winners here either; when they tell you "I was interested in many things, but I was careful never to mention it in front of my classmates", it makes you wonder what they could have achieved if they were allowed to follow their interests freely.
> Hell, I can go to S3 right now, put a gig out there, and a million hits only cost me pennies.

A million hits on a 1 gig file would cost you $50,000.
I think most of the predictions about permanent changes caused by the virus will turn out to be wildly wrong. Companies will view this as a rare event that's not worth spending significant resources to prepare for. The march toward more automation will press on just as it did before the virus, governed largely by the price of labor vs. the price of automation.
It works on bytecode, so yes, it should apply to all JVM based languages. (Though I haven't done tests for them)
Brave Kids Art Club
What a cowardly way to lay off a bunch of people. Waiting for a crisis that requires you to push people to work from home, then quietly fire them with a curt email and cite difficulties from COVID-19.

The respectable way is to get them in person, look them dead in the eye and admit to the failures of the company and product vision, and then let them go, apologizing profusely for your incompetence.
WikiLeaks Website Dumps Files: Assange Dead Man’s Switch? – Liberty Vibe
> Don't put lysol [on electronics]

Why shouldn't I? The exterior surfaces of "electronics" are just glass, plastic or aluminum and lysol seems to work fine on all three. It's sold in plastic bottles so it's not like it'd create nerve gas or something.

Not that I generally take marketing claims seriously, but lysol advertises itself as appropriate for use on electronics: https://www.lysol.com/cold-flu/home/how-to-clean-electronics... If there were any real danger, I expect their lawyers might not let them do that.
> It's a Dutch auction

literally
As with all VR/AR products, we feel like we're on the verge of something great within the next 1-2 years and something revolutionary within the next 3-5, but at least now there's Focals https://www.bynorth.com/ and Apple's expected product (hiring posts, acquisitions, and leaks point to a large team at work on something) as well as the Hololens team still iterating, and to me the most interesting stuff is actual software applications. FB/Oculus showed some interesting stuff in their last conference: Work on 'social teleportation' aka scanning the environment and bringing it into mixed reality / VR in order to 'call' someone in mixed reality and teleport to their living room and sit with them in 3D space, better and better face-scanning tech to create digital reproductions of your face with facial expressions mirrored to avatars:

https://youtu.be/ybhYJ87U2Gs?t=523

https://www.youtube.com/watch?v=BbRvARuCoRU&ab_channel=Oculu...
Ah, the death step of every failed VR/AR company. "Focus on enterprise customers" just means "draw out our demise for as long as possible in the hopes of drumming up some more VC before we file for bankruptcy."

Hopefully someone competent buys them before that happens.
Yes, there are two Blazor variants. Serverside Blazor is basically the same thing as Phoenix Live View, client side Blazor is providing some optimized Mono runtime as webassembly.
Indeed -- many National Guard units have done 4+ deployments to Afghanistan or Iraq.

There was an article a while back about how the Guard used to be fat-ass weekend warriors with gear that was EOL or falling apart. After damn near 20 years of Afghanistan and Iraq most of those Guard units have been multiple times and are equipped and trained to something that resembles actually full-time line units. The Active Duty troopers still get better gear and training, but the Reserves & Guard are a completely different creature than a few decades ago.
I did say you need to do some exercises, just not an extreme amount or at the expense of theory. And these math exercises are different from programming - they amount to applying some process to different numbers over and over again while at least there would be some degree of problem solving if you wrote a bunch of genuinely different programs.
Finding new music is tough. At one point I discovered acid jazz and wanted to listen to more acid jazz, but I didn't really know where to find new stuff. As far as I know, there isn't really any good way of finding recommendations tailored to you.