News for hackers. Stuff that matters.

absove

In my experience everyone believes they're part of this 15% of travelers interested in the local culture and not one of those stupid NPC going through the motions so the distinction this article is drawing between good and bad tourism completely defeats the point it was trying to make.
Re:Paving the on-ramp to Java on Friday September 30, 2022 @05:25AM (#33032778)
There's a new version of Head First Java that came out this year, I expect it's reasonably up to date wrt modern language features. I haven't read it personally but it's frequently recommended.

At a more intermediate level Effective Java 3rd edition is a must read.

At a glance an iPhone seems like one of the worst general purpose computing device for the global poor so in this case it's maybe not that big of a deal.
Re:Java’s Cultural Problem on Monday September 19, 2022 @08:31AM (#32897458)
The blog author is a contributor to cats-effect, if you want to have a look at complicated and adhoc abstractions, look no further. One person's AbstractSingletonFactory is another person's Kleisli monad transformer.
Re:Java’s Cultural Problem on Monday September 19, 2022 @08:23AM (#32897348)
I'm pretty sure Quarkus tries to stick as close as possible to Java EE APIs with some limitations to accommodate the lack of runtime reflection, being Red Hat's answer to application containerization for which JBoss isn't a good fit, if it looks like Spring it's mostly because it's a popular style in Java.
Re:An X11 apologist tries Wayland on Monday September 19, 2022 @04:56AM (#32895924)
I have noticeable screen tearing on vertical monitors right now when scrolling and dragging windows on Fedora 36/Gnome 42/Xorg/nouveau. Glad to know this issue doesn't exist so I can stop paying attention to it I guess.
Re:Google cracks down on VPN based adblockers on Monday August 29, 2022 @10:14AM (#32638513)
95% of users have no idea what Firefox for Android with ublock origin is
Re:Ask HN: What LaTeX editor do you use? on Friday August 26, 2022 @06:04AM (#32605346)
I've been using Texmaker for the past 10 years for the few occasions I need to edit some LaTeX file. My needs are really basic so I'm not sure if I'm missing something compared to other editors.
A daruma.
Re:Glassdoor not so anonymous on Tuesday July 19, 2022 @04:26AM (#32148911)
I've never used glassdoor myself, but don't you need to use your company email while leaving the review to prove you actually work there, so leaving an anonymous review isn't even possible? Why would anybody use glassdoor if that's the case?
Re:Ask HN: How do I learn real-world COBOL? on Wednesday June 29, 2022 @04:41AM (#31917782)
> Some banks tried to jump on the Java bandwagon when it was the hyped up thing of the moment and now many are going back to COBOL.

What's wrong with Java that COBOL doesn't suffer from exactly?

Re:Thunderbird 102 on Wednesday June 29, 2022 @04:07AM (#31917600)
On ubuntu you open Software, search thunderbird, and click the install button. Or you open the terminal and type sudo apt-get install thunderbird.

How come you were able to learn how to do it by drag-and-drop on macOS, even though installing an application by D&D is completely unintuitive and unique to apple, but learning how to do it the linux way is an insurmontable task that you can't expect normal people to figure out?

Why is it people with kids can handle a 2-3 hours long interview on-site + travel that probably required taking time off work but can't handle a 4 hours assignment that they can do whenever?
The latest additions to the standard library generally follow that approach: java.time, java.nio etc. But of course the older API are still fully mutable OO. A new collections API, immutable by default, is still needed and that's not happening any time soon.
Re:RedHat Enterprise Linux 9 released on Wednesday May 18, 2022 @09:13AM (#31422351)
Which fedora version is this based on? It's supposed to be documented here https://docs.fedoraproject.org/en-US/quick-docs/fedora-and-r... but it hasn't been updated yet.
Re:Ask HN: What is a modern Java environment? on Wednesday March 30, 2022 @06:14AM (#30853314)
Just had a look at your scala 3 extension, it's really nice. Does it support hot code reload like you would get in quarkus dev mode with java?
Thanks this looks interesting, there is a youtube playlist with recordings of the lecture too https://www.youtube.com/playlist?list=PL1y1iaEtjSYiiSGVlL1cH...
Isn't it the case that you can still work elsewhere in the meantime, just not for direct competitors? So you may get 70-80% of your previous salary working outside your more lucrative niche, but your previous employer still pays you 50% of your old salary to make up for it? Surely a non-compete can't be so broad that it forces you into unemployment.
Re:Why I Like Java (2014) on Monday February 21, 2022 @09:45AM (#30416402)
I found the server code of the Signal messenger to be very readable https://github.com/signalapp/Signal-Server
Re:Show HN: Open-core icon sets that took me 12 years to create on Wednesday February 16, 2022 @06:03AM (#30358506)
It's a GPL library, which is a copyleft license that actually predates the usage of the term "open source". Just because it's on npm/github doesn't mean you don't need to check the type of license.
Very naive question but is it different from what npm, pip, etc. let you do already? Does the app installed this way get more permissions coming from a signed installer? I'm not familiar with OSX security model.

Ask HN: Learning resource for an overview of security for application developers

Is there a book out there, or any other type of resource (website, video series, online course...) about practical security for (web?) application developers, that is highly regarded as a good overview of the field? I'm looking for something similar to Designing Data-Intensive Applications, that is able to present the theory and protocols in an accessible manner, how those concepts are...

( Read More... | no comments | on HN )
Re:Go Replaces Interface{} with 'Any' on Wednesday December 15, 2021 @06:02AM (#29564307)
Not so much a nitpick because with checked exceptions your method signature can declare multiple types of exception whereas Result generalizes your specific exceptions to Throwable, which you can't pattern match with the compiler being able to enforce exhaustiveness.

So to achieve the same exhaustiveness as a method like

User createUser() throws IOException, BusinessException

you would need both a Result-like construct and union types

Either<User, IOException | BusinessException> createuser()

which few mainstream languages offer. Otherwise you type is unable to express that only IOException and BusinessException are thrown and you don't need to handle a default Throwable case.

Re:EU Commission to open source software on Friday December 10, 2021 @10:12AM (#29510791)
The European institutions run the Atlassian suite internally so if they self-host anything, which they most likely will, it will be Bitbucket because that's what their IT is experienced with.
Re:GC progress from JDK 8 to JDK 17 on Wednesday November 24, 2021 @11:46AM (#29331950)
wouldn't community edition fit the bill? Those things you mention are the main difference with ultimate.
Re:Which version of JDK should I use? on Monday October 11, 2021 @05:09AM (#28826317)
If you're on linux, use the openjdk build from your distro's official repository. If you're on windows, download the latest openjdk build from oracle (currently https://jdk.java.net/17/), extract somewhere, put /bin folder on path. Optionally set JAVA_HOME env variable to the main folder path. No clue about OSX but it's probably similar to windows.

Ignore oracle jdk, ignore any concept of LTS/not-LTS, that's only for companies with big pockets and specific needs.

People really like to make it sound more complicated than it actually is.

Re:Mozilla to put ads in Firefox address bar suggestions on Thursday October 07, 2021 @04:51AM (#28783789)
Wasn't there some google cookie in firefox that couldn't be deleted at some point, related to safe browsing? Then when people kept complaining they just hid it from the UI? I honestly don't know what the situation is now though.
Re:I Stopped Using Emojis on Monday July 12, 2021 @08:50AM (#27809699)
Ending your sentence with an ellipsis feels so passive agressive to me for some reason.

Then occasionally I'll get a mail from someone who seems to use them as their default punctuation... For every single sentence... I have no idea why they do it... Do they think it gives them character...?

Curious in which category you think the majority of European countries fall into? The domestic social network one, or the don't use social media one? Because as far as I can tell US social networks are the norm there and there very much is a social expectation that you are reachable on them, even if it's not government mandated.

Older »