Better HN
topnewbestaskshowjobs
Log inSign up

cryptos

1,795 karma · joined Sep 13, 2012 (14y ago) · 645 submissions

Submissions

comment 4y ago · link · parent

The worst thing about the new taskbar is that it can not be dragged to the sides to be vertical. On the typical wide sreens we have today (does anyone rember those 4:3 monitors?) it makes a lot of sense to use the height for other things than the taskbar.

But there are some more things missing, like the ability to open the task manager from the taskbar.

comment 4y ago · link · parent

Best to be used with mysqli_real_escape_string ;-) https://www.php.net/manual/en/mysqli.real-escape-string.php

comment 4y ago · link · parent

Since this thread contains a lot of comments about Java's ergnomics and speed of innovation, it might be interesting what has changed in the last years:

https://www.baeldung.com/new-java-9, https://www.baeldung.com/java-10-overview, https://www.baeldung.com/java-11-new-features, https://www.baeldung.com/java-12-new-features, https://www.baeldung.com/java-13-new-features, https://www.baeldung.com/java-14-new-features, https://www.baeldung.com/java-15-new, https://www.baeldung.com/java-16-new-features, https://www.baeldung.com/java-17-new-features

It is pretty impressive how Java keeps up to date over decades! I think in the long run it is very wise to be conservative over new language features. For example the work von "green threads" (project Loom) is a really good, fundamental approach with backwards compatiblity and there are some voices on the web thinking that such an approach is more clever then introducing "async" to the language (C#, Python, etc). I really appreciate how careful the engineering is and how they don't shy away from putting years into some topics.

comment 4y ago · link · parent

It is possibly the cleanest dead language out there!

> December 12 2019: Programming Languages in the Netherlands

comment 4y ago · link · parent

After trying ruby on rails some years back I didn't really liked the framework. I see the benefit of the "batteries included approach", but I didn't like several design choices and back than also the configuration of rails was not fun.

I'd prefer Spring, Quarkus, or Micronaut with Kotlin, because I think these frameworks have better APIs and the performance is better. I also enjoy static typing with a modern language like Kotlin.

comment 5y ago · link · parent

It is a somewhat silly game, but I like it anyway. It is just good entertainment.

comment 5y ago · link · parent

Microsoft could sandbox chrome and add some (costly) extra checks to systems calls for advanced security.

comment 5y ago · link · parent

I see Mozilla on a long way down. Firefox loses market share quarter by quarter, Thunderbird basically looks like it did 15 years ago and all the other projects are not real successes or have long been abandoned. Now, if Mozilla announces a new product I don't care at all, because I expect that it will be abandoned sooner or later.

Mozilla should really focus on buildind a world class, fast and secure browser. And if this is successfull then start new things.

comment 5y ago · link · parent

Does this also apply to Scala 3.0?

comment 5y ago · link · parent

I like the KISS principle applied here. I'm guilty of over-engineering. Once I worked on a project where we processed a lot of very large XML files ... and we set up a distributed application with Akka! We spent a couple of days to figure out the most clever way to listen for file system changes at the OS level. It was just crazy to read and process a bunch of XML files. A story like the one told here is a good reminder that in many cases a simple solution is enough (at least for a start).

comment 5y ago · link · parent

Oh, no, not Wicket anymore! Something like 12 years ago I was a fan of this framework and thought: "Finally, Swing for the web!". I really don't like the technical approach of Wicket with server-side UI stuff. The framework contradicts the nature of HTTP.

I think it is much cleaner to have a clean separation between server and client frameworks and use, for example, something like Quarkus on the server and Angular on the client and get the best on each side instead of a strange mixture.

comment 5y ago · link · parent

Windows 11 requires new hardware, but delivers hardly any useful new feature.

comment 5y ago · link · parent

I find records super useful! You can not only express things like a Point(x, y) easily, but you can also wrap primitive types like integer to give values semantic, behavior and typesafety. Records are the perfect fit for value types as used for example in Domain-driven Design.

comment 5y ago · link · parent

I see parallels to the Gnome desktop. Users are patronized in the same way and features are crippled, because the developers know best what users actually want! I stopped using Gnome and although I like Firefox for being the last free browser, I fear that sooner or later I'll have to switch to chrome or one of its descendants.

315.

SAML Is Insecure by Design(joonas.fi ↗)

3 points · by cryptos · 5y ago · discuss

comment 5y ago · link · parent

I've no exact copy of the original article in my head, but I think everything after "===" is a copy of it, yes.

comment 5y ago · link · parent

Reminds me of Joel Spolsky's Hammer Factory (original is sadly no longer available): https://www.danstroot.com/posts/2018-10-03-hammer-factories

comment 5y ago · link · parent

100 requests per second? That is not too impressive. Yes, I know Python is their tool of choice, but it is probably the wrong tool for the problem at hand.

There are frameworks that can handle over a million requests per second (simple json output) or at least several 10,000 requests per second if DB queries are performed (even though on different hardware, but just compare the scale).

https://www.techempower.com/benchmarks/#section=data-r20&hw=... https://www.techempower.com/benchmarks/#section=data-r20&hw=...

I think, if performance is a strong requirement, they were better off with another programming language.

comment 5y ago · link · parent

In my (humble) opinion only URL makes much sense in the context of the web, since URI could be almost anything addressing something (in the internet or not).

comment 5y ago · link · parent

Having the taskbar at bottom of wide screen is waste of the valuable height! Where can I give Microsoft feedback without the Feedback Hub app?

comment 5y ago · link · parent

I meant "voice through", of course.

comment 5y ago · link · parent

Sennheiser PXC 550-II. It is comfortable to wear, has good sound and noise cancellation - and void through. Connection is possible with Bluetooth, USB and classic jack plug.

comment 5y ago · link · parent

Or maybe a somewhat crazy solution like static HTML files ...

comment 5y ago · link · parent

I'm a long term Firefox user, but I'm losing hope. Google (mis)used its power to push Chrome and Google implements lots of Web APIs while Mozilla polishes Firefox UI. You can see a significant difference in supported APIs here: https://caniuse.com/

I consider Chrome developer tools to be a bit better, and if I remember correctly Mozilla reduced its investment in dev tools.

The privacy story is better in Firefox, but then again it is even better in Brave.

How sad it migt be, but I think Firefox is doomed to be a niche browser :-(

comment 5y ago · link · parent

I think a sweet spot is "specification by example" also called behavior driven development (BDD). You take a more or less standardized, but human readable language to write down the specification and implement test adapters for it.

A typical tool for this approach would be Cucumber: https://cucumber.io/

comment 5y ago · link · parent

As far as I know Roundcube doesn't support external address books. When I tested it I somehow didn't like the UX.

comment 5y ago · link · parent

A modern open source web based email client to have an alternative to Outlook, Gmail and the like. It should also have calendar integration an the possibility to use an existing address book.

comment 5y ago · link · parent

I consider the usage of Roundcube for the UI a downside. I've tried Roundcube myself and was not really satisfied. It is difficult for to describe what exactly is wrong with the UI but somehow the usability is not really good. Outlook (web), GMail, or Yahoo Mail all feel better to me.

What I'd really miss would the integration of an external adress book (Google), because I wouldn't want to duplicate all my addresses.

comment 5y ago · link · parent

Twitter is just terrible for this kind of content!

comment 5y ago · link · parent

Series F = they haven't found a sustainable business model yet?
1
101112
22