skysight-inc/HackerNews huggingface dataset:
A no-brainer.

Next good idea?
Meh, sadly too late to correct.
I think the author is specifically saying that the economic dichotomy that pits capitalism vs communism no longer holds. Basically that modern technology has taken us (and continues to take us) to a point where all of that is moot, but what replaces it has yet emerge. I somewhat disagree, I don't think the economy has moved or is about to move on to quite the degree he seems to believe, and that certain things like modern monetary policy are some of the early vehicles that take us beyond that dichotomy.
It's not implied, it's explicit in Python. you have to put it right there in the method signature! And it's obvious when python passes it in cause you used dot syntax!

Other languages have implied "this" or "self".

class LiterallyThere:
def method(self, foo):
"Literally explicit, self"

Dot operator means apply this method to thing left of dot by executing method with thing on left as first arg.

LiterallyThere.method('foo')

passes the class object LitterallyThere as the first arg

lt = LiterallyThere()

lt.method('foo')

passes the instance of the class object represented by lt as the first argument.

method(something, 'foo')

If you were able to reference method without a dot, you would have to supply two arguments cause method takes two arguments.

You literally, explicitly have to tell the interpreter what you are passing as first parameter and you method signature has to literally, explicitly accept that parameter.
Curious if your coworkers have looked Eta, a Haskell on the JVM?

Also curious how your Haskellers and Clojurers are peaceably coexisting? (I ask this lightly but still curious :)
Yeah, the lack of high-quality, public databases for certain issues is unfortunate.

A couple years ago I sat in on a talk by a guy in D.C. who had led a small beltway coalition for over a decade to get data processes standardized across the largest departments within the federal government. Things they achieved, that made one think the U.S. was simply moving from being stuck in the 70's to being stuck in the 80's ,were quite clearly exciting wins for him.
Another Central point which has not been mentioned here is that since government imposes a tax on a society in the base currency, then by definition it controls unemployment in that base currency. As a result, the government should offer or provide a job guarantee in order to close that gap. Note to socialist/alarmist types, this is a job that would put a floor on labor.
SharedArrayBuffer -> shared

ArrayBuffer -> ownership can be transferred around, but the data can only be owned by one thread at a time. The data itself isn't copied. Passing around ArrayBuffers back and forth is good enough for a lot of stuff.
In a worker you can then put a node Buffer, TypedArray, or DataView around the ArrayBuffer again, if you want.
I assume since it's using OpenGL that even more mundane stuff, like "select text", and "copy" might not work.

Edit: Yes, appears to be an issue, but it does sound like they plan on making it work: https://github.com/fyne-io/fyne/issues/67
It's interesting to see the use of cameras instead of scanners; it certainly speeds up the process, and good ones are now of comparable resolution, a huge change from the days when 'cammed' ebooks were considered inferior to "properly scanned" ones.

For those curious, the results are here: http://dloc.com/AA00047511/00001/allvolumes

The 'PDF' link is exactly what it claims to be, something a little unexpected for me to see on the page of an official library. No DRM or other obfuscatory techniques.
Usually this forum is full of people praising Airbnb/uber for ignoring regulation.

Now it seems like we might need that regulation for a reason.

Your post just happened to include both sides of that quite comically.
Arcane cursor moving commands have never saved me orders of magnitude more time. They are in fact a quickly forgotten inconvenience.

Now, things like Emmet and the possibility of having hundreds of simultaneous editing cursors, these things really save time, and work in an intuitive editor like SublimeText.
> That's not true, it wouldn't conserve energy. The kinetic energy of the object that's hit changes, so the light must lose or gain energy.

You mean that as the "path" of the photon is changed by hitting the target object, the vector of the target object must change accordingly? (if yes then how "can" the new vector of the target object computed, if the source object/photon has no mass (I would basically miss a variable for the equation)? IF it does have no mass...)
At the very least, browser vendors would need to keep shipping new versions because web standards continue to change rapidly. It's already the case that some web developers complain about Safari not keeping up.

