skysight-inc/HackerNews huggingface dataset:
What code are you writing that Tomcat runs? Are you coding against the servlet spec? Or are you using something like dropwizard?

Tomcat is a servlet container that implements various Java EE specifications, such as the servlet spec, jsp spec, etc.

Spring encompasses many different libraries. The most widely used is probably Spring MVC, which builds on top of the servlet spec to make building web applications easier. After that Spring Security is probably most widely used, which adds things like auth, CSRF tokens, etc. Spring Data and Spring Cloud are also somewhat popular. There are many more Spring libraries, but I have little to no experience with them.

You can really give or take what you want here. You can use Spring MVC with Spring Data, or Hibernate, or JPA, JDBC, or whatever you want really. One place I worked used Spring MVC with home grown security and ORM layer.

Spring Boot brings "convention over configuration" to Spring. Because Spring is so configurable it can take a lot of boilerplate. Spring Boot removes much of that boilerplate for certain use cases and has, generally speaking, more user friendly defaults.

Spring Boot also runs off a server embedded in the jar. That's why you can "just run" it. You create a "Main" method. You can choose from several embedded servers, including Tomcat. But this isn't exactly special for Spring Boot because you could do this even if you didn't use Spring Boot.
It doesn't, parent is suggesting everyone benefits when cloud providers use their accumulated wealth to hire people to work on their OSS investments as some kind of justification for the consolidation of wealth from OSS happening around cloud monopolies.

It doesn't benefit everyone, it benefits anyone using their proprietary and OSS products and cloud services. It definitely doesn't benefit existing OSS projects who are seeing their innovations replicated by full-time resources or OSS developers working on competing projects.
I’d have to rebase and force push otherwise it’d look like this: https://xkcd.com/1296/
Hi! Rob here (founder). $3 is the break even retail price we estimate for when we start selling next year.
Maybe treating them as a dumping ground for people who aren't "cut out for college" is part of the problem.
Google can have GPU count near player count but when there is no big demand they can be used for other types of computations.
It's called flagging which youtube made it more prominent by "youtube heroes".
https://motherboard.vice.com/en_us/article/pavyp8/youtube-co...

However you can just go to any app in the playstore and flag it. If you have a "high trust" then google algorithm can take it down with just one flag.

I have high points on google maps and it's scary how my edits for even embassy and consulates are approved instantly:
https://screenshots.firefox.com/314Jgow6iDMhflNF/www.google....

Scammers have been banning competitors, changing bank phone number on google maps (https://www.hackread.com/fraudsters-changing-contact-details...) and also taking down youtube videos.

Google gives zero shit
Nice tool with a better way to manage my bookmarks.
Wish it could have some setting about background and board images. :)
This is such a shockingly naive worldview, but I see it almost every day.

Solving needs and reaping rewards have become disconnected - this is the exact problem we're discussing here.

In fact, solutions and rewards have become opposites in some cases, so it is more profitable to create problems than to solve them. This has become a significant portion of the economy across many sectors, but especially in advertising.
A ‘Disgusting’ Yale Professor Moves On
> It hides state but gains none of the advantages of Erlang because all of the implementations forgot to make state only mutable through explicit message passing.

Smalltalk is exactly like that - other objects' state is only mutable through explicit message passing. It's also widely considered the penultimate pure OO language.

> Pretty much all of the OO languages are walking back OO features

About the only feature I can think of for which this is somewhat true is inheritance, and that's because we realized that aggregation is often a better model, and can be easily supported by the language to be no more verbose. But it doesn't fundamentally change OO - it was never about inheritance first and foremost; I mean, prototype-based OO doesn't even have that conceptually.

> and trying to add type classes (contracts)

In most OO languages, these typically naturally evolve out of interfaces.

> functional pieces, mapping and filtering a la linear data transformations.

