skysight-inc/HackerNews huggingface dataset:
I dare anyone of you who thinks like this to study as much modern idiomatic Java as I've studied Python or Javascript.

I'll give you this though: Old Spring and JSF code could be really bad, I remember updating two different XML files every time I changed something in a controller.

Edit: even back then with all that boilerplate it was really nice compared to legacy Delphi where it took three full days with an expert to find and install all required dependencies before one could even start compiling the old source.

By comparison my Java dev environment was up and running in less than half a day with Ant, and when we introduced Maven a few months later setip time for a new developer was mostly the time it took to check out code, install dev databases (yep, back in the days) and set necessary environment settings. (Protip: many people hate NetBeans but one thing it got more right than all other Java IDEs AFAIK was accepting the pom file as the truth instead of creating its own.
The problem with this line of thinking is

1) The amount of wealth held by ultra-billionaires isn't nearly enough to solve our poverty problems. If you seized literally all of the wealth of the the entire Forbes 400, it would fund the US federal government for 8 months.

2) Wealth is illiquid, and if one were to seize it, you can only seize it once. It isn't an ongoing stream unlike, say, income. So to amend the last statement, if you seized literally all of the wealth of the entire Forbes 400, it would fund the US government for 8 months, one time.

3) Wealth is not zero-sum, it is created. The global inflation-adjusted GDP has gone up from ~$2T in the mid 20th century to ~$110T today. The ultra-wealthy have enjoyed most of that growth, but one can argue that it's because they created that wealth. I.e. Bill Gates' net worth is only as much as it is because he created Microsoft, which has added ~$1T (its market cap) to the US GDP.
Kotlin is basically Java without the boilerplate. Some of the code snippets on the page, translated into Kotlin, would be:

data class User(val username: String)
data class Config(val userTable: DynamoTable, val userId: String)
typealias ItemToUserConverter = (Item) -> User
class DynamoDbUserProvider(
val configProvider: ConfigProvider,
val userTableProvider: UserTableProvider,
val dynamoReader: DynamoItemReader,
val itemToUserConverter: ItemToUserConverter) {
fun execute(id: String) = itemToUserConverter(dynamoReader.execute(userTableProvider.execute(config), id))
}

Plus it comes with great debugging/refactoring/IDE support, async/await, type inference, and good Java integration.
The problem becomes how deeply one needs to research before credible facts can be distinguished from agit-prop / disinformation.

I can't think of many people I know who have the time to become investigative journalists, in effect. And I know that a lot of things I think I know are probably propaganda or spin or just one sided stories.

Big problem indeed.
Why is it that we accept that any piece of code can just randomly reach into the file system and connect to any server?

Why isn't the file system an object you pass around instead?
PR firms are really good at spinning and diffusing and confusing criticism. Not completely, but enough to split a community trying to rally behind anything that is against their interests.

The sale or takeover would start with promises that nothing would change, and then would change slowly enough that each editor would have a different breaking point and thus be too fragmented to move over at a specific point.
> > Flight search interfaces don’t seem to filter on equipment.

> I suspect this is going to change as booking web sites can use that feature as a selling point.

I hope you are right. Google flights might add a filter. But will Southwest add it to their own site?
Have you tried speaking to any women to get their opinion on the matter?

Because basically every women in tech has many many many stories of their bad experiences, all the way through the pipeline.

If you want to talk about universities, the problem with them is often the culture. Women are second guessed, every step of the way, and are often told that they don't belong there, and they have their abilities questions much more often than men.

This very common toxic culture of universities, often drives women out of the industry, because they feel like they don't belong, and aren't as good as their peers, even though they might actually be getting better grades than their peers.

If you speak to almost any woman in tech, they will be able to tell you this, and they will be able to give you many examples of the horrible experiences that they had to go through, every step of the way, through the pipeline.

