skysight-inc/HackerNews huggingface dataset:
1. setting up a Spring Boot project is just File/New Project/Next/Next/Next, or download a starter project from https://start.spring.io

2. It's 2018, we don't use XML anymore, a Main class annotated with @SpringBootApplication is all the configuration you need (and autogenerated by step 1)

3. All you need to know about @Component before you get started is if you annotate a class with it, it will get instantiated with all its dependencies and made available for use in the container

4./5. Yes, to know about Filter, the filterChain and how to use it might take some minutes looking into the documentation or stack overflow, but that is what you are going to have to do anyway if you are going to use a framework.

I put knowing how to use @Component and figuring out what you need from the docs on the same level as knowing about the (req, res, next) pattern and knowing about async/callbacks/promises.

I agree that Java is verbose and has much ceremony but modern IDE's take away a lot of that pain. For my filter example the only things I typed are:

* the class name

* extends OPRF<tab>

* <alt><enter> <enter> to generate the 1 method to implement

* the `// your code` comment and filterChain.doFilter()

I'm not sure what you mean about choosing Runnable over lambdas. Runnable `is` a functional interface so anywhere you can use a Runnable, you can pass a lambda (or method reference)
Songspace | Full Time | Remote OK https://songspace.com
Songspace is looking to hire developers to join our team to continue to make the music industry better. You will be joining our team of 3 remote developers to implement cutting edge collaboration features in the music industry. While the position is remote friendly, the main office is located in Nashville, TN, USA.

We are currently hiring for:

- Senior Ember.JS Engineer

- Senior React Native Engineer

- Data Developer/Architect

To apply visit https://songspace.workable.com/
I didn't say you can't make money buying gold, just that gold is driven by irrational fear.
That may have been the initial motivation and intent. But it's not true of the reality, and hasn't been for several years.

> That you can't predict the price is totally irrelevant...

For something that aspires to be "money", that is highly relevant.
Erm, like unilaterally increasing the price of Steel by 25% in a single afternoon.

https://www.usatoday.com/story/news/politics/2018/03/07/trum...

Mr. Trump has the power to do this. And he did, just a few weeks ago. Mr. Trump is realizing the extent of his powers and is beginning to use the office of the Presidency with efficacy.
I think shareholder expectations determine what a company does. If the company is a growth company, shareholders will gladly allow the company to innovate, but if it's a blue chip, they will expect dividends.
If your coworkers are so bad, wouldn't you rather get a nice message in your console when they forget to handle an error? With callbacks, error handling is entirely on the honor system.

There may well be some situations where callbacks are tolerable, but any time you have to converse with an external synchronous resource like a filesystem, database or REST API, it's just painful. Making a new function (named or otherwise) for each line of code is not good style, in any language.
Does anyone here actually know how it is possible to contact Facebook's legal department? Who else could someone contact to whistle-blow something?
> Clearly that is not what I'm suggesting since I already said that anyone who submitted a completed assessment would receive personalised feedback from me.

Sure, you know that you're going to put in some effort to look over the solutions and provide feedback (but even then you probably won't spend nearly as much time on giving that feedback as the interviewee spent on their "audition"). As others have indicated, not all employers will put in that effort, and as the applicant you can't tell in advance whether you will. Or perhaps you will look at the code, but will instantly reject their code based on indentation (tabs or spaces?) or brace style, or choice of language ("lol Python, real programmers use Ruby"). Because you aren't yet invested in the candidate (after all, you've only sent them the same email you've sent the other 499 applicants) you lose nothing when you're an asshole, while the applicant loses the time they invested (and they won't be able to reuse that code assessment on their next job application).

> I'm really not sure how you've made the leap from me trying to help people who are swamped with applicants (by taking action that gives every single one of those applicants a fair chance) to a suggestion that I'm not treating people respectfully.