This is not contradictory to OO in any way. Again, Smalltalk has had "select" (filter) and "collect" (map) from the get go.
Yeah. Seems like quite a claim without and details.
Interesting. What are some examples of things he predicted in the past that were really impractical short-term, but turned out to be spot-on long-term?
It's the same as the browser choice system that Microsoft had to implement. I have no doubt that it helped Firefox and then Chrome gain market share. https://en.m.wikipedia.org/wiki/BrowserChoice.eu
Yikes, I read my original post and I think yeah, you're right. I mean "more fair workplace". And fair being for both employee and employer. That's why I think competition would be important, as long as we can avoid a race to the bottom situation it might make unions more relevant.
The City of Orlando has had electric buses since 2017[0]

https://www.orlandoweekly.com/Blogs/archives/2017/08/17/orla...
Okay, just make life harder for everybody. Nice.

How does subsidizing education, thus creating more college graduates, increase the value of a degree?

There must be some sort of monstrous arbitrage going on, where young people have figured out a scheme for boosting their market value, and employers are utterly clueless about it.

My own suggestions would be to provide better protections for blue collar workers, such as better enforcement of workplace safety laws, stronger unions, health care, pensions, and a generally stronger safety net.
Yes it can. Check out the Russian Sevmorput.[1] It is the only active nuclear powered merchant ship in the world.

[1] https://en.wikipedia.org/wiki/Sevmorput
Once you get a license, it will pay about $125/hour. Four year apprenticeship first, though. There is a general shortage of elevator mechanics, so go for it.
Did you read the article? The organ-harvesting thing appears to be disputed.
I've recycled a 2011 mac book pro with snow leopard, put in a SSD instead of the dead spinning disc and WOW it was flying!

I/O is definitely the biggest pain point.
When we are electing the president by the same principle, I assure you that it is even worse than you can imagine. Societal collapse is imminent. Those who are comforted by their station in life always think they are living in a utopia. You are surrounded by fake smiles adorning people forced into subservience. At one time the myth that hard work and dedication would pay off in the end kept people in line, the "american dream" they called it. Now that myth has been tempered by reality, watching the last generation work all their lives with many having little to their names and no security is what looms over the current generation. We know it's a lie. That lie was keeping things together. We are heading into an age of great civil brawling fueled by immense economic pressure caused by corruption on all fronts.
This article is filled with large claims that run completely counter to all economic intuition and evidence we've gathered over the last century like "low interest rates hurt businesses and cause slower growth", "large companies buying startups for lots of money hurts start up creation".

Extraordinary claims require extraordinary evidence but the article provides none, and the study's the article links to are behind a paywall.
Just an anecdote here, but I use Google and Chrome on Linux, where it's not default, as well as Android.
We've passed that sci-fi trope where corporations now wield more authority than governments.

I have a better relationship with corporations more than governments. A corporation has never harassed me at an airport when trying to leave. If I don't like MacDonalds I can... stop eating at MacDonalds. If I don't like the services the state provides I have to physically remove myself.
I don't disagree, so this is my opinion on how that reality reconciles against how the world needs to work for us to enjoy comfort and prosperity.

Rule of thumb for depreciation is about 2-5% of an asset decays each year and if it isn't maintained the whole thing will need to be replaced every 20-50 years. Some things defy that rule, but most things need repairs. If we live in a world where going into the trades that build and maintain everything is not considered a first-class job that allows a worker to make a first-class contribution then that is a problem.

Rather than spending money on funneling students away from the trades, money should be spent improving the OH&S outcomes of tradespeople and improving their access to tools. If someone is umming and aahing about doing a trade or becoming a social media expert, they should be able to rationally see trades as the more worthwhile job for themselves and others (obviously unless they have a real flair for social media).
> it feels like the designers resented OOP and reusable code

Can you give some examples, that wouldn't be equally applicable to Java?
In reality difference is probably 4x - household has two cars and AC is shared over 2 people.
> From kindergarten on, students spend thousands of hours studying subjects irrelevant to the modern labor market. Why do English classes focus on literature and poetry instead of business and technical writing?

uggggh this, this market-driven bullshit that assumes "business" should be the end goal of all human behavior

