skysight-inc/HackerNews huggingface dataset:
I second the "brain vomit" approach. I'm not entirely sure it works for everybody, but for people like me who are introverted and not so emotionally coherent, writing everything down like this is like burrowing through to the main route of a problem. It's like going into a photo lab with your negative, and you sit there slowly watching your neuroses / problems / bullshit appear before your eyes on paper. Magic.

The older I get, the more I realise the most important thing we owe ourselves and each other is greater self awareness, and this tool/process is invaluable in achieving that. At the very least, will give you the clarity needed for coding.
It's ironic that we're having this conversation again in a thread about Snapchat's relationship to Facebook.

Facebook was "Worth" $92 billion when they IPOed and most people on HN lost their minds about how overvalued they were when the stock dipped on that first day:

https://news.ycombinator.com/item?id=4002730

Now Facebook's equity is worth $400 billion.

Amazon IPOed in 1997.. they didn't "make money" for over a decade, and even then, it was a tiny return. In the mean time, they built a massive business that's worth more than $430 billion today. Whether or not a company is making money in the most recent quarter has very little to do with their prospects.
> The society is sick. When everyone is psychopathic

Can you elaborate on what you mean here? In what way is the society of Bangkok "sick and psychopathic"?
University of Michigan has a few /16s that they still lease to all devices on their network - wireless and wired.
Who was MySpace's competitor in 2005?
ARM Antes Up for an HPC Software Stack
I don't think that most of Marx's analysis of capitalism falls flat in the face of modern developments; some of it of course do (such as his theorised 'Asiatic mode of production' which didn't exist) but for the most part I think a Marxian analysis is a cogent one, at least from what I've seen. Marx was in a good position to envisage how technology would develop, having seen the result of the industrial revolution himself. Marx intended for his analysis of capitalism to hold regardless of time frame; arguably, and indeed into the future beyond capitalism taking the form of the theory of historical materialism.
That pricing sounds waaaay too low to me; these are big, cutting edge parts, basically unobtainium at the moment unless you have a close relationship with Xilinx. When they reach the channel they will not be cheap either.

https://octopart.com/search?q=xcvu9p
"Your data structure looks to me like it's roughly optimal for the case where the DOM tree is generated once and then is never or rarely modified"

Check gmail for example. It has just one list - element that has 100 children. Other elements have from 0 to 10 children.

And that 100 list is normally populated as a whole.

"even one without any children, you have to allocate a new `vector`"

You don't need to allocate anything if vector is empty ...

Vectors's data buffer gets allocated only when you put something in the vector. At least in my case. So empty vector is just one pointer - nothing to write home about it.

"every insertion, move or deletion in an arbitrary location requires updating the `node_index` of every sibling"

On any DOM insertion you need to scan all siblings almost always anyway. For quite many reasons, e.g. to reset styles that could use `this ~ that` or something like `:nth-child(odd)`
I am reminded of Feynman's musings on rat mazes. Are they quite sure they're measuring what they believe they're measuring?

> For example, there have been many experiments running rats through all kinds of mazes, and so on—with little clear result. But in 1937 a man named Young did a very interesting one. He had a long corridor with doors all along one side where the rats came in, and doors along the other side where the food was. He wanted to see if he could train the rats to go in at the third door down from wherever he started them off. No. The rats went immediately to the door where the food had been the time before.

The question was, how did the rats know, because the corridor was so beautifully built and so uniform, that this was the same door as before? Obviously there was something about the door that was different from the other doors. So he painted the doors very carefully, arranging the textures on the faces of the doors exactly the same. Still the rats could tell. Then he thought maybe the rats were smelling the food, so he used chemicals to change the smell after each run. Still the rats could tell. Then he realized the rats might be able to tell by seeing the lights and the arrangement in the laboratory like any commonsense person. So he covered the corridor, and, still the rats could tell.

He finally found that they could tell by the way the floor sounded when they ran over it. And he could only fix that by putting his corridor in sand. So he covered one after another of all possible clues and finally was able to fool the rats so that they had to learn to go in the third door. If he relaxed any of his conditions, the rats could tell.

Now, from a scientific standpoint, that is an A‑Number‑l experiment. That is the experiment that makes rat‑running experiments sensible, because it uncovers the clues that the rat is really using—not what you think it’s using. And that is the experiment that tells exactly what conditions you have to use in order to be careful and control everything in an experiment with rat‑running.
Well, there is a technology called FNIRS, which uses infrared light to detect blood flow in the brain kind of like fMRI, but without the giant expensive equipment. It's pretty new, and the signal is quite noisy. I'm skeptical of how good the quality of the interface could be when there is an unavoidable 2-4 second latency due to blood flow.
Open-Sourcing Litho, a Declarative UI Framework for Android
I'm surprised Tesla hasn't tossed in the standard mandatory arbitration/anti-class action BS in their EULA.
We have a number of Next sites in development at the moment, but none in production (soon!).

SEO shouldn't be a problem, especially as the initial page is serverside rendered.

The only slight complexity is in returning sitemap.xml I believe, which requires a little bit more configuration currently. If you search the Github repo for 'SEO' you should find some tickets (open and / or closed) that discuss this.
Great comment. I would only add to this:

> Napoleon's defeat, though a great relief to the rest of Europe, was a blow to the French pride. (As far as I am aware, he is still a national hero in France to this day.)

Yes, to this very day he has a tomb fit for an Emperor[0]. Established in 1861, only a short ten years before the Franco-Prussian War.

[0]: https://en.wikipedia.org/wiki/Les_Invalides#Tombs
Yep, same with Cox in my area. I'm running Sophos UTM Home which supports prefix delegation, I'm sure there are others that are plug and play as well.
Mainly the development cost. We trust OCR and have good experience with it, it's stable, fast and compact. We don't have any experience with Parquet and it's just too hard/risky to make this kind of conversion on a production system.
> Reminds me of the situation in China, where unless you have a house and a car, you're basically persona-non-grata.

That's vast exageration and it's sad people believe this common myth about China, lived there plenty of years and yes, it's common phenomenom, but so it's marriage out of love. I knew plenty of mixed couples and also plenty of local couples who contradict this claim. Pretty much none of my foreign coworkers had house or car and married if they wanted (yes, some traditional parents were not happy about it, but it was usually more about being foreigner than wealth) and so did Chinese couples doing naked wedding. I really recommend to you explore term "naked wedding" (it means without house/car) which is more and more common since properties in China are more expensive every week.

I find personally this selfpity about how you are screwed if you are not making tons of moeny and havin great car and house a lame excuse, as if all girls living would be gold diggers, but I guess in this website where is maybe 98% readers men it sounds plausible in this echo chamber.
I'm currently thinking through the design of a pattern-matching feature for JavaScript, through a superset I'm building called LightScript[0].

I liked that this article laid out the specific options and various shades of gray that can constitute parts of "pattern matching".

I'm curious for thoughts on a syntax like this:

x = match y:
case > 3: () => "it's bigger than three"
case 2: () => "it's strictly equal to two"
case Integer: (x) => `some int smaller than two: ${x}`
case String: (s) => `some string: ${s}`
case Array: ([ first, ...rest ]) => `a list starting with ${first}`
case Object: ({ a, b }) => `an object with property a: ${a}`

This is somewhat more difficult given that even when using Flow or TypeScript, there's relatively little type granularity available at runtime.

Any thoughts?

[0] http://lightscript.org
Meet the Foreign Tech Workers Left in Limbo by Trump
I agree this does look like a very good technology for hands free communication. I'm still worried about the possible cons. So, do you think it would likely take more than a software update for it's ability to access your thoughts? Because, even if the technology isn't quite there yet if they can just somewhere down the road update these things over the air with these capabilities it seems a little frightening.
What's so bad about high-Z inputs? Designing around a floating input is the same as designing around an undefined variable. Bad design but you can't "hurt" the hardware.
This is not just a hypothetical proposal, I believe there is a working prototype and a lot of thought has gone into this. More things are coming, but pattern matching is a low hanging fruit that doesn't have difficult interactions with the type system or VM. Value classes need a lot of language enhancement to be really useful, and those things are likely to land before value classes themselves.
I'm confused a bit by this. You're both suggesting what your pros and cons are. I thought the best way would be to do an intro of your business and see if we could find a thread there as to why we weren't selected.

Out of curiosity, was your demo video ever viewed? I can see from Youtube stats that nobody in the US ever viewed it, and one person in France viewed it for 3 seconds. I'd suggest I never even got a fair shake, and this was after a YC Alum helped with my application and felt I had a good chance.
These aren't the basic VU9x's. The specs put them somewhere around the highest end card on that series: the XCVU37P, with 64GB DDR4 and 2.8 million cells/7k DSPs.

That isn't a $2k card attached over fabric... It's probably closer to a $40,000 card.
Agreed 100%. I know of a few winners. Places I'll go out of my way to visit. But most of them serve garbage to dumb tourists thinking they're having an authentic Thai experience and locals too poor to care about the quality.

I can't help at laugh at the people who freak out over a hair in their food back home but gladly sit there and eat off plates that have been washed in a tub of dirty water. Or the locals who think they're being clean and taking a tissue and wiping their utensils before eating. Believe me, the stuff you should be afraid of does not wipe off with a piece of toilet paper (aka Thai napkin).

And I have the same answer every time they have one of these crackdowns and someone bemoans the plight of the poor Thai person just trying to make a living. Thais have a knack for killing things. A few food stalls would go mostly unnoticed. Instead, they slowly consume the entire sidewalk. And then they spill out onto the street. They become hazardous to both pedestrian and vehicles. And because there's so much competition, they go to increasingly annoying lengths to get customers.

I've seen people get clipped by motorbikes walking off of the sidewalk into the street because the vendors have completely blocked the sidewalk. Screw the street vendors. How about a little sympathy for the people almost getting killed so someone can sell some fish balls?
Remember

"No wireless. Less space than a nomad. Lame."

https://slashdot.org/story/01/10/23/1816257/apple-releases-i...

I think Pepperidge farm remembering past innovations as more glorious than current day innovations is not a new phenomenon.
When you say pointers, do you actually mean pointers?

I've implemented something like you describe before in a game engine for a managed language.

Instead of using pointers though I used integers throughout.

The actual state was maintained in a flat vector of element blocks and were stable.

The nice thing about integers on a GC'd platform are that they are opaque to the GC so zero time was spent on pointer chasing.

The other nice thing is you could literally dump the entire state to disk or restore pretty much in one go.

Looks good though, and I agree (as you mention further down) that state can often be part of multiple list/trees simultaneously, so it makes better sense to keep them separate.
Tails 2.12 released
Pattern matching allows far more than just branching by type comparisons. And I disagree that this is bad code style, this is actually a very common pattern in compilers (e.g. when you iterate a list of instructions, which may be of different types)
I apologize if this comes off as 'mansplaining', but I ask this with genuine curiosity:

Is the "only" a necessary qualifier in this? 17% is an impressive and laudable number; notwithstanding the plateau effect of recent years. Nearly a third of startup founders are women? That's a cool number I honestly would not have known about otherwise and to be genuine, never really even gave thought about.
I wonder how much it costs to lay the cable. If you offered $10k/20k to your ISP, they might be able to come up with a solution for you even in a rural area.
Smartphone and laptop light sensors leaking private data
The phrase "they ought to have known better" comes to mind.

... as does "play stupid games, win stupid prizes".
Closure Compiler vs. Webpack
If the best nights of your life were at Sukhumvit food stalls, you're doing something wrong. :-)
The closest thing in English is Tesuji by James Davies (http://senseis.xmp.net/?TesujiTheBook). It already presumes that you know a bit about Go, though (the very simplest tactics are taken for granted).
Isn't Boomerang already part of Outlook now?
> A lot of people underestimate that Snapchat has already captured a whole generation

So did Hi5 back in the day, and it still went the way of the dodo. If you cater to attention-deficient people, they will leave in droves as soon as the next fad comes along.
AdNauseam is more fun.
Other comments have greatly expounded on this, but I would point out that 45 years isn't long if you figure that government and military leaders would have been in their 50's and 60's and would have had vivid memories of such a drastic event, even if they were too young to participate directly. They could have also lost older relatives in the fighting.
no analysis feels complete unless it factors both benefits and costs. this post seems lopsided on the cost-side.

the author persuasively portrays the negative effects of a facebook monopoly, but does not objectively delve into the benefits.

consider the subsequent disruptions spawned by AT&T research, for example. even though AT&T itself did not commercialize most of these products (e.g., the semi-conductor), can anyone credibly argue AT&T did not foster innovation?

similarly, google's search monopoly produced cheaper smartphones, free worldwide communication, and self-driving cars.

facebook's monopoly lets it advance research on AI, drones, VR, internet access, and human-to-human communication.

it's far too early to judge if facebook harms or helps innovation.

perhaps there is enough data to assess google, however. one of google's victims is yelp. if yelp is worth $20B instead of $3B, but we don't have all the benefits of google's massive cash flow, is society better off? if we repeat the process for every google competitor, we can start to engage in an unbiased evaluation of google as a monopolist.

to clarify, i'm neither advocating for nor disparaging monopolies. the author is very sharp and one of the best tech analysts today. i'm simply hoping for fair and balanced analyses so we can reach informed conclusions.
I would tend to disagree with this. Grandparent may value your child more than worker in daycare, but socialization of your child will suffer a lot, so will its development, child need to be with peers and not home with 2 old people. Same goes for playing and learning, there justisn't enough stimulation at home compared to daycare.
Reversible (in the paper's sense) is more about the paths information takes than whether it's recoverable in principle. Lossless compression is reversible, but a reversible computer performing it would still need to have storage equal to the size of the entire original data.

It's also important to note that the fact that you are doing calculations isn't the direct cause of energy consumption. Landhauer's principle is a consequence of the second law of thermodynamics, which mandates certain heat losses in certain situations but doesn't tell you anything about how they happen. The question of what actually causes the second law of thermodynamics to hold at the level of fundamental interactions is called Loschmidt's paradox, and there's not really a consensus as to whether we have an answer.
US had a massive civil war, further only a fraction of democracy's evem last 100 years. Germany, France, Turkey, Russia, Iran, etc are all well known. But, look at South America or Africa and you see many countries hold elections, but not consistently over time.

PS: The US scores relatively low on several measures of democracy. Relatively few house seats are competitive with many candidates unposed. D.C. has zero power in congress yet can't even run it's own budget. The president frequently loses the popular vote by huge margins. Is so something of a nominal democracy where without massive backlash the people have little say.
> two superpowers with nuclear overkill capability glaring at each other but not doing much.

Those glares killed a lot of people in proxy wars around the globe.
Doesn't Chisel (in theory) support all FPGA tools out of the box? Chisel compiles to Verilog[1], so all you would need to do is import the resulting Verilog into the Xilinx toolchain, then test and synthesize it.

[1]: The full process is Chisel -> Firrtl -> Verilog, which is analogous to C++ -> LLVM IR -> ASM.
How many IP addresses do the roughly 12,000 students, 1,000 faculty, and 8,600 staff at MIT use? Do they use an average of 800 publicly-routable IPv4 addresses per person? Do they need that many? Do they want that many? Do they have projects that would actually use those IP addresses?

Mind you, an /8 block might sell for maybe $3-$7 per address, or $50M on the conservative side.
I didn't find that in the AWS docs. Can you point me to where this is mentioned?
I've found a video of Overdrive 2 demo running on an emulator [1]. It is curious/interesting how different/broken is in the emulation vs the real hardware.

[1] https://www.youtube.com/watch?v=WJ3AsZp-yTA
Hard Real-time Android
"MIT [...] asked for over 16,000,000 of them"

I don't think they specifically asked for 16 million of them. Back at the time, that was the unit in which they were doled out. https://en.wikipedia.org/wiki/Classful_network#Background:

"Originally, a 32-bit IPv4 address was logically subdivided into the network number field, the most significant 8 bits of an address, which specified the particular network a host was attached to, and the local address, also called rest field (the rest of the address), which uniquely identifies a host connected to that network. This format was sufficient at a time when only a few large networks existed, such as the ARPANET, which was assigned the network number 10, and before the wide proliferation of local area networks (LANs). As a consequence of this architecture, the address space supported only a low number (254) of independent networks, and it became clear very early on that this would not be enough."
Nanosatellite built by Israeli high-schoolers blasts into space
I'm not sure what you're referring to when you say "Thats not how it works".

I was referring to people with broken IPv6 setups, mostly Teredo and 6to4 (old Mac OS X versions), for whom IPv4 worked but IPv6 was not actually routable. At the time, publishing AAAA records would lock out all of those users.
> I don't see why this matters at all

Given the opportunity, how much of your own money would you invest?
though majority of them not by choice, but out of necessity, those are like poorest countries with low purchasing power and with highest unemployment of young people

yes, they might been more traditional even in better times, but let's not lie to ourselves that most of the children would not move out if they could afford it
I get a /60 from Comcast in Chicago.
It's not me that's fixated on ipv4. I would love ipv6. But why aren't ISPs providing it? Why aren't universities and other large organizations switching to it by default?

ISPs don't care. They would rather everyone just use carrier-grade NAT.
AMD rocM: support for Caffe, Tensor flow and Torch [pdf]
More compact notation for the address blocks
Breaking the rules/doing something a little risky can lead to some of the most magical moments in your life.

Death for someone attempting to seek escape and joy in their life seems like an excessive punishment - mockery isn't necessary.

I feel terrible for what happened in this instance, but there have been a handful of moments in my life where looking back I suppose they could of also ended similarly. Don't regret them in the slightest though - they enriched my entire life.

It was only a few weeks ago people were celebrating Amazon's philosophy of if a mistake is made, it's never the individuals fault it's the systems fault. Could we not also perhaps apply this philosophy to safety notices/warnings/education in this tragedy?
Related: "The Coming of the Third Reich", Richard Evans.

I've been reading this recently, it's a very measured look at German politics, culture, and economy from Bismarck through Hitler. Utterly fascinating
If you have 7 years of experience, you almost certainly have important, non-junior level skills of value.

If only that were true. There is a difference between having 7 years of experience and 1 year of experience 7 times. If he hasn't had a mentor and been in a bubble, it's possible that his skill set is not as high as it "should be" based on the number of years he's been working.

I found myself in a similar situation around 2008. I started programming in 1986 when I was 12 in AppleSoft Basic and assembly, went to college, got a degree in CS in 1996 and spent the first 12 years of my career being a solid C++ "programmer", who dabbled in other languages.

During those 12 years, I was also the only programmer at the company without a mentor. I could write clean code, bit twiddle with the best of them, but hadn't been exposed to sound engineering practices.

In 2008, at the age of 34, I humbled myself, got a job as what I would consider a junior "software engineer" (making about the same thing as I was already making) and spent the next 8 years, learning from others, studying, and job hopping my way between 4 jobs and becoming what I consider a pretty good architect.
https://aws.amazon.com/ec2/instance-types/, ctrl+f "F1". They're vague about the exact part number (none of the listed Xilinx parts perfectly match, so it's likely they got first run of these specific parts or something[1], the prices are just eyeballing based on the listed parts page), but the basic specs are there including the RAM, DSP and logic elements.

[1] Xilinx also released Vivado 2017.1 today which is required for these UltraScale+ Virtex devices, so I'm assuming this isn't a coincidence.