Telling applicants to send you a picture of themselves dressed as a clown and selecting the funniest 10 for an interview would also be an effective way to weed down applicants (many wouldn't respond, so clearly they didn't really want the great job you're offering), and one could even argue that it would give every single one of those applicants a fair chance. Would you agree that such a thing might nevertheless be seen by some as disrespectful?

I'm not saying requesting a coding assessment as part of a job interview is always disrespectful, and I think most people would agree with that. But, as you may have noticed from the reactions to your original post, an unpaid coding assessment that must be performed before the applicant gets a chance at an interview is a bit more controversial.
I have serious doubts that the marketplace can support 3 desktop/laptop workstation CPU manufacturers.

(Amd, Intel, and now Apple)
> If Mr. Trump wants the USPS to screw Amazon over, he has the power to do so. Its clear that Mr. Trump doesn't care about the long-term survivability of the USPS anyway, so he certainly has the power to "weaponize" the USPS and change its terms to become anti-Amazon.

No, he can't. There are laws in place to prevent the USPS from changing the price based on who is shipping. The USPS is Net Neutrality at its best.
In any case, so little nicotine goes into the juice compared to the amount of solvent that increasing the nicotine concentration even to very high levels had a negligible impact on the amount of solvent. And manufacturers aren't going to put less flavoring in.

I'm not sure of the chemistry in this specific case, but it sometimes happens that adding more solutes just causes a solution to get denser, so it doesn't decrease the mass of solvent per unit volume.
So a company has to claim it loses money to be absolved of any moral burden?

IF only the SEC accepted that.
But if your business is to produce, say, cars, why would you want to maintain this knowledge in house. You certainly want to understand your systems, but do you really want to deal with physical datacentres, updating the underlying OS, replacing drives, etc. You kind of want it outsourced to specialists.
How to Burn Wood with Color –  Stained Shou Sugi Ban
Ask HN: How do you track internal API metrics to make better business decisions?
Which tools do you guys use to track the following metrics on your internal APIs?

- Which frontend pages/apps call it
- What is the internal x external call rate
- Error rate per endpoint

At our company, we use New Relic for monitoring and Rollbar for exception tracking, but I often find myself struggling to extract useful information to decide whether we can get rid of an old endpoint, or where most calls from the API comes from in order to optimize it, or which runtime errors are happening in a specific endpoint.

Is this pain felt by anyone else, how is it currently handled?
This probably takes HP off the hook. Still, as a consumer, how would one know? Do you have to periodically search yourself for the case one of your products is faulty? This seems hard.
Trade war isn't a matter of people getting used to. You're adding actual frictions to the system.
The Nurture Assumption
I honestly hoped that this was an April fool's joke.
Y Combinator, Backer of Dropbox, Vaults from Experiment to Kingmaker
The principle beer in the article is a London porter, yet there’s a picture of, what appears to be, a bavaiern style larger. This upsets me
Spotify's odd IPO has big money pouring into the private secondary market
Making it so this isn't true with multiple developers is one of the benefits of waterfall-style programming. Design an API up-front, divvy up work, build it. As long as the design is good and you don't do stupid shit, it's entirely possible to work in parallel without getting in each other's way.

But yes, it absolutely compounds the issues. Everyone involved has to thoroughly understand it all / their role in it, and getting to that point likely takes longer than discovering it as you go :)
Because private sector deficits lead to recessions: https://en.wikipedia.org/wiki/Sectoral_balances
Because he has a lot of power and might act on it.

He barked a lot about tariffs too, and eventually actually followed through.
> No, he can't.

Uh huh.

Let me get more specific then.

https://www.scribd.com/document/254642175/Amazon-USPS-Sunday...

What is preventing Mr. Trump from tearing up this contract for Amazon Sunday Deliveries?

Hint: absolutely nothing. Mr. Trump can destroy the USPS's revenue AND hurt Amazon at the same time if he so wished. I guess destroying the contract will take 30 days, but in any case, Mr. Trump can make "Sunday USPS deliveries" of Amazon goods incredibly more expensive in just one month.

Mr. Trump may need to fire a few Post Office directors, but Mr. Trump doesn't really seem to care too much about the turnover of this organization he's running.
It's interesting how the market never just drops though. I was talking about this with my family over the weekend.