It might not be all women that have these experiences. But it is most of them. Polling and data collection supports this conclusion.
Groovy did so long before that ;)
How do I post a job?
So he is in fairly regular contact with an individual who was subject to an investigation? The system seems to work as intended. I would be worried if his account was not subpoenaed.
As it turns out, fleeing the country and hiding in your nations nominal rival is no way to start a grassroots campaign to thwart civil injustice.

Snark aside, King wanted to lead a movement and take all the associated risks with it. In the end, history showed us that he would become a martyr before seeing his goals met.

I can’t fault Snowden, for wanting only to blow the whistle then immediately seek personal safety.
EU citizens can submit formal complaints to the European Commission for suspected infringements of competition rules.

Here is more information on how to file a complaint: https://ec.europa.eu/competition/contacts/electronic_documen...

If you believe Google engages in anti-competitive practices with AMP, you have the power to signal these issues, which may result in an investigation.

You can also share your concerns with a simple email to comp-market-information@ec.europa.eu.

> You can report your concerns by e-mail to comp-market-information@ec.europa.eu. Please indicate your name and address, identify the firms and products concerned and describe the practice you have observed. This will help the Commission to detect problems in the market and be the starting point for an investigation.
This is a brave post. It takes a lot to share this with the world. I truly hope the right partner comes along and makes the best use of all the hard work you put into this. Respect
>Boeing can't even keep its newest plane in the skies

The 787 is the newest airframe and it's fine. The 737 is the Windows XP of the sky and there's only so much you can fix with service packs.
> they promote a view that the solution to all ills is lower taxes and less regulation.

I’ve read the Economist for a long time and have never gotten that impression. That’s more the Republican Party platform, who they really don’t support. In the articles, they explicitly argue for more regulation in the form of enhanced anti-trust laws and enforcement.
I am a big fan of rust, but I am starting to feel like this is a thing with it too. Not to the same extent at all, but I often find myself writing what feels like scaffolding boilerplate code.

That said, the code is usually there for a good reason and I'm extremely thankful for it in the instances where things are refactored and the compiler catches it, or some deviation from the norm comes up and the scaffold allows for doing things the way you need.
You hardly provided more than enough evidence on the contrary. I can however point you to the work of Thomas Ferguson for example: https://en.wikipedia.org/wiki/Investment_theory_of_party_com...
What does that have to do with respect for receiving device or connection speed?
That also has its downsides though. For starters, it would no longer be possible to take down domains used for controlling botnets.
The correct response to bloat is to penalize it in search. If they can't get rid of bloat, better quality sites can rank.

This would likely mean sites with less tracking and ads - two things Google has a vested interest in.
> It means you have a full time job just changing it back to the way you want it in every application on every device, and even then you're liable to miss some.

Hopefully not. Firefox has some techniques for disabling DoH that rely on computer or network-wide changes. If other applications also adopt these or similar techniques, you'd only have to make the change in one place to turn it off for every application running on any computer on a network.

Specifically, as I understand it, Firefox disables DoH if

1) Windows Group Policy is used to manage a computer

2) A canary domain is blocked

https://support.mozilla.org/en-US/kb/dns-over-https-doh-faqs...

(Disclosure: I work for Mozilla, but not on the Firefox browser)
So it's like Snakemake? [0]
Snakemake can also control k8s clusters. Perhaps they are easier to set up with Metaflow?

[0] https://snakemake.readthedocs.io/en/stable/
Thank you for your suggestions.

All I know at this point is that they've had a younger guy build an app for them in Java and it doesn't work as well as they'd like it to.
They said something about it outputting to Excel, and that right now they can watch it putting the data on the spreadsheet in real-time, which isn't desirable. Also, there was something about it being manual rather than automatic.

My work colleague has sold me to them as a Java guru, which might've been true 6 or more years ago, but I haven't used it in a while. They still have the original developer, but they think I might be able to teach him a thing or two. My Java experience was mostly web applications, so it's hard for me to say whether I'll have much value to add or not before looking at it.