English classes focus on literature and poetry because maybe you should have some sense of beauty, because you should have some vague idea of what a good fucking sentence looks like instead of just learning to write the abominable circumlocutions of this year's dialect of Business English. Because maybe reading stories about people in interesting moral dilemmas can help us think about how we'd react in a similar situation and be able to say "hey wait I am starting to act like that asshole in that one book, it sure didn't end well for her, okay what else can I try then".

Because part of the job of education is to pass on a culture to the next generation along with raw knowledge.

> Why do advanced-math classes bother with proofs almost no student can follow? When will the typical student use history?

What's the old saw about people who don't learn history? They're doomed to repeat it? Do you really want kids making the same mistakes your parents made, because they didn't see any of the results? "Oh hey let's vote for this obvious confidence man for the lulz, what's the worst that could happen", one year later we have literal fucking Nazi groups rallying in the streets?

uuuggggghhh yes let's all just learn exactly what we need to learn to be useful to some big corporate entity, let's learn nothing that will make us ever question its inhuman, amoral, profit-first motives, I am sure this will have absolutely no problems whatsoever.
Sorry, a key aspect to any "labor crisis" is that you can't be paid very much. I mean, do you think that as one of the 10 escalator technicians in your city, you should be paid as well as one of the 500 doctors? Doctors are very important people.
This is so meaningless I don't even know how to respond. Banks have the same responsibility and look how they've treated customers.
And how many hours of the day can I actually do that. $125/hour sounds real nice until you factor in the fact that most of these jobs have very inconsistent workloads so you could spend 5 hours working one day and then have no work next week or have to spend a day fixing a mistake for free.
That's a common misconception that Lisp macros are mostly used to 'delay' evaluation.

What Smalltalk calls 'blocks' are just (anonymous) functions in Lisp. Books like SICP explain in detail how to use that for delayed evaluation in Lisp/Scheme:

https://mitpress.mit.edu/sites/default/files/sicp/full-text/...
I think the parent commenter means "practiced."
My guess would be perspective, two kinds.

First he’s gonna be behind the throttle quadrant. The stabilizer wheels are roughly in the center of his vision, so he will notice them moving and when they start and stop. The pilots have them down near their thighs, so they’re not even necessarily in their peripheral vision. They will be less likely to notice every time they start and stop.

Second the jumpseat guy has no flight responsibilities. He can focus on thinking about what’s wrong without dealing with all of the other stuff you’re doing on departure. Radio calls, navigation, performance monitoring, configuration changes or being agitated by the stick shaker.
Not all universities are primarily research institutions. And I think you'll find that the majority of courses are taught by adjuncts or TAs who are being paid exclusively to teach.
Talk is cheap: Counselling by amateurs costs little and can work wonders
Only if allow colleges to give "degrees" in Escalation Technology. The problem these days is that students want "cool" titles and do not wish to do the hard work. Who will work in hot sun fixing escalators when one could get a fancy degree in "gender studies" and argue on which bathroom should be used by transgender male who feels like women on even days ?
> So the NTSC explicitly chose to exclude this [...]

Jeez, what a PAL...
>If the price were to include a carbon tax, it would likely be at least ten times higher and we would very quickly get rid of our beloved gas guzzlers.

Wouldn't you expect a carbon tax to be similar in price to the cost to get the carbon back out of the air?

CO2 released per barrel of oil (when converted to various fuels and burned) appears to be around 300-450 kg [1][2], but we can round up to 500 kg to be conservative and make the math easier.

The cost to take it back out of the air appears to run between $30-$200/tonne depending on how you do it [3][4][5]. I think it's worth speculating that this cost is likely to drop precipitously as the demand and scale at which we need to do it increases, but we can very conservatively stick with $200/tonne for now.

Crude oil is at about $59/barrel today. $200 * 0.5 tonnes = $100. So with the most conservative estimates, it wouldn't quite triple the cost.

[1] https://pyrolysium.org/how-much-co2-produced-by-burning-one-...