There always has to be some precipitating event, e.g. if you think Tesla is wildly overvalued, it gets adjusted as the result of some event like a (car) crash, and all of a sudden, it's a giant panic.

It's certainly interesting to watch.
They still didn't manage to put together a usable language. Just try to import your `Foo` class into `Bar` and your `Bar` class into `Foo`. BOOM! It will explode into your face. And this is just a basic thing which should work in a real language.
But vaping isn't smoking. It's a similar looking, but significantly different activity that carries almost none of the health risks associated with smoking, both firsthand and secondhand.
Datadog | Software Engineers | ONSITE (Boston, New York City, Paris) and REMOTE | Full-time

Datadog is a monitoring and tracing service for your infrastructure and services. We build our own tsdb, distributed tracing tools, cutting edge visualizations, and more. We love shipping great experiences for customers just like us and are growing fast!

We're mostly Go, Python, and React, on AWS, and moving to k8s.

We're looking for people who can build systems at scale as we process trillions of events per day. Let us know if that's you!

https://www.datadoghq.com/jobs-engineering/?gh_src=ywmco2h41
Not OP, but the LLVM toolchain provided by Apple is a bit clunky and missing features relative to what you get from a typical Linux distro.
The self-proclaimed genius president seems like is following through his threats. What worries me is not the fact he is challenging China for its more than questionable trade practises but the incompetency how this problem would be solved. Tit-for-tat politics won't go far. And just when I started investing in stocks, oh well. I had a policy that I'd buy only after market crash and keep my assets liquid till then but since predicting market crash is just as improbable as investing at the right time I wagered that I should just buy now and worry about it later.
I mean the laptops are great.

Provided you don't need a HDMI port. Or more than 1 spare USB port. Or am ethernet port.

You could get the touch-bar version, but I've read literally nothing but bad reviews and stories about that thing, plus tb versions have smaller batteries.

Yes, I could get a dock, but here's a better idea: how about apple chills out on their unnecessary-thinness fetish, and givese back some actual functionality in my laptop.
It's common for people to look at the S&P 500 chart and immediately decide it's due for a crash. (In fact people have been doing that since 2013!)

But the economy itself is quite healthy. Earnings have been rising and driving up valuations. Unemployment is low. Wages are (modestly) growing. Things are in general very good.

Why has the market risen for so long? Because the correction in 08 was so fast and deep, and took so long to recover from. That doesn't mean we're due for a correction anymore than sunny weather makes you due for rain.

Barring a shock to the system (a war, an unforeseen debt crisis perhaps coming from China, terrorism, etc.) I think we've got some more gains to realize.
I have long said that Mac os X is only useful as a way to start Emacs, but since 10.10 I am not even sure about that.

Of course it is a matter of taste. I get that. I still have to bite my tongue to not yell profanities whenever I hear anything about productivity and Mac OS.

Most of the time I keep my mouth shut. Now I just wanted to tell you that you are not alone. I have to use Mac OS at work. To avoid frustration I have started to let my soul and will leave my body before logging in and let my lobotomized shell I left behind just go with the flow. At least until Emacs is running full screen.
> So a company has to claim it loses money to be absolved of any moral burden?

State and federal governments aren't private companies.
Because properly understanding speech requires sophisticated cognition. No one has any clue whatsoever how to solve that. And political speech is one of the more difficult domains in NLP due to prevalence of innuendo, sarcasm, and non-sequiturs.
I said it wasn't perfect, and that it can't be perfect. I shouldn't be surprised that avoiding hot takes and trying to be reasonable is rewarded with downvotes on HN.
Can someone explain the current and hypothesized future role of Intel, ARM and now Apple chips among Apple products?
They're not really comparable when you look at the numbers. Facebook had 500 million active users, a steadily growing user base (1 billion was projected within a year at the time of the IPO), and a clear monetisation strategy.