I suppose someday web standards could be considered "done" but we're nowhere near a consensus on that. I couldn't see Chrome ever doing this and imagine the complaints if someday they said "okay, good enough."
1)

A photon's momentum is related to its wavelength, not it's speed. They all have the same speed in a vacuum.

2)

Sure.

> So, a remix of the original question, haha: if we say that a photon has no mass, but at the same time we say that momentum needs mass, then if we say that a photon has momentum we're screwed, no?

We would be screwed, but momentum doesn't need mass.
backwindow
Show HN: 17871 Color-Names & color tools
Among others, I am maintaining, what I believe, is the largest collection of unique color-names. To go with it, I created a few tools to help users explore and understand the huge list:

Color Picker (Klick the icon): https://codepen.io/meodai/full/mEvZRx/

Full List: https://codepen.io/meodai/full/VMpNdQ/

Color Name distribution: https://codepen.io/meodai/full/zdgXJj/ in different color spaces

As well as some tools that are related to color in general and just made a bit nicer by adding unique names to hex values:

color harmony generator: https://codepen.io/meodai/full/RerqjG,

color space explorer: https://codepen.io/meodai/full/KagxwW,

mouse position based color picker: https://codepen.io/meodai/full/bWOBja,

color name bingo: https://codepen.io/meodai/full/ZPRQZz

I am still missing lots of saturated colors. Any idea, how I could generate color values that are the furthest possible then the ones that are already there? (Something like "reverse nearest vector"?)

The repository: https://github.com/meodai/color-names
There are different ways to submit new names. Via twitter (automated bot is in the making), google docs form and of course via pull request on the repository.

On every push, a list of the new colors is generated:
https://raw.githubusercontent.com/meodai/color-names/master/...

Also working on a more extensive tool to explore colors in general, that will end up here https://www.color.pizza/ in a not too far future I hope ;) https://www.youtube.com/watch?v=GCGUqAQcfFw

Any thoughts, inputs, critiques and of course color name submissions are welcome!

I should add that I don't do this for a particular reason other then enjoying the process of coming up with names, building color tools and optimising the whole workflow that surrounds the maintenance and publishing of the list: https://github.com/meodai/color-names/tree/master/scripts
Ask HN: How to obtain a Theranos Edison?
Any idea where they went?

I'd love to collect one and put it in our office to remind of what happens when you lose sight of the end customer.

Wikipedia says the assets were released to Theranos' creditors. I see that Fortress has the patents now, but how about the actual machines?
The s has a lip around the door so rainfall doesn't go into the trunk. It seems stupid they dropped that on the 3.
I deployed a consumer desktop application on xulrunner (really pre xulrunner) targeting windoze and OS X. I had a Linux version working too. I still from that experience believe html,css,js is the best choice for user facing applications. It was a health app for medical records so in 2004-5 we felt privacy wa s the main reason to not do this as a web app. We still had users that I know of until 2012, if I hadn’t lost the code I’d have open sourced it
Second time I've read this question on this site today.

What are you guys installing/who builds your ROMs?
Invisible cities is wonderful, I'm excited for you.

And speaking of invisible cities, I came across this really neat project a little while ago:

https://github.com/mewo2/deserts/raw/master/novel.pdf

