skysight-inc/HackerNews huggingface dataset:
> So it's steering... but you're supposed to leave your hands on the wheel anyway? But not actually steering, just resting there just in case? I'm not sure how realistic this is in terms of human behavior.

I have an Acura, so no autopilot, but it allows my car to steer, accelerate, and brake automatically within its lane. Also, if I don't apply control to the steering wheel (let alone have my hands off of it) for more than N seconds, it will warn me that it will disengage. The value is then more safety (the car keeps the lane by itself if you don't bother steering for some reason), which does reduce some fatigue, I guess.
It's called marketing, a good one.
Oh I see. I was thinking that calls to Fortran functions were actually recognizable by the compiler, but you're right, the code snippet right at the top shows a manually-inserted strlen(s) in the C code.
I thought part of the reason for the enormouse CEO paychecks was they were ultimatly responsible for things like this?

After they took the money, they want to say "even thought i was paid to run the company, i had no idea this was going on?" not sure it works that way.
Misunderstandings of the Past
The Scheme China Importers Use to Avoid Tariffs
One Simple Trick to get 100 miles per gallon with less pollution (2017)
First of all, thanks for sharing;
it's a very educational piece of code!

I have some generic coding advice though.
With slightly better names you can get rid of a lot of the comments. There is a lot of repetition in the code. If you factor that out, you will have even less need for comments. I highly recommend watching some Kevlin Henney talks on such topics, for example https://youtu.be/ZsHMHukIlJY?t=487 (but he has even better talks recently)

The input of the program should be supplied in a more format more natural to humans and let the computer do the transformation into whatever data structure it's comfortable with. So I would propose a simple, multi-line text as an input:

xxxxxx
0x000x
x*0x0x
xxxx00
00000x
xxxx0x

Then the code would look like this:

(ns maze.solver
(:require [clojure.string :as str]))

(def maze-filename "maze.txt")

(defn parse [maze-str]
(->> maze-str
str/trim
str/split-lines
(mapv (partial into []))))

(def maze (-> maze-filename slurp parse))

You can also just hardwire a maze during development into the source file, since Clojure supports multiline strings:

(def maze (parse "
xxxxxx
0x000x
x*0x0x
xxxx00
00000x
xxxx0x
"))

The result of `parse` function will contain character data types instead of 1 character long strings. I think in this case it's actually more readable and more concise too:

[[\x \x \x \x \x \x]
[\0 \x \0 \0 \0 \x]
[\x \* \0 \x \0 \x]
[\x \x \x \x \0 \0]
[\0 \0 \0 \0 \0 \x]
[\x \x \x \x \0 \x]]

Next `println` actually accepts multiple arguments and concatenates them with a space, after stringifying them, so you can drop the extra `(str ...)` wrapping around them.

Then again, the comment is superfluous. It's obvious that you are printing stuff. If you really want to tell what is it, just wrap it in a well-named function. Eg:

(defn report [paths]
(println "The maze has" (count paths) "paths.")
(println "The shortest path in the maze is:" (count (first paths)) "steps long.")
(println "The path is" (first paths))
(println "The longest path in the maze is:" (count (last paths)) "steps long.")
(println "The path is" (last paths)))

So you can just put `(report sorted-paths)` in your `-main`.
Good point, I forgot about HIR, though isn't HIR largely just a desugared representation of the AST?
This is a current trend. Here's another one being built:

https://www.fastighetsbyran.com/sv/sverige/Objekt/?source=He...
Dashboards and Dashboard Widgets – Part 1
It gives a disclaimer that walking directions might not reflect real conditions.
>>stable, durable, non-toxic, and only then even then good looking.

Yes, I think that was the combination.

I was thinking in particular red car paint -- it was only organic compounds through the early 2000's, and therefore all of it fades.
Radio frequency congestion is a major issue in throughput. One of the many issues at La Guardia in NYC is being able to even get a word in to let ATC know you’re ready to taxi. Aircraft are sitting on the ramp waiting to move and in turn aircraft that have landed are waiting to park because the outbound aircraft can’t get out of the way because they can’t get clearance to taxi. It’s a major pain.

Last week I witnessed first hand how enroute frequencies are jammed as well. Flying in and out of Atlanta as severe thunderstorms surrounded the arrival corridor aircraft were diverting everywhere. You could hardly get a word in in time to tell them you were diverting around the storms.

Hopefully CPDLC will alleviate some of this. Something certainly needs to change.
These vested interest blocks are mostly based around airlines who pay fuel taxes for these systems and would like all of ATC to move from government to contractors.

Currently, the FAA does a lot of work to make sure that the pilots of smaller, older aircraft can still use the system well.
You can safely take a nap while flying a plane on autopilot, the device is more than capable of navigating a course with no human supervision for extended periods of time... which is not possible with the same technology on the ground, with all the trees and stray children running around.

So while the technology may be the same, calling it "autopilot" is not; in the one case it can run on auto, in the other it can not.
There are some benchmarks available on Geekbench with some of their current CPUs: https://browser.geekbench.com/v4/cpu/compare/12754288?baseli...

Single core performance / IPC seems more comparable with Intel's Atom line, but that's still very impressive.
Every single automaker demos their lane-keeping technology with hands off the wheel.
I mean...there are SO many sweet-tasting chemicals. But most of them are toxic.
Nice downvote. Every single person I know who uses the Slack Windows client has this issue. How about you differ with me if I'm wrong.

Edit: here's a link to others with the same issue: https://www.reddit.com/r/Slack/comments/bj3ltt/windows_users...
Ooh yeah, that's very interesting. Thanks!
> From my limited knowledge, the US has a military base in Taiwan.

Huh? No, it doesn't. It has military bases in nearby Okinawa, however. I'm sure the USA setting up a military base in Taiwan would really piss China off, and it would also be not very useful since the Ryukyu Islands are right next door anyways.

The USA simply provides Taiwan with weapons, and occasionally meanders an aircraft carrier around (or used to, it doesn't do that much anymore).
More than 500 endangered vultures die after eating poisoned elephant carcasses
While I can't speak to all grocery stores in all locations, there are food recovery networks that operate at scale.

The pantries I work with collect and redistribute food from something like 30 different local businesses and organizations, including local supermarkets (mostly "day-old" bread and pastries), cafeterias (surplus prepared food), and farmers (surplus produce). We also benefit from middle-man organizations that collect at a larger scale and redistribute to smaller pantries like us -- large donations of canned and other packaged food, gleaned fruits and vegetables which are perfectly fine but didn't make the market cut (ie, ugly tomatoes), and the like.
If tesla’s autopilot were available to all vehicles for use only on highways (which is where most Tesla owners only use autopilot), the number of highway deaths due to inattentive drivers causing rear-ending accidents would drop to near zero overnight. It is so vastly superior to distracted humans on a highway, it is a “seatbelt” type revolution in terms of human safety.

But Tesla doesn’t seem to push this specific use-case resticted angle of it, Musk is focus on full self driving.
"A few decades"

I bet there are not all that many streets in the western world which have been around at all for more than a decade.
I have a documentary about this house from Swedish national public television if anyone is interested.
yttrium and indium are both suspected to be toxic, manganese can certainly be toxic. no idea about the relative doses, I suspect that the chemists certainly thought about this etc, so I'm not trying to say YInMn is toxic, but "inorganic, has simple structure" doesn't mean anything, as it also describes Cobalt Blue, which is definitely toxic.
Huawei 7nm Kirin 810 Beats Snapdragon 855 and Kirin 980 on AI Benchmark Test
I was unaware that was possible! I'd say maybe the brain devalues the rewards or finds the work unnecessary once success is achieved?
The industries you mention are huge. And fragmented.

But once we start adding technology(not necessarily just software), they will become much less fragmented, with a few big winners.

Doesn't that mean venture capital is a necessity ?
> Those languages are also not very popular at all today. Perhaps "small and beautiful" are not the right metrics to optimize programming languages for.

Perhaps popularity isn't.
Have you seen https://www.quora.com/Why-is-molten-aluminum-transported-by-...? They routinely ship entire trucks full of the stuff from foundries to forges over public highways.
How ducting a propeller increases efficiency and thrust (2015)
Practicing mindfulness/mediation and breathing techniques has taught me you can break the cycle of being a slave to whatever your brain is craving at any given moment. Don't knock it until you've tried it for a while...
I know that the name is a good one, but 'Autopilot' is a troublesome name.

I think a better way forward would be to do something fun with the 'Autopilot' name, e.g.:

"Zanzibar (formerly known as Autopilot)"

Nobody need know what "Zanzibar" actually is other than some place a long way from California. You could easily talk about your Tesla to a non-owner saying 'yeah, it's got Zanzibar...' or to a fellow owner 'did you spec the Zanzibar level 5 option?'

I picked the name 'Zanzibar' randomly here, it could be any place rather than any thing. If Autopilot was rebranded as 'celery' then someone would expect that in the glovebox. A brand name that means nothing and can be nebulous would be best.
> But they won't, for the reasons presented here. They solve only the lower half of the problem.

Right, I wasn't arguing for use of web components for anything like <BlogArticle>. That's way outside their scope. But with web components being available, libraries like React would be optional/redundant when custom components are involved (like in complex web apps).

But I still think it would be fun to see someone hack modern web tech (even web components) to build modern blog features with pure HTML (+ sprinkled JS/CSS, as needed).
Show HN: A Collection of User Management Examples on AWS Serverless
I think that python is in general more cohesive than other languages. I like that perl has both "if" and "unless", which is expressive, but it give multiple ways to do the same thing.

I also think pythonic and theoretically best performance might not need to correlate.

I would personally stick to for-loops for general but tricky code and leave things complications like nested comprehensions to places like the guts of libraries or classes that make the tradeoff to have simplified externals.

(for example argparse - very nice externals, tricky tricky guts)
> Capuchin monkey fairness experiment.

Right. Humans are social primates so we expect humans to have prosocial instincts, and we expect those instincts to be derived from earlier examples of social primates.

(Googles... )

Hey, Wikipeida has a whole article:

https://en.wikipedia.org/wiki/Inequity_aversion_in_animals

> In controlled experiments it has been observed, in varying degrees, in capuchin monkeys, chimpanzees, macaques, marmosets, dogs, wolves, rats, crows and ravens. No evidence of the effect was found in tests with orangutans, owl monkeys, squirrel monkeys, tamarins, kea, and cleaner fish. Due to inconclusive evidence it is assumed that some bonobos, baboons, gibbons, and gorillas may be inequity averse. Disadvantageous inequity aversion is most common, that is, the animal protests when it gets a lesser reward than another animal. But advantageous inequity aversion has been observed as well, in chimpanzees, baboons and capuchins: the animal protests when it gets a better reward. Scientists believe that sensitivity to inequity co-evolved with the ability to cooperate, as it helps to sustain benefitting from cooperation.

As I said, that's pretty much it for the strongest interpretations of tabula rasa: We have innate morality, our ancestors had it back to the dim and distant pre-human prehistory, and the fact it's possible to train kids out of it doesn't prove it wasn't there to begin with. The fact some people don't have it (cf antisocial personality disorder) is proof of a disease process, an acquired or congenital illness, not that those people are "purer" for having no built-in moral sense, or that without society indoctrinating a specific morality we'd all be utterly callous.
That is nothing unique to Tesla.

If they were serious about full self driving there wouldn't be any reason to bother with autopilot.
Thought this was cool: streetview from a certain angle shows the property before the development.

https://goo.gl/maps/NX7mEspb5PKABvXm7
It's a good question.

Reminded me of these entertaining columns: https://blogs.sciencemag.org/pipeline/archives/2011/11/11/th...

"Say what? I’d call for all the chemists who’ve ever worked with a hexanitro compound to raise their hands, but that might be assuming too much about the limb-to-chemist ratio"

They're all educational and very entertaining, even to a non-chemist like myself. Recommended for a chuckle, there are some really awful compounds he covers with wit.

Edit 1: original link de-borked.

Edit 2: full list of his 'things I won't work with' columns https://blogs.sciencemag.org/pipeline/archives/category/thin...
It clearly states that the functionality in the video is coming in a future update. Its a video showing what the model 3 hardware is capable of once the software and regulation catches up.
That seems likely, considering the US provides the most foreign and humanitarian aid.

http://devinit.org/post/global-humanitarian-assistance-repor...

"...the US remained the single largest donor, providing almost a third (32%) of all assistance"
Most greenhouses have ventilation windows, often using a wax piston to automatically open/close windows based on the temperature.
This might be a "philosophical, rhetorical" take on ownership, but by US law, it means something VERY specific, and grants very specific rights to owners, and prohibits those rights to non-owners.
”Yes. The filter is only for a handful of swearwords, I wouldn't bother making it larger since people can easily circumvent it with various characters.”

That’s not the problem I mentioned. False positive means cases where your filter thinks it sees a swear word, while there is none. Cases where there are swear words that the code doesn’t detect are false negatives.

”Might be able to not have that defer statement at all”

That wouldn’t be robust. defer guarantees the file gets closed, no matter how the function is exited. That’s what you want (almost all the time). It’s the close just before returning that’s superfluous.
If you really cannot use keys, then one mitigation is to use copy/paste to paste the entire password instead of typing it one character at a time. That can open some copy/paste vulnerabilities e.g. in X11 where any app can then read the password until you copy something else in its place. And a network observer may still determine the password length. But it closes the inter-key timing channel that permits direct character recovery.
Right. Outlier success is heavily driven by randomness, sometimes with a real differentiator edge thrown it. It doesn't last because randomness is never permanently positive over a sufficient sample size and whatever edge someone may have is studied and copied or counteracted once they start to outpace everyone else.

But to be fair, outlier success in many fields is rarely possible without some initial high level of skill and knowledge in the first place.
Flying a plane in a straight line is much simpler than driving on a road. There is a reason why most aircraft accidents happen during landing or takeoff, once at cruise altitude there is very little that could suddenly go wrong.

That's why a relatively simple mechanism can autopilot a plane, but the same mechanism will crash a car in an instant.
I can't recommend Kirsten Dirksen's channel enough to people interested in architecture, energy efficiency, tiny homes, 'green' construction, etc. Literally hundreds of hours of high-quality content - I'm really curious how she is able to find all of these interesting people who are doing such cool things.

Channel:

https://www.youtube.com/channel/UCDsElQQt_gCZ9LgnW-7v-cQ

Some other favorites:

Baubotanik shapes living tree branches into building facades - https://www.youtube.com/watch?v=IQdcfiLfgUY

Boeing retiree finds meaning inventing micro homes & high speed trikes - https://www.youtube.com/watch?v=IdyR2zzjGWw

Extreme transformer home in Hong Kong: Gary Chang's 24 rooms in 1 - https://www.youtube.com/watch?v=WB2-2j9e4co

Earth-cooled, shipping container underground CA home for 30K - https://www.youtube.com/watch?v=Z0oFJ2jbkDI

Yokohama narrow tiny house "breathes" & attracts local nature - https://www.youtube.com/watch?v=6Mzj63TJYn4
An open-source alternative to QT for embedded devices
Why would it be humid? Heat doesn't cause humidity. Deserts can be hot and dry.

(Edited are to can be for the pedantic people.)
What method would you use to serialize data structures into a format that is both easily read and written by both a computer and a human?
We'll build the dikes another few metres taller. Shrug...
> CCP military is already in the city

Rolling in the military as in deploying it against peaceful protesters. A second Tiananmen Square. They have the forces but are constrained in projecting them.
Generally, it's a good idea to force labeling of businesses and products to match their potential customers' expectations of what they mean. It's one of those places where fostering a well-functioning free market (by decreasing information asymmetry, to put it succinctly, even if we're not talking outright scammers) is at odds with some strict notions of liberty (to call your business or product whatever you please).
So confidential mode is a cumbersome retention mechanism? A simple email rule can do this for all messages.
This article reminded me of the book "A Factory of One", about applying Lean principles to personal productivity.

https://www.amazon.com/Factory-One-Daniel-Markovitz-dp-14398...

Or applying Lean to office productivity:

http://www.markovitzconsulting.com/blog/blog/tps-the-thinkin...
I was being hyperbolic, run time was more in the two minute range. Thank you for the numbers it seems my idea of thousands of units pathfinding over long distances isn't feasible in this way.

My next idea is to "prerender" a series of interconnected waypoints across the map at the start and then pathfind to the nearest one before moving long distances using small bursts of pathfinding to move around obstacles and stay on track.
I'm putting together a collection of short tutorials in the User Management/Authentication domain, when using AWS serverless. This covers both REST API and graphql endpoints, using AWS's in house Cognito User Pools or other 3rd party services such as Auth0. All of them are currently using serverless framework for deployment, and written in nodeJS, but there will be more suported infrastructure as code frameworks being supported soon (eg. terraform). This collection will be updated continuously to follow the newest best practice. Hopefully it will be helpful to you, and let me know if you have any questions!
The solution there is to have the app use line buffering rather than a "raw" term mode that exposes inter-char timing on the network. How widely that's followed in practice, I do not know, but one would certainly hope that sudo does it.
Depends on which part of Sweden isn’t it?
This is the percentage of all drivers who think its safe to sleep with Tesla autopilot not just Tesla drivers. People who actually own a Tesla will have seen the warning messages and will be familiar with the limitations of autopilot. The title of the study is very misleading.
I would recommend an optional flag to disable the output coloring, in the case where someone wants to pipe this to a file or other program.
It also has permanent incognito mode! Now if they only allowed disabling the url dropdown....
Plants/watering cause humidity and the glass traps it.

And although I guess they probably could, people aren't generally maintaining desert ecosystems in their greenhouses.
I was expecting some mention of jq for this post, and you did not disappoint. Thank you for the script -- it works great and I'm adding it to my collection.
FDA approves new aphrodisiac for women
> NPM is a small company with about 50 employees

Doesn't this seem like a lot of people for a tool like NPM?
By being close to DC and thus having easy access to government.

Do people really think Amazon really left it up to chance? Then that chance just somehow worked out to right next to DC and the biggest talent hub on the East Coast.

Sure, I'll buy that to go with my new bridge.
I find it useful on blog posts in general. Eg to know
whether I've seen it before,
whether I've fallen behind your latest content,
at what point in time you're writing,
whether new comments are likely in the next few days,
whether it's worth commenting myself,
etc.
I end up looking for it carefully top and bottom, in both reader format and original format, and miss it, every time I visit your blog.
I want to frame this comment. Beautifully articulated, thank you
I’d be happier if journalism weren’t a business at all and consent were actually difficult to manufacture.

Granted they aren’t trying too hard at the consent part these days.
There’s a significant distinction between federal organizations and federally-funded organizations— JPL is the latter.
I wrote a similar tool:

https://github.com/twpayne/flatjson

The flat format is great for diffs:

--- testdata/a.json
+++ testdata/b.json
@@ -1,5 +1,6 @@
root = {};
root.menu = {};
+root.menu.disabled = true;
root.menu.id = "file";
root.menu.popup = {};
root.menu.popup.menuitem = [];
@@ -9,8 +10,5 @@
root.menu.popup.menuitem[1] = {};
root.menu.popup.menuitem[1].onclick = "OpenDoc()";
root.menu.popup.menuitem[1].value = "Open";
-root.menu.popup.menuitem[2] = {};
-root.menu.popup.menuitem[2].onclick = "CloseDoc()";
-root.menu.popup.menuitem[2].value = "Close";
-root.menu.value = "File";
+root.menu.value = "File menu";
Not much grows in a dry desert though, to grow stuff you need water. Even if you weren't growing stuff then you'd still have the soil as an access point for moisture and get excess evaporation because of the greenhouse heat.
Not built in, but @jolmg posted a script here which does the needful.
I have issues with memory usage and crashing with Chrome, but you don't see me filling up threads about Chrome with posts about the isolated issues I'm having with it. It's not relevant. Put bugs in bugzilla, please.