skysight-inc/HackerNews huggingface dataset:
Ok, my first reaction is that this is that it's really wonderful work - straightforward and with a big payoff at the end.

But this really begs the question: why hasn't this been done before? People have been throwing resources at machine learning for a decade now, and somehow nobody has thought to perform instruction selection before executing a model to optimize the kernels used?

What other low-hanging fruit is out there? Automatic partitioning of networks over several GPUs and CPUs? Such dynamic load balancing algorithms have been available in the HPC literature since there was HPC literature. Fusing multiple primitives to simpler kernels? That's what linear algebra libraries have been doing for decades. Optimizing internal data layout (although that seems to be part of this paper)? Optimizing scheduling decisions to minimize data movement?

---

Also since the author seems to be reading this thread: Have you tried measuring the tree-width of the instruction selection DAGs you generate for the PBQP problem? The heuristics for solving these problems in llvm are applicable to tree-width <= 2, but could be extended to, e.g., tree-width <= 4 without too much slowdown. I wonder if there is still an iota of performance to be gained here. :)
a NSFW warning would be good at the post title
So far this year, I've read the following:

- Revelation Space

- Armada

- I, Strahd: The Memoirs of a Vampire

- The Sleeping Dragon

- Wizardry: The League of the Crimson Crescent

- Snow Crash

- Scythe

- Off to Be The Wizard

- Spell or High Water

- An Unwelcome Quest

- Thunderhead

- Everlost

- Replay

- Stranger in a Strange Land

- The Amulet of Samarkand

- Everwild.

I'm currently reading A Conjuring of Light and The Way of Kings.

I was able to read so much more than I usually can because of audiobooks. I had a long commute for a couple months, so that helped me knock a book every week or so off my list.

Of the books I've already read this year, I think I would recommend Scythe and Thunderhead the most, but Snow Crash is a must-read, and Stranger in a Strange Land is pretty interesting, but I think a lot of it was lost on me because of the time period-specific language used throughout; it made it hard to understand the interactions between people.

As far as what surprised me? Probably Snow Crash. For some reason, I read somewhere that Ready Player One ripped off Snow Crash and while reading it, I just couldn't understand why they would think that... the two are really nothing alike. Pretty much the only common ground is a virtual world...
The local article I read says "It will be less than a mile from existing Apple facilities" [1] which I assume means the Parmer [2] location.

[1]: https://spectrumlocalnews.com/tx/austin/news/2018/12/13/appl...

[2]: https://www.google.com/maps/search/Corporate+Campus/@30.4347...
in china this process is known as 工夫茶 (gongfu cha). You can also get upwards of 10 brews from good quality oolong.
It had details and insights of what was going on in real. Pretty detailed.
Unfortunately, yes it is. Just yesterday, my wife tried to open a pdf transcript from her college. It would not open on anything other that Adobe Reader on a traditional os, putting it out of reach for her, being an Android/Chromebook user. Neither Chrome nor Google Drive/Docs could open it. And I could only open it in Adobe Reader on my laptop - not Firefox, not Chrome, and not whatever default viewer my laptop has. We've had this problem with PDF's from another organization, too. It is a real problem.
For debugging, we will show Hook tree in DevTools by capturing and parsing stack traces.

https://github.com/facebook/react/pull/14085
I was referring to an effort during the years around 1993-1995. I was in a 3rd world country doing humanitarian work from 1999-2000 where I had no internet access so the email chain referenced by Snopes is new to me. If I recall, the idea really was floated around/tested but, of course, never implemented because there was so much backlash.
I am focused around tech and startups.
Yeah, you are correct. I played around with it last night and it seems I just had the status bar turned off. I can't remember if I did that at some point or if that's the default and I just never noticed.

Anyway, thanks, I stand corrected and will add this to the list of small, useful enhancements I mentioned in my previous post.
"The decoupling between raising of the exception and handling it, that makes avoiding failures so easy in C++."

The point of exceptions, over C-style errors codes, is that you cant forget to handle errors.

"When you create an instance of the class, constructor is called (which cannot fail) and then you explicitly call init function (which can fail)."