I do well enough right now that I don't plan on chasing side gigs, but I'm not afraid of giving this a trial run.
How many average people are walking around saying "I've quit the web! It's too slow!"?

Nobody. It's a non-issue because, despite the faults of the web, the average person is still clicking on chum-boxes, sharing clickbait, and using Google services.

Google isn't trying to save the web. They're trying to become the web. And they've already made their money, so what makes you think they care out of the goodness of their hearts?
The infamous "FizzBuzzEnterpriseEdition" relevant to the topic,

https://github.com/EnterpriseQualityCoding/FizzBuzzEnterpris...
You're missing the mark here by quite a bit. First of all, LineageOS has nothing to do with iOS and you aren't about to get the masses moving over to LineageOS any time soon. Feel free to tinker, but know that it is not an answer to Apple's iOS.

Second, GPS sucks terribly in many cases. Are you inside a building? Inside a city financial core? Inside a tunnel? Also, did you know that unassisted GPS takes minutes to establish a lock even in most good cases; it is only because of the tower-provided assistance that GPS can resolve in less than a minute, ever.

Third, it doesn't matter what the location source is. The issue is what controls are in place for using the location data. And for sure relying on GPS does not solve that problem.
For myself, I write scripts that are part of automated analysis pipelines. So in my case (and probably others), using the REPL is mostly useful for testing code.
The 737 needs to go away. It's a great plane from a different era (staircases instead of jetways). That era has long passed. They've been trying to shoehorn it in. Rather than scale up the 737 cockpit flight controls they could have scaled down the 777 cockpit. Or even developed an all new one license cockpit in the same vein as the A320 series.
I don't seem to understand the whole thing. To me the premises are:

1) we can't trust ISP with unencrypted DNS query

2) we can trust a third party with DNS query because those are encrypted.

My questions are:

- Why is 1 true? What are ISP doing with unencrypted DNS queries apart from knowing browsing habits?

- With DoH do they not know your browsing habit anymore?

- If there is a possible mitm attack with unencrypted, would it be fine if the ISP themselves ran a DoH server?

- For the 3rd party: why would a 3rd party want to run a dns server for free? ISP run DNS server but customers pay a bill to them precisely to do things like this.

in other words, in the long term, wouldn't it be a money sink for Cloudflare to run a DoH server?

- Instead of just one DoH endpoint, could browsers take a list of DoH servers, and picking the best one in terms of p95 latency, with some round-robbin tries occasionally to verify if anything changes?

This would solve the issue of one of the DoH service "having a bad day". Some amount of centralization would remain but based on an objective criteria (latency).

(The article answers some of those questions and/or points out the same concerns)
> I also wondered if a domain name under a country code top-level domain (ccTLD) like .in is more susceptible to this kind of sinkholing than a domain name under a generic top-level domain (gTLD) like .com. I asked Benedict if it is worth migrating my website from .in to .com. He replied that in his personal opinion, NIXI runs an excellent, clean registry, and are very responsive in resolving issues when they arise.

I'm not sure that's the correct conclusion to come to from this experience. Yes, the registrant happened to get lucky in this case, in that they had significant enough reach on Twitter and HN to get the right people to pay attention and get eyes on resolving the issue. But that easily could not have been the case (and might still be the case in the future), and with a ccTLD, you have no recourse.

I think the correct lesson here is to go with a gTLD, because if worse comes to worst you will always have recourse through ICANN if necessary (since the gTLD operator is contracted with them). On a ccTLD it's not always gonna work out. Heck, the registrant was already ignored by the ccTLD operator in this case anyway; it's frankly kind of lucky that they had the CEO of their well-known registrar go to bat for them. That's not the kind of intervention you should be regularly relying on to keep and maintain your domain name!
The cost of Lambda provisioned concurrency pricing
Best run Page and Brin. When the hammer falls on political interference you want to be in another solar system.
Google is the greatest criminal enterprise to ever walk the face of the earth.
I think part of what's happening right now is that the IDE for most languages other than Java seem to be consolidating on VS Code as the lowest common denominator. This makes sense given how many projects these days are a hodgepodge of 3 or 4 different languages, but the fact that working with the JVM more or less requires a dedicated IDE makes Java a lot less attractive to most teams.