If I remember correctly (don't have the time atm to dig into it again) the project had first trained one net to generate images, then had another one trained on invisible cities to create the descriptions for the images. The above pdf is the output.
This sounds more like a book that failed because it is a rudimentary analysis of an uninteresting data set. News flash: the general book-reading Atlantic Monthly subscribing population doesn’t really care about the word cloud of Alabama Craigslist hookup posts.
I'm reminded of the Theranos scandal. If Holmes had spent half the money on generous severace packages as she spent on lawyers and private investigators, probably Theranos would have quietly faded into a generic lab automation / contract medical testing company instead of imploding.
A sitting president can not be indicted by the DoJ, per DoJ policy. There is no law whatsoever, but only a memo that makes a policy from the DoJ's OLC (Office Of Legal Opinion). If you think this is a law, you are mistaken.
>The problem is you can't really run an economic system where only a very few percent of people take all the gains...

I could be wrong here, but I think the commenter, and the author of the article, are speaking on the bipolar nature of creative jobs like manager, designer, or programmer. The value of different designers and programmers to, say, Apple and Google, is kind of bipolar right now. The concern being that it will be more bipolar in the future. Right now we have the 5 or 6 figure a year sort of "warm body" programmer, and you are correct in asserting that anyone can do that job. But, we also have the 7 figure programmer, and only the very best can do that job.

I think their concern is what if the 7 figure Apple designer turns into a high 7 or 8 figure Apple designer, and the "warm body" designers get less and less over time? Kind of like athletes. A few 8 or 9 figure soccer and basketball players, and then all of the others. Most of whom will never be able to make a living at their sport professionally. (Consider: How many young girls did our athletics infrastructure chew through to get Simone Biles? I don't really know? But I'm guessing it was a lot.)

I think it's a fair concern. Certainly well within the purview of the sort of concerns we should be war gaming out at the policy making level.

All that said, yeah, your world of 20 hours a week sounds pretty sweet to me.
A more realistic test would require, e.g. encrypting a large number of potentially somewhat structured inputs... and then decoding some of them. Weaknesses like that can be translated to real exploits in usage. Unfortunately, doing that would leak information the structure of the backdoor based on which texts could be decoded ... so you'd want to isolate that knowledge.
Well, I was huge fan of CoffeeScript, so you’ve got me there. I don’t regret a single one of the (many) times I used it though. It made me and the teams I was part of significantly more productive and allowed us to produce more concise and maintainable code than we could have with plain JS. I feel the same about TypeScript today except honestly the productivity gains are a lot more dramatic.
"Greek Historian" being, uh, Herodotus, the "Father of History".
I wanted to chime in that I found that link helpful! I'd wondered why I didn't relate with spoon theory in the past. Spoon theory seems to apply for me only when I'm near capacity and don't have much slack (in the vein of https://www.lesswrong.com/posts/yLLkWMDbC9ZNKbjDG/slack). In those cases, I definitely notice that I will crave downtime, especially if I've had a lot of social activities. If I'm below 75% capacity, I think the momentum model best describes my situation. So if I could spend a couple more hours studying a new concept, working on a side project, or even just chores and life maintenance, it doesn't use up any of my spoons--I just have to put some effort in and collect the momentum to do more.
> Not sure what this means. The only support I need in an editor is the
ability to use tab and shift tab on blocks of text to change the indentation
level. It's visually obvious when code is correctly indented.

In Emacs you can use C-M-f and C-M-b to move back and forth over / select
paren/bracket/brace delimited blocks, or in vi you can use %, both with 0
configuration in a language-unaware state. If you're editing C or Lisp or
whatever, these generic commands are useful. Editors don't tend to have
move-to-next-less-indented-line (and similar) commands outside of Python modes
or similar, in my experience, and even if they did, they'd need a bit more
work than that to work properly because of indenting subexpressions.
VW Dieselgate didn't directly kill 400 people, though.
Remember that e.g. any chinese text will contain only non-ascii characters.
One should evaluate all relevant characteristics, both technical and non-technical.
Well I was thinking of the ones that mattered. Gates is still alive of course. Mickeysoft was really founded in New Mexico but moved to Seattle because they were both from here.
Amiga was very likely a SCSI drive vs IDE
At the moment that is lacking - we intend to add it in a future version as accessibility is important
Thanks for the link to the interviews - it's great to picture the face to the artist.

Here's my tribute to Ben:

10 PRINT "BEN IS GREAT"

20 GOTO 10
A fair point. At this time it is desktop only but the design of the API does not limit this. People are looking at mobile and web drivers but this will be a fair distance off I expect.
I moved from a 2009 Chevy Aveo with 108hp to a 2003 Accord with a V6 and 240hp... Aveo had a manual transmission, and I miss having one so much.

Everything else about the Accord is significantly better, but man do I miss having a stick shift.
I'm extremely wary of trends being stated as if they're inevitable, rather than due to explicit choices. The entire field of popular economics is rife with this, obscuring overt state policies as if they are scientific fact.

> Using Orwellian terms like "Quantitative Easing" or "Troubled Asset Relief", central banks print money and transfer wealth to avoid the market’s verdict.

We're getting closer here. But overall it's not to avoid the market's "verdict" when things come to a head, but something much more persistent and plain.

What's failing about capitalism is the capital part. Obviously not those ever-concentrating pools bidding up every possible investment to avoid being left behind. But rather that capital isn't permitted to remain distributed throughout the economy (which would enable individuals to shoulder their own risks), but instead is trickled upwards through the old playbook of inflation.

This is an explicit choice being made, while its proponents pretend it's unquestionable. We're in an era of unprecedented technological deflation, doing things more efficiently every day, yet the cost of living is still expected to continually rise?!

We're automating away ever more jobs, while simultaneously asserting that employment must remain high. And when it doesn't remain high the alchemists' prescription is to further debase wages and middle class savings, as if the only thing keeping displaced workers unemployed is simply not having the screws turned on them hard enough!

We've had over four decades of steady deflation of computing technology itself. And not simply that a given model would be cheaper tomorrow, but that tomorrow's computer will be able to do things today's literally cannot. Yet we still bought new computers throughout this period, even knowing they would be obsolete on a timescale of several years.

The deflation bogeyman was born out of an era where slow price signals were necessary to negotiate demand. We now have cheap communication, predictive models, and straight up abundance. People will not starve themselves simply because they know food will be less expensive next month.
Antibiotic misuse is a problem but in this case you are completely wrong, and you really should think twice before making accusations of professional misconduct when you have no idea of the facts.
you’re kidding right?

you think ads are bad?! whatabout hunger, disease, and war?!

Yes, they are all bad, and so are ads.
Double manual transmissions with computer controlled (often wet) clutches are the current fastest trans. They don’t have a left pedal, but they’re mechanically more like a manual trans than a traditional automatic.
TypeScript is a more expressive, concise, intuitive, and popular version of jsdoc that can be statically enforced by a compiler, provide autocompletion, and will never get out of date. I just don’t see the downside of using TS in place of jsdoc—the syntax is even pretty comparable.
I love 3D Touch, it makes user interfaces better by far. I think calling it a bad technology is completely baseless. I know multiple people who won't upgrade their iPad until they get 3D Touch. Peeking/popping links in a browser is the best UI upgrade to mobile web since scrolling with momentum.

>3D touch just feels like random events are happening for no reason.

I completely disagree, random events is what you get "Between long press, tap, and drag"--3D Touch gives you a similar semblance of control over your smartphone that you'd expect from other HIDs like a mouse. Maybe it's an age thing though, I'm in my 20s, and haven't been able to get my parents to adopt 3D Touch features.
Yes, using its momentum and energy.

Here you can read the relations between a photon's momentum and things like wavelength. Without any mass :)

https://en.wikipedia.org/wiki/Photon_momentum#Physical_prope...

(You need to scroll down a bit for the formulas)

These results come from special relativity(and a bit of quantum mechanics), which you really need if things don't have mass.
By 'porting servo' do you mean a browser that uses Servo but it isn't Firefox? That'd actually be pretty neat, all the good bits of FF without (respectfully i say this) the cruft.
> 1) Your kid likes (1) helping the homeless and (2) Ramsey Theory and (3) helping the homeless learn Ramsey Theory.

Bad form sir, bad form.
None of those are in yet.
Tree views and data grids require a data binding API that we have not yet decided on.
HTML view is going to be difficult on Linux as we don’t want to bring in GTK or Qt - but we will get there.
The real tragedy, in all of this, is the feeling of compulsion that these economically disadvantaged kids face to use their intellect to improve their financial situation.

There was a kid in my statistical theory class who blew my mind with his raw brain power. Came from Nigeria, could have easily pursued a PhD from a top program. Perhaps gone on to do some great research.

Where did he end up..? An actuary. Why? The economic stability and progression in the profession.

For me this is the real tragedy.

I hope this kid gets to use his gift to do something more than afford an expensive bottle of wine some day.
Yes, it read the whole track, starting from wherever the head was, then the floppy device handler figured where each logical block was, based on the magic sync word $4489 (which is not supposed to be output by the default MFM encoding) and track/sector IDs embedded in the track's bitstream.
Most active prior submit, 140+ points:

https://news.ycombinator.com/item?id=15122031
Computer Systems Security – MIT OCW
What Citrix is doing with Xenserver
So does decent, affordable (or "free"), healthcare. On balance I'll take NHS over autophagy.
I would argue that it’s very high stakes, and not looking where you’re driving is incredibly dangerous. Perhaps especially so when doing something mundane like backing out of a spot.
With a best of the best system, you've got to work all waking hours to have a chance of being the best.

So rather than 20h each, we should see some people working a lot, and then a lot of people realizing they have no chance of making it and dropping out of the system completely.
I would make a similar argument about gun control: Gun control can be used to great effect by tyrants, but offers minimal benefits at best under a normal regime.

For those who think gun control provides a large benefit, consider that murder has already become a minor problem in the US -- around 1/20 of what it was during colonial america. Suicide is much more common (and not easily reduced with gun control). Gun control is usually badly written (e.g. restricting rifles, which account for a tiny fraction of murders) and clumsily implemented and poorly enforced, and surely won't bring murders to zero.

Compare to a situation like Venezuela, where the military is literally blocking food aid from hungry people. I wonder how long that would last with civilian gun ownership?
It's too long for an HN comment. There are so many things to consider. The safe choice is probably to not use Material UI. Here's a nice article from the point of view of someone who decided against it. The comment thread is good too. https://medium.com/techtrument/bye-bye-material-design-acaeb...

As for the vitriol, here's a quote from the comments on the above post:

"As much I agree with you about what it has given to the community, as I disagree about not being fair to criticise it. Every creation should be criticised, especially if it’s unquestionably used by millions. Otherwise we won’t get anywhere. Criticism is not bad, even if it is done harshly. Especially in the age of corporations and their visually subliminal effects on an entire civilisation, I cannot possibly promote discouragement to criticism like you do."
You mean like html, css and wasm :)
> I have zero doubts that those ciphers are intentionally backdoored.