That's an anti-pattern. Initialization should happen in the constructor, not be separated into another step. (Look up RAII)

If you cant make exceptions work for you (for instance if you are making drivers or embedded programs), I have good news for you. Lightweight exceptions are being worked on and will most likely end up in the standard in 2023.

http://open-std.org/JTC1/SC22/WG21/docs/papers/2018/p0709r0....
If I remember correct from reading about this some years ago. They where low on coal and with the rate the fire did burn coal they needed to burn it in the furnace to get as much speed as possible, to get to the harbor before running out of coal.
Yes. So many books that could have been explained in a single tweet.
>"Facts" are about literal, objective, measurable reality. If it depends on a subjective interpretation and reading between the lines, then it isn't a fact.

In physics, chemistry, math, etc. facts are the order of the day, yes.

But raw facts are few and far between in human affairs and even less so in politics.

When people say something in non-hard-science domains, it more often than not depends on a "subjective interpretation", and depending on their phrasing, hidden motives, and eloquence might also need some "reading between the lines" or some charitable interpretation.

Nerds applying Vulcan-style logic to such claims just confuse matters more.
Aubergines zijn gezond:Geniet van deze aubergine taartjes met tomaat
Per your final paragraph a child recent told me that at school they learnt "Marie Curie discovered radiation".

Which was probably the child's own error, but the actual story of the Curie's [1] like others of that period (Cecilia Payne-Gaposhkin, say) is one of a community of scientists collaborating across borders of geography, and sex (, and perhaps class too).

To me it's very strange, if you wanted to say "anyone can be a scientist/engineer regardless of sex" then surely you'd de-emphasise sex. Instead it's made the primary focus, often put in the headline.

Usually too these things play towards the cult of personality, "X discovered Y" when the reality is often much more of a collaboration which I find it's usually far more pertinent than whether X had a vulva.

[1] https://www.nobelprize.org/prizes/themes/marie-and-pierre-cu...
The bug there is implicitly converting an r-value to a non owning reference. We wouldn't call the same semantics a bug with a 'char const*' to be fair. We would complain that string implicitly converts or reject the application code as buggy.

That being said, yes, string semantics are hard. Passing around copies of a string buffer (std::string) or calling to_string_view everywhere don't seem better.
Taking Notes on an iPad with LiquidText
Those are just livestreams from the Google campus that Google streamed on-line by itself.
MYTH Sadly

The Truth Behind DIY Decaf
Science has not only disproves the idea that you can make naturally decaffeinated tea with a hot water rinse but, worse yet, studies have shown that this kind of preparation method removes many of the antioxidants, but very little of the caffeine.

https://www.thespruceeats.com/how-to-naturally-decaffeinate-...
I'd love to debate the part about persistent call order but the rest of your comment has nothing to do with the content of my article and appears to be a generic rant.

Could you help me see how it would result in "huge clusterfucks" with an example?

Note React doesn't rely on particular call order. You can move your calls around any way you like. Just that it's persistent between re-renders.
These gateways almost always let you pay for wifi inline. The name/room guards are for people who get complimentary wifi.

Honestly though I stopped going to hotels that don't offer complimentary wifi and breakfast. That means no Hilton or Marriott. All Holiday inn hotels I've dealt with have been scores nicer than the "high end" crap Hilton pretends to be.
LXCs are still useful to use in a world with Docker.

For example, if you're testing your infrastructure configuration code, you need some type of server to run it against. Using a base Ubuntu 18.04 Docker image might work, but there's a lot of things that Docker is incapable of allowing you to configure, where as with an LXC, you can.

In other words, using Docker as an infrastructure target gives me about 80% confidence that things will work on a real host, but with LXCs that confidence level goes up to 99%.

So it's common to have a snapshotted LXC image that you can use as a target system, so you can spin up a new fresh LXC based Linux distro in a few seconds. It's a lot faster than using something like Vagrant and fills a much needed gap for testing how you provision servers.
Paraphrasing here. "Agile is the worst software development process, except all the rest"