(Yes, I know you can do Java in VS Code but I wouldn't want to manage a large Java codebase with it.)
In my opinion, this is the reason Java still _mostly_ remains the enterprise choice; When things are mostly boilerplate under the hood and following a small set of patterns and principles, it's really easy to onboard/ditch engineers.

That said, I like the motif brought up here, and I think the only thing lacking from the piece is how this stifles developers' engageability and creativity.
Secure but inconvenient has an immediate and visible downside, whereas insecure convenience has delayed and nebulous downsides. Convenience will always win when appealing to the lowest common denominator, but maybe we can have both.
No one called Wikipedia or Doctors without Borders a failure. The article states that relying on donations is risky by nature, let alone when increasing expenses every year.

I would love to hear your thoughts on this, do you think there is no way donations may decline leaving Wikipedia in trouble with hundreds of people on it's pay roll?
Since Go doesn't even have inheritance or getters and setters, they may have a point (though getters and setters are pretty easy to do I guess if you want them, it's not part of the culture).

Culture is really important in programming languages and I'm not sure it is something you can ever separate from the language itself, as for example the standard library dictates in large part the structure of your own code.

I do agree though that there is no great reason Java has to be more verbose or more confusing than say Go.
Absolutely admire how the poster put [unpaywalled] after the title, everyone posting on HN should do this
Personal Invisibility Cloak Stymies People Detectors
AMP Is ruining mobile web. I cannot stand it. If it was actually made to be fluid, I'd see the value. But it's such a terrible UX, and so janky with the way it "pops in", and messes up "browser back" abilities. Out of all the shitty things Google has ever done, AMP is #1 to me on that list.

Orrrrrr just give me a damn option to turn it off, if I want. I will never understand why companies force people into these types of major UX decisions on their behalf. Stop assuming every user is stupid. Sure, make it the default, I don't care about that for the everyday user, but for something as fundamental as the browser, I should have an option to turn off every single Google opinion they bake in.
You don't. That is exclusively for YC companies.
If you don't have a tax consultant, get one; you can pay and deduct these expenses out of the business.

I do a monthly transfer from my business to personal checking within the same bank - it's free - takes less than a minute per month.

I dump my bank transactions as csv and drop them into a google sheet - this gets handed off to my tax consultant at the end of the year.

My tax consultant tells me when to pay payroll taxes -- either quarterly or I might just lump it into the last couple quarters of the year depending on how my situation for the year is shaping up. I login to eftps and edd and do this manually - again, doesn't take that long.

It's lightweight for one person - I never thought to use a service to manage it.
They do and have done it for many years. But it’s hard (impossible) to stop a user from (being tricked into) downloading some random crap and insisting on running it despite warnings about untrusted executables and warnings about the executable asking for administrator permissions.
This has very little to do with that. McDonnel Douglass had no equivalent to the 757 really either. (The MD-11 was a suitable replacement for the 767, if you wanted a 3-hole aircraft)

I'm absolutely certain that if Boeing was making a 757NG like aircraft, United would have bought those. When it comes down to it, Boeing has no direct replacement for the 757. Airbus does, so United bought airbus.
F*ck the Internet
I love AMP sites that do it the right way, like Politico. Keeps the real domain, loads fast, clean interface. I wish more sites were like this. I think the first version of AMP where the URL was always "google.com/amp/politico/sdgffsdf" was awful but you can now keep the correct domain and I sometimes prefer it to the regular version of a lot of sites.