> And they are required if you're interacting with government state information systems

What interest would the government have to have interaction with government state information systems done using broken/backdoored ciphers?
Not sure which thread I first saw this suggestion, but it was only about 2-3 weeks ago; I bought all of their books, and I've been very satisfied. So, thank you to all HN goers who make this recommendation! It is solid.
You may not claim to have a horse in the race, but rhetoric like this doesn't point you as non biased.

Clojure has yet to impress me, but most of the poor code in any language I have dealt with stemmed from people trying to redefine the norms of the language they were using. And attempting to solve problems they would be lucky to grow into.
The MFM encoding used 2 raw bits for each bit of data to be stored. As such, people figured how to use the Blitter to do just that. I'm not sure if the OS did it; it was probably not the case in the 1.x days.
Is there evidence backing givewell's advice?
> More and more, the types of jobs that add value are the types of jobs where really only the best add much value [...] In those jobs, the very best take the vast lion's share of income because what the best produce is valued so much more highly than everyone else.

Your perspective is in agreement with studies in network science, which have uncovered that in a wide variety of physical, biological, and man-made phenomena, the network models follow a power law distribution, and as a result, you end up with situations such as, for example Kim Kardashian having 130M followers, while the average Instagram user probably has about 1-2k followers. Other similar distributions: income, research paper citations, world wide web, etc.

It appears that uneven distributions are inevitable in free human networks, or as Will & Ariel Durant once noted:

> Nature smiles at the union of freedom and equality in our utopias. For freedom and equality are sworn and everlasting enemies, and when one prevails the other dies.