[2] http://numero57.net/2008/03/20/carbon-dioxide-emissions-per-...

[3] https://www.c2es.org/document/the-cost-of-u-s-forest-based-c...

[4] https://cleantechnica.com/2016/01/19/carbon-capture-expensiv...

[5] https://en.wikipedia.org/wiki/Carbon_sequestration
It’s bad because this leads to a standard React project having over 2,000 dependencies.

The real question is: do you -really- need an external lib with 20 dependencies just to show a freakin’ loading spinner? Remaking the wheel is bad but so is never making truly simple things yourself, or just not using them.

What happens when a common package breaks? What happens if it gets hijacked and becomes a security vector that’s impossible to spot because it’s loaded as the 567th package in a dependency tree?

The answer here is to have a strong stdlib where do you don’t need to pull in 3rd party packages all the time for trivial things, and not including a million small packages in every single project.
So as someone who starts out with a YC '19 * Volk Fi phone, your sharing will be at 0, and therefore immediately subject to a 5GB data cap with $1/gb afterward.

Uh huh. In the old days, we called this a "Multilevel Marketing scam".

(And the best part is that I would pay for my own internet line, AND pay for my phone use use my internet line.)

* https://igamerss.com/index.php/2019/03/19/here-are-the-85-st...

"Volk Wi-fi: Volk is making an Android smartphone with a free information plan, no service required. The co-founders say they’re utilizing long-range wi-fi to share connections and construct a community of telephones. Co-Founder Greg Hazel was the Chief Architect at Bittorrent, whereas co-founder Straya Markovic was the lead engineer at mesh messaging platform Firechat."
It doesn't infringe on anything unless you believe everyone must make the same choices you've made. If your employer is making you work long hours because someone else is, that's on your employer, not the employee who is voluntarily working long hours. Nothing is stopping you as an employee from putting in more time if you want to or leaving if you don't, but depriving others of an opportunity to choose their own priorities is not a right anyone has.
> make hiring and firing much easier, so you can quickly end a relationship that’s not definitely not working.

