skysight-inc/HackerNews huggingface dataset:
If you think of 'reduce' as instead 'accumulating' a value, then it takes a function that adds a single element to the accumulation, and a base accumulation to use if the list is empty, and a list, and returns an accumulation of all of the elements of the list in a directional (in this case right-to-left) order.

(accumulate plus 0 lst) is equivalent to (sum lst)

(accumulate multiply 1 lst) is equivalent to (product lst)

(accumulate (lambda (x acc)
(cons (fn x) acc)) '() lst) is equivalent to (map fn lst)

(accumulate (lambda (x acc) (if (fn x) (cons x acc) acc))) '() lst) is equivalent to (filter fn lst)

and so forth. The essential insight is that reduce/fold/accumulate reduces the problem of accumulation to a base accumulation and a function that only has to add a single item (i/o)nto the accumulated value. Using them to directionally processes a container is idiomatic in a functional style.
Surprised to see Atlanta in the list. Why ?
> engineers now must fully understand the consequences of anything they log

I don't think this is quite the dichotomy you make it out to be.

So we can create optimizing compilers, but we can't figure out what to log?

This seems like a problem of never having motivation to solve the problem before.

"We can't do that, it's too hard" is often a mea culpa I'm industry when they oppose regulation. Then they will come up with a solution from having actually spent some effort to actually think of potential solutions.
Were you logged in? MediaWiki treats logged-in users completely differently. It's also possible that mediawiki.org doesn't minify at all purposely to make it easier to view the JS/CSS. There's definitely a minifier at work for anon users.
Google makes its biggest renewable energy purchase
> As a citizen don't I have the right to create a business

Nope. That's not an express Constitutional limit imposed on states and thus states general police powers extend to regulating that behavior. (To the extend the proposed business engages in, or impacts, interstate commerce there is also federal regulatory power under the commerce clause, but the immediate issue is the broader state regulatory power.)
Seeing the specs of Google Wing (backed by much more capital), I'm yet more impressed with Zipline drone.

Wing has about 10km round-trip (unclear if that's radius or total distance traveled), while Zipline has about 80km radius or 160km round-trip range. Wing has a speed of about 60mph (then slows to a hover for extending the package) while Zipline travels at 80mph.

And not just serving a small city of 20,000 but Rwanda, a nation of 12 million (and now much of Ghana, population of 28 million, and soon the state of Maharashtra in India with a population of over 100 million).

I really think the catapult and parachute approach is significantly more effective than the hover-and-deploy one is. There are some marginal advantages to hovering, but the drawbacks in range, efficiency, time, and annoyance to the neighbors outweigh them.

The advantages to hovering may be relevant in dense cities, but these are exactly the places which would not want lots of drones flying around everywhere (certainly not hovering like that).

Still, much safer than delivery vans and I hope Wing is successful.
Hrm, I've seen most who migrate spend a similiar time to your estimate. I know you've already migrated, but I'm really sorry it took that long, and I'd really like to hear where we can improve the docs. Would you mind emailing dev-feedback@stripe.com (and feel free to CC edwin@stripe.com).
> Opt-out for GDPR is under 1%. Most people don't care at the moment, sadly.

Correct.

On top of that, many people on HN, aware of the privacy implications, continue to have a Google Home / Alexa in their homes. Myself included.

Sadly, I (and many people) simply don't care about privacy. The probability/expected negatives of surveillance abuse is far less than the benefit of being able to turn my lights on and off with my voice.

The US will for sure become like China in 10-20 years, with regards to surveillance.
> Once upon a time the memes of Internet culture would suggest that "information wants to be free!" Oh, sweet halcyon days of yore!

Agreed. But martech pretty much killed that dead.
Order of words is not that relevant, in English I can say instead of the above:

"take each line of code [map ... xs] and replace it with [\x -> ...] a number of spaces equal to half the maximum line width [replicate (div (n - length x) 2) ' '] prepended to it [... + x]"

All languages have passive voice and other tools so you can make the order of words be whatever you'd want for customizable emphasis while keeping meaning the same.

Sure the order for arguments for `map` may not be the most intuitive, but that doesn't make things harder. See ReasonML for an example of functional programming with regular C-like syntax.

Now, if you want to see hard to read functional code, look into code abusing point free style (I'm not even sure there is a fine way to use it at all...), plus mind bending types (usually to satisfy some monadic style abstractions), plus over-currying stuff all over the place.

But the snippet above is only unreadable for people who stubbornly refuse to invest a couple hours of their time into learning a new notation for things! Heck, you can even translate it almost 1-to-1 to modern Javascript, or even add an extra function name and some more sensible variable names to make things more readable while keeping it functional:

function alignCenter(lines) {
let width = Math.max(...lines.map(ln => ln.length));
let getPadding = len => ' '.repeat(Math.max(0, (width - len) / 2));
return lines.map(ln => getPadding(ln.length) + ln);
}

...the above is more like something I'd actually let pass code review in real life :)
Multiroters seem like such an inefficient way to do this, why is everyone doing that rather than a fixed wing aircraft? I know in the mid 20th century some mail was delivered this way using manually piloted aircraft and very little ground crew (none had to be active when the package was picked up or dropped off.)
I generally don’t need to state a reason why I want to visit a normal town.
also page 35 mentions that there's genetic factors (PON1 gene) that affect organophosphate susceptibilities
Using the Cloud to Analyze Medicare Data
The whole system is rotten to the core. Allowing companies to portray themselves in a positive light on privacy

> “The time to act is now,”

While pushing a federal law geared towards undermining privacy rights?

Doublespeak anyone?
> Actually, after working on this I got a report mentioning that my changes to move from imprecise-width to precise-width types fixed a security issue. This made me realize that more existing issues could still be fixed this way, and I started fixing other ones reported via ClusterFuzz after that.

The author found a security issue simply because the conversion required a careful code review. The security issue didn't stem from using native integer types. In fact, I'd argue that the security issue stemmed from the original programmer making the kind of assumptions that are typical when you have the mindset of fixed-width types. To avoid multiplicative overflow they used an intermediate type that was twice the width. And in fact this aspect of it was correct. What was broken was their logic for detecting overflow of a second multiplication operation. Using fixed-width types wouldn't have fixed that issue. The actual fix simply used base::CheckedNumeric as the type, which checks overflow in a library via operator overloading. The underlying type is irrelevant, though it's not clear to me why they ended up choosing int32_t for the template type given that the function argument parameters are still unsigned int. That suggests some hidden dependencies and assumptions on callers that remain undeclared.

Nowhere did this author show an example of why switching from native types to fixed-width types improved anything. It's unsurprising that a bug was discovered as a result of doing a careful, focused code review. If they had switched their focus from changing types to instead reviewing all multiplication operations, I bet they'd have found many more bugs. Also, what we don't know is if the conversions introduced any issues as it could take years for those to shake out, if at all.
A simple thing like a DNS resolve is much simpler in non FP. FP shines when it's more complex, but not when it's simple. I find Go-lang a reasonable crossover where you could do a lot of FP in it where it is needed and keep it simple and boring in the rest.

It's like me as an engineer: Don't use me for simple tasks because I will make them really complex.
Simplenote is incredible. I really hope they don’t add too many features, as its glory is in its simplicity.
It wouldn't cover anything from OpenBSD, if as excerpted by you, it only covers exceptions related to GPLv2 as I don't believe OpenBSD considers GPLv2 to be acceptable either.
The gimmick has always been that you can't charge more for using a credit card, but you can offer a cash discount. So basically you just have to advertise the credit card price rather than it being a surprise fee added on at the last second.

Which makes sense, most other countries actually roll sales tax and others into the advertised prices, and what you see is what you'll pay out the door.
Show HN: Interactive Gravity Simulator in WebGL
Dude, GDPR's effects just began. Give it time. A sudden enforcement of GDPR would destroy too many business and so it's being enforced gradually. Still, there are beginning to discuss the complete outlaw of the real time bidding in adtech because completely incompatible with the GDPR. That means destroying bilions of dollars of businesses, so they go slow until there's enough political consensus to do so without fear of retaliative lobbying. This is not something that is done overnight.
His story is so strange yet look at his success is he really crazy, all that is staged or its real?

Overall peculiar and fascinating.
Quilt Data launches with free portal to access petabytes of public data
Some friends used to make an annual trip down there. It was where the DSMs were built so it was a fun drive down in our loud rattleboxes.

Neat they're using the plant again.
The GDPR is pretty bad for under 5 engineer startups. They can be very privacy respecting small businesses that charge for their product, like sql training courseware[0], and wouldn't mind clearing what little personal data they had on you (user server logs, billing info, etc).

But being privacy respecting and properly complying with GDPR with audit log systems, etc are 2 different things that require hiring 1 or 2 extra engineers or causing them to pause the companies roadmap as 1 or more people implement government bureaucracy infrastructure for half a year.

If they say it's easy and cheap, then they haven't actually tried to do it properly and are exposing themselves to multi-million dollar penalties.

[0] https://www.brentozar.com/archive/2017/12/gdpr-stopped-selli...
Less than 2 minutes into the video the pilot even notes that the object is trying to jam their radar. I'm not sure why this isn't huge evidence. Which is harder to believe: the object did in fact jam their radar and mess with their sensors or aliens?

4 minutes in they are talking about how strange it is that the pilot was asked what ordinance he had on board. THEN he is given chase orders...

I'm going with Occam's Razor here.
That's not the case. The Bill of Rights now does largely apply to the states.

https://en.wikipedia.org/wiki/Incorporation_of_the_Bill_of_R...
> The connotations of "drone" are not great. (The next word in the bi-gram would be "strike"...) Maybe we can go back to "UAV" or pick another term for non-militarized, commercial delivery.

You have your connotations backwards. You'll see no consumer drones marketed as UAVs, but plenty of military drones are called that.
No, it doesn't. The aforementioned concerns have nothing to do with the GPL license.

https://github.com/llvm/llvm-project/blob/master/llvm/LICENS...

> .. "If you combine or link compiled forms of this Software with software that is licensed under the GPLv2 .. "
Well deserved. They are actually trying to do good + interesting scaling challenges by enabling small business all over the world.
A repellent is not necessarily the same as an insecticide.
What I’m saying is that there is more work for startups / side projects to do, not that it’s impossible. It raises the barrier.
They mention (in https://www.mediawiki.org/wiki/ResourceLoader/Architecture#J... ) that even with the cache, they can't afford a stronger minifier.

Don't get me wrong, I really like the "just ship less code" approach to making apps fast. I am just shocked that running a processor on the code that they do ship to make it smaller was not one of the first things they tried. (Disclaimer: I work in this space and have even tinkered with writing such a tool. http://neugierig.org/software/blog/2019/04/js-minifiers.html )
> As an aside

You mention it as an aside, but I think it speaks to your point about external utilities. In that thread (I also think GP intended to comment on that topic), there was confusion to what "Pure" meant. The first sentence is, "The goal of this book is to document commonly-known and lesser-known methods of doing various tasks using only built-in bash features."
The biggest issue of fuchsia isn't its license, it's rather the design choice to allow proprietary driver blobs. Linux, for the exception of a few blobs here and there, rejects such an idea. In other words, the question is less about license and more about attitude / tolerance for proprietary extensions/tooling. The main power that an open source maintainer has is the design of the codebase and what to accept inside, not the power to litigate a copyleft license. The more it cooperates with proprietary software, the more likely proprietary software can establish itself and restrict user freedoms.
Space to start/stop simulation
'r' to restart with new configuration
How many of these pet peeves are held by the average AirBnB user?

I would guess "none". These are the kinds of complaints that "power users" have because they use websites like tools. Average users don't. My mother would look at the first three reviews and consider that in-depth research. The next time she uses AirBnB, she won't notice re-listings, or removed reviews.

In short, I don't think these kinds of issues are going to hurt their business.
You know that GDPR is just a refinement of ideas that began over 20 years ago, right?

The EU really isn't engaged in a three decade campaign to destroy American companies.

Two nice timelines:

https://edps.europa.eu/data-protection/data-protection/legis...

https://iapp.org/resources/article/a-brief-history-of-the-ge...
There was recently a CCC talk [1] about sustainability of software,... there was mentioned, streaming a video is almost as toxic as driving 20 km forth and back.

For sure, this is super vague, but i guess it's still good to consider all those internet traffic. local internet-caching could be a good solution to keep things more regional...

1: https://media.ccc.de/v/thms-49-ber-die-nachhaltigkeit-von-so...
Why wouldn't both those things be protected?
Their API is actually not bad.

The problem is with their libraries, sandbox and testing tools. Also, their support is a complete and utter clusterfuck.

But the API is OK.
>Can the gas in the tank go bad? I know modern fuel has a lot of preservatives.

This is something that is occasionally mentioned in speculative apocalyptic scenarios. It will go bad, after about a year you wouldn't be able to use any random car without swapping out its gas with some from a better preserved source.
Coming Soon: New Design and Criteria for Channel Verification on YouTube
Good laws put bad people out of business. I don't see the issue here.
> we will continue to ennui ourselves...

I’m trying to recall which post from yesterday used this word which we probably both read.

But FYI I believe the word is merely a noun; one cannot ennui oneself.
Following page has Tcl code written by antirez to create command pipes:

https://wiki.tcl-lang.org/page/Pipeline+programming
Enterprise training projects would buy gloves in a heartbeat, if they were easy to integrate. And yes, getting the hand pose is not difficult at all. I hacked together a glove in a weekend with flex sensors, an Adafruit Feather, and a Vive tracker. I also put pager motors in the fingertips for haptic feedback. Demonstrating the basic hardware really isn't the hard part. The hard part is making it robust and building in platform support, which every other glove product has failed to do.
I think that doing meaningful work is a privilege that is quite rare.

Usually, the work that one is likely to find meaningful pays less, so there is a trade-off.

This trade-off might not seem significant to a single person without any responsibilities, but I'd imagine that people with families to support often simply can't afford it (though in that case the meaning can be found in providing for the family).

Maybe one can also find meaning in well-paid but meaningless jobs by working towards financial independence (FIRE).

I do agree with you on the whole "producing digital junk" phenomenon, though, and of course meaningful work is ideal.
Last I checked, Toyota's cars don't roll themselves over. The driver of the SUV needs to be going too fast and take a turn too sharply to cause a rollover. Indeed, Tesla Model Ys, and all SUVs, are also prone to rollover due to having a higher center of mass than a sedan. This is why anti-rollover features are now standard in SUVs: to minimize the likelihood of a rollover occuring, and then to mitigate the harm to the occupants of the vehicle in the event of a rollover.

In contrast, Teslas literally drive themselves into trucks, stopped cars, highway dividers, etc., resulting in the deaths of 7 drivers so far in a base of only a few hundred thousand vehicles, versus a rest-of-the-industry statistic of 0 across hundreds of millions of cars.

And finally, Toyota doesn't go around bragging about how its vehicles are the safest cars ever, or misstating (or even outright lying) about IIHS or NHTSA safety tests.
I would say you can pretty much aim for iOS 10 or even 11 as a minimum. The number of devices running iOS 7 is quite small. My moms iPad 2 runs iOS 9 and that’s about one of the oldest Idevices going
GM wound up not investing, but Ford did invest.

Disclaimer: I work for GM, I have no knowledge of this deal, any opinions are my own.
Again, the GitHub example is a good one. I have some commits in Django core from years ago. What if I “request” my data be deleted from GitHub? What are they supposed to do? If they rewrite the history it will destroy the project; and if anyone can rewrite the history in the future it leaves projects open to hostile actions.

I suppose the argument would have to be made that it’s not personal data; it’s an act of public publishing or something. So in this case it’s akin to me publishing a blog and other people quoting it years later. I can delete the original blog but not the reprints in newspapers or quotes.

Or that it stops becoming “your” data and becomes instead “the other user’s” once eg the Django project accepts the PR. So you can delete user A’s PR but not the Django project’s now-integrated copy. I think this rationale makes the most sense. After all, someone could still have the repository on their computer and push it back to GitHub again.

I realize this is an edge case that doesn’t apply to 99.9999% of companies, but as an engineer I find it interesting!

Edit: after thinking this through more, I suspect that e.g. GitHub could argue they comply as long as they delete User A’s repo. Subsequently integrated PRs, etc wouldn’t have to be deleted because they could argue they’re no longer User A’s.

I kinda feel like if language to allow this was added to the law explicitly it would be open to abuse, so I suppose this kind of thing has to remain vague and open to interpretation in e.g. the courts if someone is being nasty.
> For some reason people in the military and government are trolling the public

This is an old tactic. It makes it hard for enemies to gather good data. It also makes it hard to know who and what to trust. You have pilots saying ridiculous things so can you trust every pilot? Makes vetting MUCH MUCH harder. All the major powers do this. But it is kinda like a placebo effect, even knowing about it doesn't make it less effective.

So I don't think it is so much to discredit news agencies but to make it harder for enemies to vet eye witness stories on experimental technologies.
Timezones. Only time we can meet is end-of-day in Europe and early morning in the US. Hard to do fast ping-ponging on pull requests and design choices without me staying up late.

But a big pro is no messages before 3pm,lots of time to focus!
As one of the kids who went through a “gifted and talented” program, it was largely a way to segregate social classes. The “regular” classes were actually harder to do well in, but they weren’t full of blonde white kids.
Zipline is doing fixed wing. (Incidentally, they're mentioned in the top comment right now!)
You could say the workers of such a permanent bureaucracy are at least united in the belief in the benefits of there being such a permanent bureaucracy; and more specifically, in the benefits of "non-partisan" bureaucracy, bureaucracy that isn't a catspaw of the party in power. (As opposed to a political spoils system, where each new administration comes with its own Civil Service.)

And, because of that implicit endorsement of non-partisanship as "how the job gets done", these bureaucrats tend to also be considered technocrats: people who evaluate policy mostly on how the ROI works out for "the people" or "the state", rather than in how it figures into any particular political narrative, or into their own "courtly favour" with the administration.

The label of "technocrat" then tends to put the workers of this bureaucracy into natural opposition—political-rhetoric-wise—with populist politicians, who as a rule evaluate policy by how it "plays" with the man-on-the-street (who has no knowledge of statecraft), and who tend to ignore what a policy will (or won't) actually be likely to accomplish. This opposition carries whether any given bureaucrat has any actual underlying opposition to the current populist sentiment or not.

So there's at least one other thing these bureaucrats will tend to agree on: to the degree that there is, in a political "era", a populist fervour in the country, bureaucrats will be unilaterally hated by the man on the street, due to the rhetorical manipulations of populist politicians.
I argued they're so ordinary and pervasive that considering that angle should be more common:

https://www.schneier.com/blog/archives/2013/06/the_psycholog...
I'm not sure making a single vehicle is harder to build than a large scale plant is... but I did find this via a quick google search: https://www.rivianforums.com/threads/preproduction-rivian-r1...

I wouldn't assume it's not a submarine commercial though...
I think one of the biggest cons is the disappearance of "watercooler" brainstorming. This is more apparent if you're in a creative field like software development. Those casual conversations/brainstormings that you have in an office help you come up with creative ideas and solutions. This is pretty non-existent when working remote.

Of course, there are many pros to remote teams; so it's all about tradeoffs.