More seriously, doing big upfront design was a really bad idea. Agile and more specifically Scrum brings a number of ceremonies to keep the "managers" happy and allow the transition. When and if ever companies understand that they can trust their software engineers they can let them to their job. These ceremonies are more like a security blanked for the non software engineers who are frequently clueless about how software is developed.

I prefer to focus on the Agile principles. My favorite is "Continuous attention to technical excellence and good design enhances agility."
Tech giants can't go just anywhere. They need to locate their offices in cities which have large, highly educated, tech savvy workforces (or at least the infrastructure to relocate, satisfy and sustain those workforces).

This acts as a check on just how much of a tax break a municipality is able to give them, as public funds are needed to support that infrastructure. Austin, Seattle and Culver City seem to be striking the right balance.
https://uimovement.com/
and
https://mobile-patterns.com/
are sites i as a mobile dev find interesting
Caffeine is tasteless so technically it should have the same exact flavor.
Images not loading for me on Chromebook.
Well, how this compares to the http://theoatmeal.com/comics/mantis_shrimp ?
> "Doctor it hurts when I do this." Well stop doing that then.

A surprising amount of pain comes from cargo-culting/copy-pasting some behaviour because the "old way sucks" and the "new way rocks" (the opposite problem also happens, that it being stuck in old ways, or: "how do I lift this excavator? I want to dig" )
See here for examples why such inconsistency doesn't disqualify math in toto:

https://plato.stanford.edu/entries/mathematics-inconsistent/
>wouldn’t you just pass a Symbol key to useFormInput and it would then pass the key to useState, solving the supposed flaw?

Then `useFormInput()` wants to add another state (e.g. `isHovered`). How are you going to compose Symbols? We get to the next flaw (manual composition is annoying and error-prone).
I've yet to encounter a situation where this auth method isn't gating a free for the guest wifi setup. I do not support defrauding hotel guests, merely defrauding hotels ;)
I remembered hearing that the caffeine used in soda came from the caffeine removed from coffee to make decaf, so I thought this was kind of strange since the source was the same. But I just went and actually looked it up and I guess it used to be true, but now primarily comes from Chinese pharmaceutical plants. https://www.npr.org/sections/thesalt/2014/03/13/289750754/wa...
At least they make an effort to support their arguments with some research. Calling them non-expert volunteers is prejudging them before even considering their position and determining whether it is valid or not by providing supporting or opposing citations.
You can search the article for "symbol" — there's a whole section dedicated to that. :-)
> any system that effectively allows decentralized peer-to-peer transmission of money is going to fail one or more anti-money-laundering laws

Is cash against the law now?
I also read Revelation Space this year. I liked it, but it definitely felt like it dragged on. Maybe because it has fairly long chapters. I feel like shorter chapters help me get through a book faster because I usually do most of my reading on my lunch break, and I hate having to leave off in the middle of a chapter.
User namespace support for Docker has been in for years now, not just "recent versions".

Not sure what you mean by "app builds" here. The container process is in a user namespace, not docker itself and "docker build" will work just fine. Maybe you are referring to something else? Let me know, would love to take a look.

Layers are largely an implementation detail in Docker. Yeah they are there, you can even check the sha of them, but not something users interact with. I don't think I've personally heard any of tbis confusion except for very old versions of Docker before content-addressabity and the concept of layers did leak through (each layer was an "image")... maybe there's still some lasting confusion here? I could see this I suppose with things like older books/blogs/etc referring to them as a first class citizen. They are definitely not and certainly should not be. One of the early design mistakes which are long since corrected (docker 1.10 introduced content addressable images, and the concept of the image as a whole rather than an image being a tree of other images).

Also, a side note, "docker run --init" gets you the init you are looking for, can set it as default in the daemon as well.

Note, I've been a maintainer/contributor to Docker for 5 years now.
Sugar is also a powerful drug. It makes you feel good.
Since when did China give a damn about public health? This is the country where street vendors use oil recycled from the sewers. No, this is POLITICS.
> They are not fun. Many questions are childish. Others make you feel stupid for not getting them right. Both extremes are necessary to the study.

