skysight-inc/HackerNews huggingface dataset:
I'm an iOS user. But frankly, iOS sucks for this kind of work. I tried. Copy pasting is slow, file handling is unnecesserily clunky (just give me a file browser Apple). And exporting always needs some kind of workaround because I can't just pop in USB drives (which my wife's Surface Pro gladly accepts).
Teaching R to New Users – From tapply to the Tidyverse
Semi-related soapbox: Can we all please stop saying "CAP theorem" and instead say "CAP rule"? The formulation of this supposed theorem is so vague that it can neither be proven nor disproven.
Cloud9 is an amazing product that isn't very publicized. Makes developing right on AWS easy.
Yes. About three time in the past couple of years the cloud caused us to lose access to our Adobe apps. :(
s/full Photoshop/full Photoshop functionality/

I guess it would be hard to move the application as it is
I don't know where you are from but most universities in the U.S. teach Java or C++ as primary language. Pretty much everybody in our school used Java as their interview language and due to the leetcode grinding culture, the interviews are not definitely easy. The companies you talk about sound like they suck.
Well that's disappointing :(, I would have expected the full Photoshop experience to be ported to the web instead, not in Apple's locked garden. Sigh.
I worked for a remote company and I was based in an east coast city. When I mentioned the idea of relocating back to where my family lives in a suburban / rural area of the Midwest, my company said that if I relocated, they’d have to apply a “cost of living adjustment” to my salary and it would be reduced to about 2/3 of the salary I would earn for the same position living in my east coast city.

The salary cut seemed almost perfectly calculated to ensure my personal savings rate could not be any higher in the Midwest than in an urban center.

My job involved no travel or any other aspects that would have been affected by my move, especially since I would be in the same time zone. In fact, I would have lived closer both to most of our customers and to the Chicago office by moving rather than staying on the east coast.

I’ve heard this is actually quite common, and that even for remote workers, companies try hard to price your wage based on where you live rather than what value you add.

Combine this with the huge risk of not being able to find another remote job or nearby on-site job, and living rurally does not actually seem like a good idea to me. You’re one layoff away from a job crisis, whereas in a city or metro area, at least you can quickly find other work.
I really wish you could use this app without signing in to a MS account (and just use it offline).

Does anyone know of a good alternative app that gives you an easy to use whiteboard that works offline?

Edit: Before anyone says "paint"... The paint app creates very harsh and blocky lines with all of its brush tools and photoshop is massive overkill.

The "ink workspaces" are almost perfect but not quite. The sketch app only runs in full screen which is a pretty big limitation.
Wow! This is really bad if it's not going to get any better. I've already switched from Apple several years ago (when there was no more viable desktop "Pro" option for me), and I suspect more true "pro" users will do the same.

Maybe Apple simple doesn't care about (or need) pro users. That's fine, I guess. They want to go in other directions. It could be that 'pros' are too expensive to have as customers.
>I think that its time that the enterprise switches to full stack Typescript as a much better solution for developing enterprise software.

We use TypeScript for our frontend (Angular 5), I find it better than plain JS but the language has some weird paradigms, NPM is driving me crazy. Our backoffice is in C#, and i will never trade the safety of C# for TypeScript.

>The Java ecosystem did not manage to produce a good frontend development solution, and that was its downfall.

Agree. (haven't done Java since ages, but the support of java EE in GlassFish/Jboss/Tomcat was a mess too)
Great, a communication tool that works on a single platform!

/s
Why not? All work and no play ...
(On the other hand...maybe the place is that bad then)
It's a good read.

It argues that short sellers want to kill Tesla and they have a chance because Tesla somewhat resembles a financial company.
>IMO almost nobody is writing microservices with spring boot because its so gigantic.

I've encountered plenty of spring boot microservices in my work and, from what I hear of other companies, it's not particularly rare.

Most of the time, if you have a team that's productive in Spring, a manager or lead will be happy to spend some extra memory and get more features shipped.
I've looked through the code a bit, I think your assembler is actually buggy. The expected results for the tests are correct, however the encoded instructions that you're feeding to the decoder are not.
For example, A=1 should be 0x89F8, but you're encoding it as 0x8FE0. This causes the tests to fail despite the logic being correct.
Ask HN: How would look the ideal tech interview for a DevOps/Cloud Engineer job?
As an engineer involved in the tech recruitment for our company, I’ve always had the goal of providing a good experience for our candidates. I try basically not to put people thought what I disliked in my past interviews.

We currently ask our applicants to do a pull request to one of our open source projects. But this is not always working as they may not be familiar with those projects/technologies.

So for jobs in this area, that involve infrastructure automation (Google cloud, AWS, Azure) deploying orchestration layers (Kubernetes, DC/OS) and automate whatever runs on top if this (CI/CD) how would your ideal interview look like?
Nothing. It's just a True Apple Believer's attempt to introduce some FUD.
That's good advice generally. There are a lot of places that are pretty idyllic in the summer that even I, who like winter activities, would probably find pretty isolating in the winter.

I'd add that country/city isn't a binary thing where you're either living in a major urban core or you're out in the sticks. The Bay Area is something of an exception but there are many major cities where about an hour gets you into much less expensive housing and space to spread out if you want that. But you're still close enough for going into the city for an evening if you want to. (And lot of the time, the tech jobs are already out from the city anyway.)
Yes. I live in a town of 700 in a rural area in the north east of Vermont. I live on one of the only paved roads in town and have cable internet but a lot of the town relies on either 4G internet, wireless internet to the local tower if they have line of site or DSL. It's definitely a consideration when looking for a place to live.

We have 24 layer chickens and have raised pigs, sheep and meat birds in the past. There are many opportunities to be involved in the local community from the local library, to the school PTF, the historical society or the town selectboard. You do have to drive everywhere, but there's never any traffic.

We are looking to move to the outskirts of a "bigger" town[0] because we love hiking and want to be closer to the mountains and be closer than 20 minutes from a grocery store.

[0]http://townoflittleton.org/
Reminds me of the one common Freudian slip I notice in the wake of a scandal. If they talk of restoring trust as a goal they are so irredeemably corrupt they see only the bad PR as a problem and not the heinous abuses. Since trying to fix the problem doesn't even come to mind to them as something to lie about when they are in hot water!
Those are physical qubits, not logical qubits. The blog post from Google [1] is a better (but still marketing-drenched) review. There's no research paper to read and no indication of what the precise error correction is on those 72 physical qubits. The best information we have to go on is that 1) this is a scaled up version of Google's 9-qubit quantum computer, and 2) the 9-qubit quantum computer had an error rate of 0.6%.

But in the absence of any peer review or even published material, this may as well not exist. Assuming it does exist, Google is cautiously optimistic that it will be able to demonstrate quantum supremacy. But that doesn't actually mean it will be able to do anything meaningfully useful for real world applications, it just means it will breach the threshold where it's demonstrably faster than a classical computer for something (instead of theoretically).

Once you leave the cleanroom it will be much less impressive. No one is close to developing a quantum computer capable of useful cryptanalysis. In fact, I'd confidently wager no one is even close to a breakthrough that would bring them close to the real breakthrough we need for quantum computers to break e.g. RSA. We'd need hundreds of thousands of physical qubits just to achieve the error correction requisite to break 2048-bit RSA. I'm weakly pessimistic I'll live to see it.

_________

1. https://ai.googleblog.com/2018/03/a-preview-of-bristlecone-g...
Yes, but not there. Don't use Oracle Java. That article only applies to Oracle Java. I personally would not recommend anyone relying any Oracle owned software (e.g. even Graal) but have no problem recommending community owned software like the JDK/JVM. Of course it's just a recommendation, sometimes we don't always have a choice.

My concerns with Oracle stewardship is more about their business practices concerning the trademark, (lack of) distribution of the TCK, treatment of alternative impls, litigation concerning perceived misuse, installer software bundling, etc.
Neutrino that struck Antarctica traced to galaxy 3.7bn light years away
Active discussion:

https://news.ycombinator.com/item?id=17522287
Totally J++ is the wave of the future!
Want to second this. Has changed my worldview in very significant ways.
Mine's a mid-2012 model. I've been quite happy with it. I've long been looking forward to Apple coming out with a model capable of 32GB, so I would have upgraded immediately, but my understanding is that the new machines haven't addressed the keyboard dust issue. So I'm probably going to hold on to my 2012 for at least another year.
it looks a bit perverse to use the same name for the function and for its argument, but maybe it's just me
This would be a disaster in the US. This surely victimizes some in Japan also but because of cultural differences you just get more silent suffering.

Even if implemented, the new Federal Zoning Board would be obligated to honor pre-existing zoning rules. If not, the party holding power in Washington at the time would get demolished. What politician will risk telling an entire state of voters that their assumptions about their property are going to be unilaterally changed? No one, it would be political suicide.

Accurate or not, any politician proposing this would be accused of trying to socialize housing.
In 1998 my wife and I moved from San Diego to the mountains in Central Arizona, to the small town of Sedona. Except for some onsite contracting work at Google and in Singapore, I mostly worked from home. We had a wilderness hiking trailhead 150 feet from our house. A year ago I got tired of remote work and took an office job in a Midwest university town - a nice change of pace!
Love that post---great examples!
If you've ever tried to contribute something to the Linux kernel you'd know it's not an easy process. They say that they want to "encourage new contributors to repeatedly contribute". So in this respect it is very different from the Linux kernel.

Now I will admit this is going to be tricky. How do you dissuade junk contributions or misfeatures but at the same time encourage contributions? They may end up with an overall declining quality which kills off other goals such as user adoption.
> I do not think that high frequency trading firms are really providing value to society

Define "value to society"

I will start by saying that HFT firms employ people, gives them jobs, purpose, and most importantly, a pay check. This in turn generates tax revenue for any government and society. Your turn.
Thanks. I'll check them out.
I can run Photoshop on my 2012 Macbook Air. That surely isn't suited for "pro environments" either.
Heh. I sometimes read these contemporary ask-hn's and realise I'm way outside of the loop, but can agree with this short list. In recent years have read-and-thoroughly-enjoyed Neal Stephenson's Seveneves, Cixin Liu's The Three Body Problem, and Charles Stross' Accelerando - and only later realised they're basically all about the end (in different ways) of the world.

I'm two thirds of the way through Ramez Naam's Nexus trilogy ... and am now starting to think I have a literary fetish.
That's exactly the three languages I use and for those exact reasons. I'll sometimes throw in R for data analysis as I find the ease of importing/editing poorly formatted excel (most business scenarios) to be the easier than python (more of a personal preference than anything)
A lot of Javascript's optimizations are fragile, as in they don't always hold true, so there's overhead determining if the assumptions still apply.

For instance, Javascript's hidden class optimizations are disabled as soon as someone "breaks" the assumption by doing something like accessing a variable using a dynamic array index rather than dot notation.

Javascript runtimes also try to infer types as you say based on how objects are used, but this is also a fragile optimization. For instance, if you use an assumed "int" in a string-like way the runtime re-assigns the tagged type. And it's hard to know whether you (or the library you're using) does so.

Those programs might not represent a real workload but TechEmpower's framework benchmarks are closer. https://www.techempower.com/benchmarks/#section=data-r16&hw=...

On most of those benchmarks the fastest JS framework is ~5X slower than the fastest Java framework.

And yeah the array optimizations are related to what we both mentioned above, but again the optimization is not durable. It only works sometimes, and incurs its own overhead.
Show HN: Books2Rec – Machine Learning Meets Reading
The argument goes that bad actors are trying to tank TSLA by using massive short sales as a signal to the rest of the market that Tesla is a bad investment. That's not entirely a surprise. The surprise is that there's a historical precedence for it, from the very same bad actor investors. This pattern has played out with a company in the early 2000's called Fairfax, and then with SolarCity a decade later. The same thing is happening to Tesla - the graphs are striking. Tesla's response is to cut costs and become self-sustaining, wean itself from dependency on investors, and break the short-sellers' strategy.
“I used to think Elon should just stop worrying about short sellers. But then I read a story about how short sellers conspired against a company to drive its stock down and limit access to financial markets and then that company sued the shorters and its stock went from $100 to $700”
Why do you feel confident you can easily find other remote jobs with the same pay / benefits / work responsibilities / career opportunities / etc., if your current role goes bad?

I don’t see any reason to think that.. across most job sites, Hacker News Who Is Hiring, Stack Overflow, etc., it seems quite hard to locate viable remote jobs period — let alone something that could work out quickly in a pinch and has high quality pay/benefits/etc.

Maybe if you’re willing to compromise on everything else, then you can quickly switch to another remote job in an emergency. But it seems very suspect to set your life up with that risk and the possible requirement of that severe sort of compromise if you’re very desperate for a single specific perk.
oops:
inl f(x) = add(1,x)
of course
After some initial craze in the first years, I rarely even see an iPad (or any other tablet) in the wild anymore. Smartphones getting bigger seem to have already replaced them.
PC sales rise for first time in six years
I like the half basements, but they have their issues: http://copenhagenbydesign.com/blog/2015/5/21/half-up-and-hal...
Inpixio Photo Clip 8 Professional Crack and Activation Key 2018 Free Download
I live in the middle of a farm field outside a city of ~250k people (Madison, WI). It's a nice mix of countryside and city. I have deer and other unusual (to me) animals walking around my back yard often. I can try to grow my own food if I want, right now I just have some fruit trees.

If I need to get into town, it's about a 5 mile drive into town. I can visit my friends in the city or go shopping for most of what I need immediately. Otherwise, it's usually UPS or Fedex, when it's not available in town.

When I started looking for a new job, I made remote work a priority. If you have friends working remotely, they can be a good source of info on remote jobs.
> consequences of incorrect code either ...

The point is it's trivial in the language to write incorrect code that behaves differently on different hardware. To write robust code you need to know how the underlying hardware behaves, how it can vary across platforms, and write code very carefully to ensure you write code that operates properly on the hardware.

All these issues are consequences of the underlying hardware, including hardware errata and bugs.

>This is a different class of problem from that of correct code being turned into a security problem by the hardware.

Where would you put cache timing attacks then? It's "correct" code, the hardware performs as intended, yes the error is a result of the code + hardware interaction in a manner the programmer did not understand.

All of these are related: programmer + language + hardware interact to make code that is exploitable. C/C++ in the mix makes this harder to do correctly.
My Photoshop workflow depends on its ability to act as a plugin host for third party workflow tools and to integrate with the rest of a professional toolchain. So, for me, Photoshop functionally remains a PC/Mac application. (This applies to most applications ported to iOS or even the Web with such fanfare -- I still use Office plugins here and there...)
Notepad has a hardcoded size limit. Above that it refuses to open the file. I think it's about 300mb.

For me, a large file is bigger than available RAM.
Although I'm sure I've heard the term before, I forgot what it meant. Your comment helped me put it into context as a fault injection technique.

One point the paper makes in the introduction is that "coverage alone might be misleading, as in many cases where statements are covered but their consequences not asserted upon." To satisfy profile-guided coverage (e.g., gcov), the test doesn't have to be correct or useful, it just has to execute the line or take the branch.
There are plenty of people who don't like being called dickheads and choose not to work in those environments. I will never contribute a line of code upstream to the kernel, as will plenty more people who are much smarter than I am.

You and Linus and all his fanboys will no doubt say the kernel is better off without us.
Unfortunately Paul Hudak died in 2015, so this will never be finished or updated now.
It's useful to be able to give names to things and it's also useful to not be able to give names to things.

It could and could also not be useful to give names to all the subexpressions in the following

w = a(b(c(x,y),z))

You could impose a limitation on how many function can be in a single expression, forcing you to give names. That's analogous to your favorite feature, no?
Before I clicked into the article I assumed it was some discovery related to the aftermath of the September 11th attacks. Of course I see now that "pentagon" is not capitalized. It's just that as an American when you put a definite article before the word "pentagon" it conjures a very particular idea.
Overall short sellers are a good thing. They have skin in the game.

They are like the people searching for software vulnerabilities motivated by big bounties.
I am escaping at the end of this month when I move into the house that I grew up in, situated on 1.5 ac in Northern California. It's on a hilltop on a private road. The peace and quiet will be refreshing after years of living in the noisy suburbs. The only problem is getting a strong enough internet connection. So far, the best I can get is 6/1 DSL. After years of 100+/5+ that hurts more than you realize!
> the human sex drive isn't restricted to a reproductive context on a way that even the total elimination of a bodily role in reproduction would eliminate the drive or function of the sex act, so the implication claimed her I'd not justified.

This is counterfactual, of course, and very “tossed out” and suspect; it seems reasonable that if we can cleave the body from the mind, then we could ablate the sex drive from the mind. But all of this is moot; the liberation she speaks of us there regardless. We don’t have to have sex to reproduce anymore; that’s certainly liberation.
Hmm, not sure it's that clear-cut.

The iPad can almost certainly handle massive images just fine. The industry has been getting by with that sort of processing power for some time. I can't comment on support for 10k images specifically, but 4k video editing works pretty well, and 30MP+ images too (so 8k-ish?). And while there's a segment of pro work that needs 10k+ support, it's not everything – just because the whole professional market isn't supported doesn't mean a segment of it isn't! (I haven't had much call to edit anything in excess of 4k for a long while, despite using Photoshop pretty heavily).

The input methods might be a challenge, like I said, but it's possible to think of ways in which a good editing experience might be achieved, with the compromise being worth the trade-off in portability – but we'll need to wait and see before jumping to conclusions!
Comparisons between the governments of homogeneous states like Japan and sprawling unions like the USA are not particularly helpful. The nature of the problems the governments face is too different.

Instead, compare California to Japan. From this article, run the thought experiment of a California-wide zoning board.
Thanks for replying. Yeah I get this / agree with you now.

> But if you explicitly set frame-src to include either 'self' or the domain itself then you would still be vulnerable to this.

Exactly.

- There is a site foo.com, which has a CSP, but allows iframes from self or foo.com

- A user is able to inject some XSS to open an iframe to foo.com/50x.html, an nginx page with no CSP. Since CSP allows our own site to be used in iframes, this is allowed.

- In that page, further JS is injected to extract secrets from the foo.com parent page and connect them to remote networks. Since foo.com/50x.html has no CSP, this is allowed.
>however I don't see any of the possible replacements achieve a similar position in my lifetime

Agreed. I've been doing C/C++ code for decades, and still do it, but routinely work on other languages. For many problems the best solution is still C/C++, but it makes security for such code significantly more trouble.
On Windows this has the consequence that if you have a DLL, it might use a different malloc than your application. As a result, you can’t safely free objects that were created in a DLL unless you go to all sorts of trouble. This can mean passing objects back into a DLL to free them or using some other mechanism to ensure that you use the same allocator everywhere. This is especially problematic with C++ because of inlining.

The “everything is exported” default can be fixed with a flag, you then set symbol visibility with attributes like __declspec or use a linker script. This doesn’t change the calling convention, unlike with DLLs.
I think Illustrator would work much better than Photoshop. I don't know too many people who don't have third party plugins in their professional (nontrivial, couldn't-just-use-Pixelmator) workflows, or don't need pretty fast storage for stuff like batch jobs. Illustrator tends to be used more as-is, in my experience.