Firing is already pretty darn easy in most states. At will employment is pretty much designed to accomplish that.
Weird, it seems to be totally smooth for me on Chrome 72 (MacBook Pro 13" 2017).
There is a possible political drive behind recent mass media coverage on Xinjiang surveillance. It will not surprise me if the US announces sanctions on Chinese AI firms in a couple of months.
I would use Intellij. The most important features are:

* Find usages (Alt+F7)

* Navigate by hierarchy (Ctrl+U/Ctrl+Alt+B)
I always wondered who represents home owners who have cheap houses... Like a $50k house. Whether you are selling a 50k house or 500k, there's a similar amount of work. But those houses do get sold.

Also as a rental property owner I hate how realtors charge by the monthly fee. Meaning, if I rent out my house for $2k a month, I need to pay them that amount for a new tenant. A $2k a month property with tenants that have jobs is easier to maintain than $500 property with tenants that barely hold a job.

They also take a 10% cut per month of the rent... $200 for $2000 rent... $50 for $500...just to do the same thing. Real estate fees make no sense!
While I agree that thirst for punishment is counter-productive, I'm not sure that people did their best, or rather that the criteria of the "best" were right.

I remember that the aircraft in question was tweaked beyond stability in order to reuse the existing type certificate. This procedure need scrutiny, likely both on Boeing's and FAA sides.
That pun just hertz.
The checklist in question has three steps. Step two is "move stab trim to cutout," which disables automatic systems that adjust the stabilizer. The pilots in lion air had ~10 minutes to do this.

It is extremely unlikely that the pilots were trying to work through the checklist. More likely they simply did not know what to do.
If catering to older browsers, developers that aren't familiar with JS build/release tools or the latest fad/buzz then jQuery is still viable. jQuery used to be the easiest way of getting things done but now it is more of a tool. I loved jQuery but I have seen it abused so bad that it has become a design smell if the page/service gets too big. If you are doing simple things then jQuery will be ok but if it is a really complex page/site then using something like Vue or React may be appropriate just for ease of diagnosing problems/reasoning.
All the things you list are not a part of the moat to compete with the big providers. They are barriers to becoming as large as them. But 10,000 smaller hosting companies could easily start to cut in on their long tail customers. Most any mid size hosting company could handle the traffic and compute of 95% of companies out there.
> Once you get a license, it will pay about $125/hour.

Billed $125/hr while actively working on a particular job, or a sure $125/hr for 2000 hours a year?

The amount you bill pays for your downtime, too.
That's the platonic ideal of a professor's utility, yes. In practice it's more of a mixed bag. Once you leave the top ~100 colleges the scales stop being tipped towards research nearly as much.
You can turn that off, unless it's just the idea that is annoying can't turn that off I guess.
I know several elevator mechanics. It pays well, very well. Also is a very dangerous job.

Its a special kind of personality. You need to be mechanically handy, and have some electronics and software sense as well. I suspect if more people were aware of what it paid, they would go for it, if they were willing to put up with hazards.
I am visiting Tauranga for couple of days - a big port here in NZ. I can smell sulphur quite often around city. Reminds me my childhood when playing with chemicals.

Similarly I can smell NOx out of some modern diesels. Reminds me a jar of nitric acid I used to keep under my desk, until the lid rusted thru...
By this logic, we should "forget" all the go green initiatives because China (and Africa) are building a "Green Wall" to stop their respective deserts from widening.

https://news.nationalgeographic.com/2017/04/china-great-gree...

I say this is mainly about China because Africa has modified their green wall project and instead of planting billion trees from East coast to West coast, they are helping communities to thrive by planting trees and reviving land.

China is crazy in this sense, there is a thick patch of shrubs that now border the Gobi desert and mainland China. By 2030 it'll be the largest manmade plantation on Earth.

edit: 66 billion trees planted so far!
Decoupling might have benefitted JavaFX, but it did not benefit me who develops professional desktop applications for a living, and it did not benefit my users.

If they wanted to decouple, they first should have created a cross-platform jpackager-like tool that generates native executables for major platforms.

I remember JavaFX was launched with great fanfare as a modern replacement, which it certainly might have been - a modern, efficient platform. I am afraid it will slowly decay and dissolve into oblivion to be replaced by gigabyte-size electron apps.
You should return some ResultOrError<Result, Error> value instead of throwing Exception..
Only if you also believe that the other assets you could be investing in (stocks, bonds, sweat equity in a startup, cryptocurrency, an apartment block in Portland) won't increase over time.

The money you save in interest doesn't just disappear - if you have any financial sense, you invest it in an asset that yields more than 3%/year.
If you don't like Google and Apple you can't stop using both of them. If you don't like your local ISP you probably can't stop using it. The free market only gives consumers power over corporations when those consumers - through democracy - keep them from amassing too much power via regulatory bodies. Some people act like the government is the threat, but in a democracy the government is the only thing that truly gives you any power.
> They haven't forgotten what American missionaries have done either.

What exactly is that?
Currently in Northern California there is more overtime available for elevator mechanics than people available to work that many hours legally.
Huh? Examples or some sources would be appreciated.
Not to mention plant like a million of trees bordering the Gobi desert.

https://news.nationalgeographic.com/2017/04/china-great-gree...
This will have Gotenna like speeds, that is it will take several seconds to send a small text message. That’s in an optimistic scenario where the recipient is within a mile or two of you. In a mesh scenario, the speed is going to go way down. In an area urban enough that there are other VolkFi owners to mesh through, there is almost always going to be cell service. It’s just a gimmick to let them sell some slightly modified Android phones. My guess is that they will almost always be connected through the cellular network. If the user would then like to imagine that they are connected to some kind of physics-defying mesh network, I suppose that’s nice. They could probably save on production costs by omitting the 900mhz chip with almost no effect on the service.
Have you seen https://bullettrain.com/products/express-keyboard-platform? I have an older version of this and I love it.