If that's the case, then the test should say this in the instructions... (It's a classic example of setting expectations, introducing objections up front..)

> This test may not feel exciting. Some questions could seem childish. Other questions could make people feel silly for marking the incorrect answer. These extremes are required for the study.
Not to mention the many cases of abuses within charities, see a random example here https://www.charitywatch.org/ratings-and-metrics/cancer-fund...
People at the time were aware of the issue:

http://www.kiplingsociety.co.uk/poems_strain.htm
> Because it works for them. Right tool for the right job maybe.

They are able to deliver software in spite of waterfall rather than because of waterfall. They just keep injecting time and money until they 'declare' their projects to be complete.
https://www.theguardian.com/inequality/2017/nov/20/if-you-ta...

>Only about 2.4% of US-based millionaires change their state of residence in a given year. Interstate migration is actually more common among the US middle class, and almost twice as common among its poorest residents, who have an annual interstate migration rate of 4.5%.

Companies follow people, not the other way around.
The Agile Methodology is to argue about The Agile Methodology.

--

The only durable thing I've learned about methodologies:

Alistair Cockburn
"Characterizing People as Non-linear, First Order Components in Software Development." Oops. https://alistair.cockburn.us is "under construction". Sorry.

Meanwhile, here's a pretty good TL;DR: http://www.johngoodpasture.com/2009/11/people-puzzle-non-lin...

Anywho. My current position is "just tell me what you want, I'll adapt." As a recovering methodology junkie, I can no longer stand talking about it. If everyone is on the same page (roles, rules, expectations, etc), I'm happy. If someone dictates this ceremony by fiat, minimizing discussion, all the better.
They auction off a sort of binary future that either converts to Basis in a future event when they're increasing the supply, or expires worthless if no such event occurs in a set amount of time (5 years, I think).
I did this for about a year after noticing that the Marriotts I tended to stay at were exposing Ethernet on the new desk/entertainment centers they'd retrofit in the chain. After that year, I started noticing that the ports were dead, usually just unplugged from the wall, but then those started to go out. Eventually, those fancy A/V panels were boarded over with plastic, then eventually fully replaced with plastic insets. But for a short while, it was the promised land, and the moral of the story is that your mileage may vary these days.
There are plenty of other drugs in coffee apart from the caffeine. Some are similar to cannabinoids.

https://www.sciencedirect.com/science/article/abs/pii/S00243...

See also this comment on a coffee health-benefits study which suggests that the health benefits of coffee are not due to the caffeine:

https://jamanetwork.com/journals/jamainternalmedicine/articl...
How to Prepare the Room for a DDD Big Picture Event Storming
Using flask like Django
Any sufficiently complex system has a hidden barely contained coal fire burning somewhere. Working as intended.
Isn't this a felony? No seriously. I believe the law is phrased like "if you use a network in a way that it was not intended to be used". It's one of those laws that everyone is guilty of, and people even write blog posts bragging about doing it, but it will be used to bring someone down when they have no other charges that will stick.
I suggest you to read about algebraic effects. We don't have them in JavaScript, but conceptually that's what Hooks represent. (This is as functional as it gets.)

React has always been about taking useful ideas from functional programming and bringing it to mainstream through pragmatic choices in JS.

Your concern about the "globalness" is addressed in Sebastian's comment which is linked five times throughout the post — you should definitely check it out! https://github.com/reactjs/rfcs/pull/68#issuecomment-4393148...

Finally, don't forget you're comparing Hooks to classes. Those are hardly functional either.
“almost unlimited” doesn’t mean anything.
The U.S. and the Schengen Area each comprise regions of 300-400 million people where people are free to move internally. You would think that would create a similar pressure to reduce internal income taxes to attract residents, but it does not. People, unlike corporations, have roots in places and by and large don't want to move to chase lower tax rates.
Did a 1912 Newspaper Article Predict Global Warming?
Applied Linear Algebra Textbook by Boyd and Vandenberghe
$25k in state and local taxes would be high even for FANG in NYC
+1 for this. Edibles are great, and the 10mg cookies I used to get in WA were large, which made it easy to split them in half or quarters. 10mg would kick my ass as a casual user but 5mg was in the zone.