https://www.politico.com/amp/news/2019/12/04/trump-impeachme...
If the respect was for the receiving device or connection speed, the metric used to determine priority of results would be size of payload / speed of delivery, rather than if the technology / hosting was google-owned.
Thats not Java. These are the wet dreams of some CS graduates who fell in love with Spring and Hibernate and take rough OOP guidelines to extremes.

Nobody - NOBODY! - used to write such Java code in the 2000s, at least the early ones. This insanity slowly started around 2005 and then really took off late 2000s and then particularly 2010s.

Again, thats not Java.
It would be easy to penalize pages for load time, Google's goal is something different.
Senators want answers about algorithms providing black patients less healthcare
IIRC, Boeing muscled the C-Series out of the market with race-to-the-bottom tactics, which eventually led to the Airbus acquisition of the program. If Airbus manages to meet its targets with the A220 this might constitute in ironic justice.
The typical usage for StringBuilder tends to make it pretty obvious you're using a StringBuilder and everybody expects you will convert to a string at the end. Usually StringBuilders are short lived and all the calls and the declaration are close to each other.
Absolutely important to bring up. I don't care how creative you allow your developers to be while they leverage Ruby/Python/etc.; At the end of the day, they're accessing data from a DB and serving it to a client...
Botanist when you want ALL the favlors. And as a bonus it's 96 proof, too.
Per a quick check of Wikipedia it seems like they're about equal.

The KC46 is being fielded by the US and a few nations that the US traditionally use the same arms.

The A330 is fielded by the UK, a couple commonwealth nations and KSA

Total number built is in the 30s for both.
> they could par that back without affecting their ability to operate

Sure, but can they? Seems like an ever expanding cash sink, according to those financials...
Working remotely and dog owner too, I find walking the dog to be a great help for having a real (mindful?) break without thinking of work.
This is exactly why I've always had a strong aversion to Java. I like 'easy to remember' languages, with a strong preference towards Go and Python, and -somewhat- C though I don't use it often. In any of these languages, I can use an IDE with nice integrations, or if I want to write a quick one off, I can drop into vim and pound out a 50 liner and run it. This is an absolute nightmare to attempt in Java.
In 2017, Disney updated TRON 2.0 (released 2003) for Windows 10 compatibility:

https://www.rockpapershotgun.com/2017/07/01/cor-tron-2-0-jus...
Is there really such a law? It could be communicated as legal compliance, instead of saying it is a non issue.
I catch myself doing this all the time. I'm never going to move this project off Postgres, so why the hell have I created an interface to abstract the database?
If it were just an optional web standard, that might be okay. But it's a system that removes control from webmasters and hands it over to Google, and Google are using their incumbent advantage to coerce you into the AMP system. I can build a site just as fast as AMP without sacrificing the UX of the web itself in the process, and I intend to do so. But there are many businesses jumping on the AMP bandwagon because they think there will be an SEO benefit.

As a user, I hate clicking on AMP links by mistake. It's not even clear where you are, is it a website, is it still Google, how do I get to the website from here? Who even served me the content? It says it's from this website, but it wasn't?
Java doesn't have a preprocessor macros so everything is generated explicitly. Its not that unique of a concept.
Some workflows require running scripts from the command line though
+1 for Terroir

Delightful gin right there.
This. Far from being a fanboy of Java (and I write JS for a living), but you can generally quickly understand what's going on with the boring code, and can refactor mercilessly.

Whereas in huge JS codebases relying on framework magic you can really have hard time to understand what's going on without plugging a debugger (and even then it's still not easy). Trying to refactor legacy code that relies on `this` and prototypes is a nightmare.
>Google isn't trying to save the web. They're trying to become the web.

This is 100% the argument that I try and explain when people say "I don't support Google, I use Brave" (or some other Chrome/Chromium browser over Firefox). It typically falls on deaf ears.

I wonder how many people supporting the imo absolutely deserved "FUCK GOOGLE" mentality use Chrome to voice their thoughts?