skysight-inc/HackerNews huggingface dataset:
Ah, the first--or maybe second--week of freshman ethics. Change from the inside, or from the outside...

Take some responsibility. Are you evil for signing on? No, but let's not pretend they're welcoming you because you're going to shine a light on unethical practices. Are you evil for staying? That's a judgment call you have to make in your own heart-of-hearts, measuring what you've enabled and contributed, who you've enriched--against the moral influence you've exerted (not to mention the questionable influence you've empowered.)

> I and literally thousands of others are here, solving technical problems, trying to influence the non-technical ones, and if you think we shouldn't be than that's just counterproductive by any standard.

There is a standard. I offer you a baseline: if you're solving technical problems and you're systematically failing to influence the non-technical ones, you shouldn't be there. I give you the benefit of the doubt. Your failure is likely measurably less than systematic.

But enough so? Bear in mind the alternative is not yelling at Facebook from the outside, it's building a better world, a better product, a better community...elsewhere.
Wow, a system the spammers haven’t found a way to exploit yet!
it doesn't have macros, but it does have code generation.
I have done a lot of similar work over the years in Finance.

I took the glass half full approach and looked for ways to automate things and apply Pareto's law.

Creating good documentation of the processes or even designing the operational processes is extremely useful if you are on boarding new developers or if your taking a long vacation. And if you do hire a new team member, you can assign them some of the stuff and you already have the training built.

This xkcd has also been helpful

https://xkcd.com/1205/
Yubico is probably doing fine selling security keys to billion-dollar tech companies, who simply need compatibility with the existing ssh-yubikey-certificate setup.
when you listen to music you feel

when you read the code you think