Takes an hour to hit you but that's not always a bad thing, and doesn't jack with my lungs.
My understanding is that the Times is getting in trouble for this claim. Kevin Drum, who actually used earlier word processors, described it thus: "Berezin didn’t invent the concept of word processing; or the term 'word processing'; or the first actual word processing machine. IBM did all those things. She did, however, invent the first standalone word-processing machine driven by electronic components. It was an important evolution that lowered the cost of word processing and made it more reliable, but it doesn’t mean that Berezin 'built the first true word processor.'"

https://www.motherjones.com/kevin-drum/2018/12/the-first-tru...
I guess the important thing is that now we have one data point.
Hopefully they use it on their blog, so they can discover 22% of the screen real estate is smothered with a sticky header.
"Expensive Typewriter" required a PDP-1, a million-dollar machine (in current dollars). That was too expensive to be viable in a real-world business environment. The Redactron was a dedicated hardware device which of course was vastly cheaper, and achieved widespread success in the 1960s. So they were both "first" in word processing, but in very different ways.
>From a design standpoint, if `useState(symbol)` is acceptable (and I'm not saying it is), then `useWindowWith(symbol)` would likewise be acceptable in that it's not adding any more requirements to the interface than the vanilla version.

I think you're missing that `useWindowWidth()` could have more than one `useState()` and thus you'd need to somehow compose Symbols. Which is what the next section is about.
We don't find bugs with it it's just limited. Can't highlight, can't rotate individual pages, can't save rotated pages (you have to "print" it to "Save as pdf" again, awful ux)
Ah, I see. I've never been to a hotel that didn't have free wifi, so I don't know how they tend to work.
I agree but I don't think it will be much better if William Barr takes over. He was a big part of the War on Drugs when he served under G.H.W. Bush.

It's been a long time since then and people can change but I am not very optimistic for now.
There are only five of the 29 member states of NATO that meet the NATO requirement for defense spending. Germany isn't one of them. The US spends nearly double the requirement, which in actual numbers works out to the majority of the funding anyway (72%). The next three countries combined get to 20%, that's UK, France, and Germany.

The NATO direct budget is paid 22% by the US, 14% by Germany, 10% by the UK. The rest of the contributions are all less than 10% of the budget. So yes, the US does fund NATO, both with direct and indirect costs. The EU can afford to not spend money on their defense because we exist, and because we base our assets there.

Influencing local politics is not the primary reason for having bases located remotely, in many cases it doesn't even happen. The idea that we put them there to "influence local politics" is actually the simplistic explanation that really doesn't begin to describe how the world works. The US presence in Germany has nothing to do with influencing anything in Germany, the US presence in Korea has nothing to do with influencing Korea, the US presence in Spain has nothing to do with influencing Spain, etc.
I don't think there is anything inherently wrong with that.
or Edge
Google's London office hosts 4000 employees and has cost 1 billion (800m million was the plot). It might not look like a campus, that's because central London simply doesn't have the space. https://www.theverge.com/2017/6/1/15723642/google-london-off...
Anyone requiring special hardware for their work is a fool to upgrade their computer or OS without a very good reason and a lot of very thorough testing.
I think the only confused one here is you mate. Try not reading everything literally.
I remember learning about the difference between THC and CBD/etc. from Kurzgesagt's video on Marihuana: https://www.youtube.com/watch?v=kP15q815Saw
www.nhs.uk/news exists specifically to debunk false health claims

(I'm tech lead for this site)
Have you tried dandelion root? It has a similar flavor to coffee. (e.g. Dandy Blend)
The authors mention the mantis shrimp in the first sentence. So, presumably, the ant is faster.

>CHAMPAIGN, Ill. -- Move over, trap-jaw ants and mantis shrimp: There's a faster appendage in town. According to a new study, the Dracula ant, Mystrium camillae, can snap its mandibles at speeds of up to 90 meters per second (more than 200 mph), making it the fastest animal movement on record.