Snap had 150 million active users, most importantly it's growth was seriously stunted, and it's monetisation strategy was rather 2 dimensional.

Facebook IPO'd at around $100 billion, Snap IPO'd at $20 billion, and it got very close to $30 billion in the trading immediately after. However nothing about it's numbers should justify that. Investors get seduced by the promise of a SaaS revenue hockey stick, and I hope people learn the lessons of Snap before they buy into future hype IPOs so easily.
Trump just won't shut the fuck up. Any time he goes after Amazon, its a dog whistle for the market to sink. All this trade confusion is the root cause of the matter.

My money is in IRAs weighted against a diverse mixture of stable and medium-risk companies. It's one thing if Amazon is getting criticized, but if the P&Gs of the world are sinking too...
2/3s of all PR activity on Github is on a Mac, for what it's worth. Certainly the platform punches above its weight relative to market share.

https://developer.apple.com/videos/play/wwdc2017/102/?time=2...
Agreed. I've been using a Commodore or PC desktop since ~1986. Been through lots of hardware iterations, seen and pondered many different configurations. I found the 24" 1080P display is the best and the more, the better[0]. And no larger than 24" either, that's crucial. I've downsized from larger panels to 24".

I wouldn't trade my three 1080P 24" panels for 4K panels, unless the goal was to sell the 4K panels and rebuy the 1080P 24" panels. I don't do a lot of gaming anymore, but they're hardly a horrible experience in that regard either.

[0]https://pcpartpicker.com/b/dFmqqs
This comment is completely irrelevant to the post. It seems to emphasize and sensationalize the underlying bias leading to possibly fake news on facebook.

My point is - HN is largely about tech. Not about bias against or for a community. So STOP making it about communities and religion!
There is the idea of "high level concepts", concepts that build on top of other concepts. So it's probably impossible to explain without some insight knowledge into operating systems, programming, multi processing, security, packaging, CS history, etc.

Explaining it to undergrads would therefore require a "model", i.e. an abstraction of the reality that simplifies what is really there, but is still apllicable to make predictions about outcomes in the real world.

So I would start with analysing how I would explain unix user management to a newby who didn't learn filesystems yet. Then transfer some of that thinking to processes instead of files. E.g. this process doing X and that process doing Y shouldn't conflict with each other but might get problems when they both try Z. Therefore they need to be separated in an abstract way. And that's what namespaces are for. yadda yadda.

Another approach might be taking ideas from explaining virtual memory to newbies. I.e. each process has their own virtual filesystem, their own virtual network, and the underlying operating system will figure out how to make things work out without conflicts (if possible).
Anything involving frontend. Dropwizard seems to fill the niche of API server very well but not beyond that imo
A similar flaw exists in the Denny's Canada app. Reveals usernames, email, full name and phone number. The API is entirely unauthenticated and account hijacking is very easy. The app is used for reward points that grant you free meals.

I tried reaching out to them multiple times and was ignored. I tried contacting the firm that developed the app, and they ignored me. Maybe I should have made a pastebin dump :)
IT tech here. I recently had a Dell laptop I unboxed, plugged in CAT5 and power then turned on. Walked away for 5 mins. Came back into my office and smoke was billowing out from the center of the keyboard! I yanked out the power adapter and kicked the fucker into a plastic box and RAN it to the bathroom where I threw it into a sink and waited. It didn't full on combust but the keyboard was melted and so was the bottom. Dell didn't want to hear ANY of it. They immediately wanted it sent to them. Manager made me just send it back without complaining further. They replaced the keys and mobo and SENT THE FUCKER back to use. Still singed an all. I should note that we open 10 or 15 new Latitudes a month. THis was the only firebomb we've had.
You're mischaracterizing the source through selective quotation of a summary of a 29 page article on the subject. For some context around your quotation:

"""Foreigners who sell America goods will either spend the dollars they earn on US exports or assets or exchange the dollars with someone else who wants to buy US exports or assets. Thus, America’s international accounts are always balanced.

* The United States runs a deficit in trade and a surplus in investment and lending, meaning that foreign investors step in to make up for the shortfall in domestic savings. As long as domestic savings lag behind investment, foreign investors will make up the difference.

* Deficits with a single country are meaningless. Just as individuals have “trade deficits” with their grocery store, so do nations run deficits and surpluses unevenly with one another, and it is impossible to eliminate these deficits without addressing the gap between domestic savings and investment.

CONCLUSION

America’s commercial trade with the rest of the world is a part of a complex, interrelated system. If the US government intervenes by turning the spigot to change the flow of dollars through one set of pipes, it will of necessity change the flow through other pipes. It is a contradiction to decry the outflow of dollars to buy imports while at the same time seeking to increase sales of US exports or investment in the US economy."""
From what I see of gambling behavior, I'm not convinced that at $20 ticket price would help the people who are most likely to lose money they can't afford in the lottery.
Nautilus Labs | Full-Stack Engineer | Onsite in NYC | https://www.nautiluslabs.co

Nautilus Labs is a technology company building an innovative software platform that is advancing the efficiency of maritime transportation.

Nautilus’s enterprise software platform combined with our proprietary on-ship solution transforms the way performance data is used throughout shipping companies to maximize fleet ROI. Traditional maritime vessel analytics rely on mathematical models and virtually no data to support one-off actions for fleet operations. Our software provides a 360° view of an organization’s entire fleet, and builds the data foundation for predictive decision-making and business optimization.

If you are excited about the opportunity to make a lasting impact on an industry that over 90% of world trade relies on, Nautilus Labs is the place for you.

Ideally candidates should have experience using a compiled language like Golang and/or experience with a client library like Reactjs/Redux.

To be considered, please submit your application at: https://nautiluslabs.co/job-openings?gh_jid=4005387002
BenchSci | https://www.benchsci.com/about/ | Toronto, ON, Canada | ONSITE Full-time
We are looking for software engineers to join our team. We are hiring Senior Full Stack Engineers (Python, React, Elasticsearch), DevOps Engineer, QA Engineer, Backend Engineers (Python, Neo4J, Django), and Software Team Leads.

BenchSci is a machine learning startup based in Toronto. We use A.I to decode biomedical papers to help scientists accelerate drug discovery. Each year, biomedical researchers waste over a billion combined hours. The problem is with products they purchase to influence and measure proteins. There are millions of them, from hundreds of vendors. Finding the right products for specific experiments is tough. Researchers spend hours and sometimes days searching through published papers for guidance. But even then, many products they buy don't work. Some aren't right for a specific experiment. Others are poor quality. This delays scientific discoveries by weeks or months. And it slows availability of breakthrough treatments, while making them more expensive.

Apply here: https://benchsci.bamboohr.com/jobs/
Geekbench doesn't benchmark single instructions.
In general, there are pretty good reasons for suggesting that people avoid addictions before they're at an age where they'll make decisions about it that they'll be happy with over the long term.

https://www.npr.org/templates/story/story.php?storyId=141164...

> AAMODT: So the changes that happen between

> 18 and 25 are a continuation of the process that starts

> around puberty, and 18 year olds are about halfway through

> that process. Their prefrontal cortex is not yet fully

> developed. That's the part of the brain that helps you to

> inhibit impulses and to plan and organize your behavior to

> reach a goal.

If nothing else, there's a monetary cost, a possible convenience cost, etc., and people should choose maturely whether that's something they want to take on.

(And there are some plausible health risks still with vaping, as others have noted.)
A target of exactly-human intelligence is potentially useful for automating All The Jobs and entering a post-scarcity era without also starting an AI singularity.

Though many approaches to “exactly-human intelligence” would just result in humans that happen to be robots, and we probably don’t want that, especially if the point is to make them do all our work for us.

I don’t know how to refer specifically to the alternative, though—an intelligence that can solve “human-hard” problems, without needing anything like sentience or self-determined goals/desires that would push it toward wanting things orthogonal to its designed purpose. Human-adjacent AGI? Human-competitive Tool AI?