programmers are not composers; they are scribes.
I wish this had gone into some more technical detail about what "CNB" does that is actually better. Most of the article was just rehashing some problems with Dockerfiles, but the conclusion is just "CNB fixes it!" The one specific improvement they mention is being able to "rebase" an image without rebuilding the whole thing, which certainly sounds interesting, but is not explained. How does it work? What else is CNB other than a wrapper around `docker build`?
Developers would have to intentionally write extra code to respect privacy metadata, so it seems unlikely that would have made a difference.
Fun with Typed Type-Level Programming in PureScript
Not in my experience; but it may depend on how "special" the specialist is, and what the specialization is. Sometimes Z just can't do it.
Code Review from the Command Line (2018)
Just wondering: Is the environmental impact upon decommissioning a consideration? I'm not sure what important variables are involved in that.
Unless they made the battery protect itself from the cold with some kind of thermal management system ? Such a system could run in external power when plugged in, and as a safety be able to run on it's own power, draining the battery of course.
Stay tuned! :)
Nasa wants to land astronauts on Mars by 2033
In this case I think it is a failure on the part of a third-party application developer, rather than any failure on Facebook's part.
If I'm the parent poster...there is nothing silly about R&D, patents, currency, rights, military, or technology.
The article presents an economic model of privacy. While I think that is important (and part of the argument for the indieweb - https://indieweb.org/ ) there are more arguments to be made about privacy, including not only the individual, but also collective harms that the violation of privacy can impact. That argument is challenging to make, because harm changes depending not only on the individual or group and their reason to need privacy, but also on the type of information gathered, and the possible uses of it, which change over time. That kind of shape-shifting argument is challenging to get across, so I can appreciate something simpler. However, when I hear the framing of this as "the problem" I feel nervous, because I hear that as reducing consideration of other possibilities.
For sure. I started a few months back and granted it's a bit overwhelming at first. To me the key was to break it down: I started with a to-do list and scrapbook, then journaling, then org-agenda and just substituting my other GTD tools with org-mode. I can't live without it now.
So, it's like m4 macro processor which author used as XSLT. Could be a good call today if Cog had access to python's AST instead of plain text and interacted with Swagger/OpenAPI or something, I mean tools like autorest.
Samsung throws its weight behind open video standard AV1
Electric cars are a lot of fun to drive, but ultimately I think the incentives are the biggest factor here. I was thinking about getting a pure battery electric car (BEV) but the risk that worried me was how long the range would be in 8-10 years in the cold. I have a short commute now but I did not know where I would be living and working in 8-10 years!
I don’t think that’s actually true, transmission grids are built to handle peak demand, and a doubling or a tripling of total electricity use does not mean a doubling or tripling of peak usage.

In temperate climates for instance charging of cars will almost entirely happen overnight, with a significant rate discount. The basic existence of such a large battery will smooth out the peaks as well as add to them. In fact you’re likely to get far better utilization out of the existing infrastructure, and any new infrastructure which is built, which will bring the per unit costs down.

And in any case, the electricity grid pays for itself, if people are willing to pay the going rate then the infrastructure can be built to satisfy that demand. What is the amount of money spent each year on maintaining and upgrading oil and gas infrastructure? For that matter what is spent maintaining the existing grid? These are huge figures, electricity companies will not be doing this for free, they are happy to maintain the grid in exchange for the revenues that come from it, and they will be only too happy to grow into competitor markets and use what was their competitors’ revenues to fund their expansion.
So, I was all with you folks on the "must be able to buy it outside subscription" requirement, but this example falls really flat. If you want to go the Louvre and see the Mona Lisa, you have to buy a ticket to see it for a day.

Netflix is selling tickets for like ten bucks to see Roma for a whole month.
Most of the successful incumbents have figured out advertising that doesn't suck.

Google AdWords and Facebook Flyers in their early stages were pretty unobtrusive and clicked well with both the audience and advertisers.

With that said, figuring out product-market fit as well as business model fit is going to take time and iteration, your best bet is to nail down some source of personal income, like revenue from contracting, and then use that cashflow to develop the hobby project.
Because it underlines that it's the sum of all elements seen so far. It does not just say "yo, this one here is the accumulator", it also implicitly defines the meaning of "accumulator" by saying "and the code that follows will guarantee that it is always the sum of the elements that have been seen so far". It's almost like a spec for the body of the combining function.

I recognize that in a codebase where every 10 lines there's a reduce or something similar this may not be necessary, in the exact same way that nobody names a C style loop index variable "current_index". But I find that, even in many functional languages, reduces and custom recursive functions aren't that common because the libraries include so many batteries.
This was quite a revealing bit of the puzzle when it was announced. In short (lay persons interpretation): due to a separate issue they had with the airspeed disagree indicator warning they followed the course of action for that which was to speed up the plane to prevent potential stall. You’re flying, you don’t know for certain the speed, so go a bit faster.

But this meant when they had the AoA/MCAS issue they cut off the MCAS and were going too fast to be able to manually trim the aircraft due to the fact MCAS had driven the stabilizer to full deflection. At that speed and that amount of deflection and pulling back with full elevator to try keep the nose up the forces were too great to manually trim.

The solution to that is to ease up on the elevator allow the nose to go down and manually trim then nose back up. But they were too close to the ground still to do that safely. So they needed the electric trim enabled, but that means having the faulty MCAS enabled which they needed off.

Suggested work arounds were to set flaps to 1 while leaving the drab trim cutoff disabled which would’ve disabled the MCAS and let you still electrically trim. But even if you thought of this you can’t extend flaps at 400kt.

If all this is true then this accident is definitely not as cut and dry as everyone thought initially and the solution of “just cut the Stab Trim cutout switches and trim manually” isn’t a solution in certain failure scenarios, namely this one.
If you open a new Live Share session with a folder of code let's say, and then you want to add another folder to the workspace, this disconnects everyone and ends the session. I've reproduced it multiple times.
Investors will ask you what you're up to, and if you're just doing that they won't invest. They also keep an eye on whether you're doing what you say.

Anything that's both simple and mechanical is gonna have problems attracting investment. The guys you're talking to are gonna have problems justifying giving you 2/20 for buying a fund and selling options.

Or should. I've met a lot of investors who didn't ask the right questions.

Regarding the Sharpe, if they know what they're doing they're not just using the textbook version either. There's a paper by Andrew Lo about it, well worth a read, not terribly complex math.
Nice list! I noticed that the list also contains several corrigenda. However, there are corrigenda that are also publicly available yet not on this list.

For example, the hitherto published corrigenda for the Prolog ISO standard (ISO/IEC 13211-1:1995) are also publicly available, or at least you can "preview" the entire documents from the ISO site:

https://www.iso.org/standard/50405.html

https://www.iso.org/standard/58033.html

https://www.iso.org/standard/73194.html
> Lyft’s stock tanking is good for Lyft... what a doozy.

It's not "good". It's "less bad".

And, the really interesting question is if Uber implodes and leaves the field to Lyft, can Lyft actually take advantage of that? That's not at all clear, either.

So, it may simply be that Uber leaves a bigger impact crater before Lyft does.
On 10.14.5 beta I can select and copy the text in the dialog. Still not resizable though.
This was exactly my experience from two years ago. But to my surprise with recent gpg2 versions most of those issues are gone (plus EC ssh key files are supported, older gpg-agent could only do RSA)

scdaemon used to crash all the time, that doesn't happen anymore. GPG doesn't lock the card so I have to stop scdaemon to use it w/ other apps.

So for the last half year I've happily used gpg-agent/scdaemon also as SSH agent and it works really well without any issues.

But setting this up (w/ Ubuntu+Gnome) is still a ridiculous task:

- Ensure gnupg2, scdaemon, pinentry-gnome3 are installed

- cp /etc/xdg/autostart/gnome-keyring-ssh.desktop ~/.config/autostart/

- edit ~/.config/autostart/gnome-keyring-ssh.desktop and add "X-GNOME-Autostart-enabled=false"

- edit ~/.gnupg/gpg-agent.conf and add "enable-ssh-support"

Gnome session startup will read both the "X-GNOME-Autostart-enabled=false" and the "enable-ssh-support" and set up and start gpg-agent as ssh agent in the session. There are other ways to disable a .desktop file, but the String "X-GNOME-Autostart-enabled=false" has to be there for this to work.

When all this is set up usability is excellent. the system will even prompt to plug in the right yubikey when you ssh into something. No need to add/remove the card to/from the agent.
Better: A CS Education That's Free And Gets You A Job
Paradox of tolerance? I think it's built on shaky foundations at best. It assumes that tolerance is the highest value, to which other values (e.g. free speech) can be sacrificed, if necessary. If you value freedom of speech higher, you would not make that sacrifice.

Second, it's doubtful that allowing intolerant speech makes a society intolerant. After all, the society became tolerant when intolerant speech was allowed and accepted - why would this process now reverse itself?

And if it did reverse itself, perhaps there's a good reason for it - perhaps voters aren't happy with the fruits tolerance bore. It's a bit undemocratic to say that free speech philosophers know best how a society should be structured, and if the populace disagrees, they'll be censored until only permitted ideas may be expressed.
do you publish reports / models / analysis ? I've been eager to find such documents for years
Why can't you electrify ambulances? They're specialized taxis, many short trips, spending a lot of time parked. Only time you need long range is for patient transfer between hospitals. Fire trucks only make short trips, and (ideally) have a tiny capacity ratio.

Ditto for construction vehicles, which rarely travel long distances, often want to be heavy for greater traction, and can have surprisingly low power output. (The Cat D5K2 weighs 20,000 pounds but only has a 105 HP engine: https://www.cat.com/en_US/products/new/equipment/dozers/smal... )
Look for articles like this one:

https://www.adweek.com/digital/facebook-and-zynga-battle-ove...

Many of the initial adopters of the Facebook platform were companies like Zynga that were reliant on specific details of the platform, and got very frustrated by platform changes. Many but not all of the changes that Facebook wanted to make during this period were ones that kept data more private.
Yes, I've seen Ice Road Truckers - scary job. Also that environment would be the true test of any EV truck. Which is an area far more in its infancy compared to cars.
"Electric Cars Hit Record in Norway Making Up Nearly 60 Percent of Sales in March"

Where does the headline suggest that? It simply states the makeup of sales.
when's the press conference?
Depends on the app. There are a lot of web / mobile app use cases where stronger consistency is needed, e.g. banking.
I wish I had kept my Amiga, hard drive, and all my floppies from that age. I sold it for what is now a pittance, compared to the sentimental value.
Still. I’m in Portugal and a Tesla costs 5-10x the average annual salary. An e-golf 2-3x I believe. Wealth matters.
Maintain Your Calendar with Git
The pop-science belief is that brain damage is irreversible, so is anyone particularly surprised at this result
That log is painful to read. I definitely sympathize with moot and the mod team, but that was not the way to handle that.
Aren't all these scenarios tested in simulators and in the actual aircraft? If it's not possible to recover the aircraft why was this not know and why was this plane still flying after the first crash?
> programming is closer to composing than performing.

This dependents on individual viewpoint though. Salvador Dalí said (paraphrased be me) expert artists are just good at hiding where they stole an idea from.

Take any technical skill - music, cooking, athletics, etc. - what exactly is a novice looking to learn? Someone looking to learn, say, self-defense is not interested in kinesiology or designing their our combative system. I just want to cook, vs. I want to create my own takes on dishes.

> In that sense, it’s more important to get a feel for theory and aesthetics of programming.

Unfortunately, I disagree and would say this is a fundamental difference in Eastern vs. Western style education philosophy. Western is a little more about the theory and understanding the why; however, I think it provides a weak foundational knowledge of how to translate theory to application. To paraphrase Mike Tyson this time, everyone has a plan until they get punched in the face.

My opinion is that giving students a stronger foundational knowledge in the beginning allows for us to speak theory later because I can trust that you have the ability to implement that theory.
> He also says the winter range is almost the same as the summer range.

That's really interesting, and I'd be curious to know if others share this experience.

I have a plug-in hybrid (Ford CMAX) and live in the Bay Area, which has very mild winters. But even here, the range drops substantially when the temperature is "cold" (below 40° F). Then you turn on the heat, and the range drops even further. My typical experience is that the range is about -30% if it's under 40° outside, and turning on the heat knocks off another 25%.

Things may be very different in a Tesla (which obviously has a much larger battery), but presumably the same rules of physics apply?
I find it hugely ironic that the Department of Justice has refused so far to step in on Google, Amazon, or Apple, as they harm the entire population, but is willing to step in and demand that Netflix be able to win awards for it's movies.

Which is to say, whoever's running antitrust at the DOJ must've really loved Roma.

(I do, as a note, believe Netflix movies should be eligible, I just think the DOJ's priorities are incredibly derailed here.)
Interesting take. Very few are looking at future energy needs - we're mostly concerned about here and how.
This is really great news for Tesla and seems to fit into the "mass production of industrial batteries makes them cheaper" narrative.
I find that few practical folds have that property. I mean, you're not going to actually implement "sum" - there's a library function for that. Your reduces are going to be domain specific, and then order often matters, and explicitly accumulating the result on the left (or right) hand side often has a performance impact (eg when building lists).
The one reason that might make sense is if the objective is to write webapps using webassembly. Rust can compile to webassembly. But that seems more like it would displace something like React or other frontend frameworks rather than Rails. Elixir/Phoenix seems like a much more logical progression from Rails.
I could argue that software developers probably leave some amount of untapped potential on the floor by not at least sometimes attempting to "forget technique," and instead dive into deep flow and get really ambitious about high level results, without engaging in explicit "technique," at each step.

Think about trying to spin up a purely mental model of an entire distributed system in your head, and then attempting to make deep, cross-functional inferences as a result of seeing the forest, and then solidifying those inferences into concrete, but super ambitious goals, instead of "incremental" goals, as everyone seems so fond of talking about nowadays. "Incremental" progress doesn't often produce paradigm shifts in the overall "game", and it's not the only way to approach problem solving.

I think this is mostly due to cost and risk, but I worry that this is an engineering "muscle" to be trained that we allow to wither away through lack of use.
Will there ever be a solar panel that is so powerful it will just run s device all day? This would require a huge amount of storage of power.

I saw an HN article the other day about an American University developing paper thin batteries with superior power storage.

We are truly headed for a major leap towards being independent from non renewable sources of energy
Separating Use and Reuse to Improve Both
To be antipretentious, what about improvisation? It's an important part of many styles of music, and is a form of composition/performance.
Oh my god, this. There was a cartoon on air when I was young (Star Blazers) and it used a fully serial format.

There were about 52 episodes, but I could only watch them in the summer because of conflict with school time.

I knew when my favorite episodes were coming and it was really rough to miss one. Generally I had to wait until the next year to see it, which is effectively forever when you're like seven years old.

VCRs existed, of course, but were far from ubiquitous in the early 80s. They were still sort of a rich person toy at that point. Home video was expensive. Late 80s, early 90s is when video rental joints and cheap VCRs flourished and at that point you pretty much could assume every home had one.
Since there are many anecdotal reports of Facebook failing to delete the profile history data even after closing your account, is there a better way people should be scrubbing their data? Some kind of tool, perhaps, that edits all of your posts and replaces them with scrambled / gibberish text?
Of course it means that it stays out of the way by default.

We have a legal system based on blacklisting things that aren't permitted not a legal system based on whitelisting things that are allowed. And furthermore we have a meta-blacklist of things the government isn't allowed to blacklist (i.e. government can't add prohibitions that infringe on individual rights and liberty, broadly speaking)
Yes, my experience is mainly just performing. I haven't done any composition. Maybe if I had, I would've come up with some different analogies.

I think the analogy to playing music still works, though. You iterate on a piece by practicing it repeatedly, "adding features" (improving technique), "fixing bugs" (smoothing out passages where you often make mistakes), "polishing the code" (intonation, ornamentation etc).

That being said, maybe I should've picked a different title--the analogy to musicians was a source of inspiration for me but isn't really the meat of the idea, I think.
Airline Booking Hacks
What would make it easier IMHO is to make it a top-down version only. Take a photo from the top, then the program breaks down the board into 8x8 squares, feeds each square into a classification algorithm that you will train on a bunch of hand labeled images. Fine tune the model as you gather more data.
I am so used to getting downvoted for saying true things that don't fit the HN groupthink.
That is if you care about other people feeling.
Oh hi: https://www.tesla.com/powerpack
Cone is developed as a proof of concept for the author's paper Gradual Memory Management[1]. The author is experienced in language development and has previously written Acorn. It was seen as more appropriate to write a new language rather than trying to tack the idea onto an existing language.

[1]:http://jondgoodwin.com/pling/gmm.pdf
Tesla Model 3 = #1 Electric Car in Europe
Hacker Tools
MIT course
Learn to make the most of the tools that hackers have been using for decades.
https://hacker-tools.github.io
I still find it shocking that many people in society quote what originates from dystopian propaganda. The phrase "You have nothing to fear if you have nothing to hide." is commonly attributed to Goebbels, because he popularized it. Though there's an earlier precedent[0], it is also a dystopian reference. So I think there's something wrong when people are quoting literal Nazi propaganda, and having that belief ingrained.

[0] https://english.stackexchange.com/questions/217196/origin-of...
No, you don't suddenly own that film you are streaming. What a ridiculous idea.
Yes, let's give our adversaries a list of things we want to cover up.

I'll wait for one in the wild example before I take seriously that it's possible and we are technologically there yet.

The Amazon blimp (using straight old CGI) was an interesting attack that actually exists.

https://www.snopes.com/fact-check/amazon-drone-releasing-bli...