HN user

ash

5,047 karma
Posts188
Comments472
View on HN
zhero-web-sec.github.io 1y ago

Next.js and the corrupt middleware: the authorizing artifact

ash
94pts36
www.youtube.com 1y ago

Ladybird browser update (January 2025) [video]

ash
46pts1
www.youtube.com 1y ago

Is String Theory dead? [video]

ash
3pts2
ladybird.org 1y ago

This Month in Ladybird – November 2024

ash
4pts0
chrismcdonough.substack.com 1y ago

Generic Open Source Project Can't Also Be a Successful Civil Rights Project

ash
4pts0
world.hey.com 1y ago

Cookie banners show everything that's wrong with the EU

ash
4pts0
learncodethehardway.com 2y ago

Just Use MSYS2 You Say?

ash
20pts12
www.gobeyond.dev 2y ago

Failure Is Your Domain: Error Handling in Go

ash
2pts0
sandstorm.io 2y ago

Sandstorm Now Belongs to Sandstorm.org

ash
5pts0
jacklance.github.io 2y ago

Enigmash Game

ash
67pts6
research.swtch.com 2y ago

Go Testing by Example [video]

ash
178pts47
go.dev 2y ago

Gobs of data (2011)

ash
89pts58
blog.sentry.io 2y ago

Sentry's Open Source Values

ash
2pts0
world.hey.com 2y ago

X Marks the Motivated Reasoning

ash
2pts1
tonsky.me 3y ago

A case for ClojureScript 2.0

ash
11pts1
github.com 3y ago

Display brighter-than-white color on Apple devices

ash
321pts179
www.scattered-thoughts.net 3y ago

UI library for relational language (2017)

ash
2pts0
www.scattered-thoughts.net 3y ago

Reflections on a decade of coding: Emotional Management

ash
2pts0
www.scattered-thoughts.net 3y ago

A practical relational query compiler in 500 lines of code (2016)

ash
4pts0
ln.hixie.ch 3y ago

Ian Hixie's retrospective about the WHATWG

ash
1pts0
hynek.me 3y ago

Surprising Consequences of macOS’s Environment Variable Sanitization

ash
95pts23
skew-lang.org 3y ago

Skew: web-first programming language from esbuild creator

ash
2pts0
iai.tv 3y ago

Cosmology and the big bust debate video

ash
2pts2
futurice.com 3y ago

Bach to the Future – Humanising Music with Neural Nets (2019)

ash
52pts15
github.com 3y ago

Knex.js SQL injection vulnerability, unpatched for 6 years

ash
3pts0
www.businessinsider.com 3y ago

NASA Space Poop Challenge winner solution – how it works (2017)

ash
1pts0
frontside.com 4y ago

Effection – Structured Concurrency for JavaScript

ash
1pts0
www.instructables.com 4y ago

DIY 1kW MPPT Solar Charge Controller

ash
68pts11
timiskhakov.github.io 4y ago

Programming Guitar Music

ash
7pts0
www.youtube.com 4y ago

Feynman’s Trigonometry Notation

ash
3pts0

It is harder to maintain two networks instead of one. Potential problems double. Hacks like RFC8305 "Happy Eyeballs" become a must.

Unfortunately, individual actions would never be enough to solve the IPv6 chicken and egg problem. See djb's "IPv6 mess" article:

https://cr.yp.to/djbdns/ipv6mess.html

Yes, it is old, many examples are outdated, but the main points still hold. Decades later his suggestions for making IPv6 succeed are still not implemented.

The article by Ory's Aeneas Rekkas perfectly describes OAuth / OIDC problems. The only thing it misses is the suggestion for the alternative protocol for first-party auth. It does suggest that it's preferable to use simpler systems like Ory Kratos. But OAuth / OIDC is a set of protocols, not an implementation. Is there an a effort to specify simple auth protocol, when third-party auth is not needed?

Cool project!

OAuth-based auth providers are nice, but they can have a weakness. When you have just one app, OAuth can be overkill: protocol is complex, and users suffer jarring redirects¹.

This is not surprising, because OAuth / OIDC is fundamentally designed for (at least) three parties that don't fully trust each other: user, account provider and an app². But in a single app there are only two parties: user and app itself. Auth and app can fully trust each other, protocol can be simpler, and redirects can be avoided.

I'm curious what OpenAUTH authors think about it.

¹ Except for Resource Owner Password Credentials (ROPC) grant type, but it's no longer recommended: https://datatracker.ietf.org/doc/html/draft-ietf-oauth-secur...

² In addition, OAuth is mostly designed for and by account providers, and follows their interests more than interests of app developers.

As someone outside of the field I don't follow your argument. The author stated that the problem is not just in the analog nature of quantum computer, but in the impossibly large amount of analog parameters to process and also to correct errors in.

Interesting observation about the maximum lifetime of a bubble:

I believe that, appearances to the contrary, the quantum computing fervor is nearing its end. That's because a few decades is the maximum lifetime of any big bubble in technology or science. After a certain period, too many unfulfilled promises have been made, and anyone who has been following the topic starts to get annoyed by further announcements of impending breakthroughs. What's more, by that time all the tenured faculty positions in the field are already occupied. The proponents have grown older and less zealous, while the younger generation seeks something completely new and more likely to succeed.

That IEEE published this surprises me

I find your reaction to be a positive sign. The sign that IEEE is willing to push envelope of knowledge (as of 2018). One can't push it without taking a risk of publishing something wrong, possibly very wrong.

I don't have any opinion on this topic, it's not my field of expertise. However, it's the first semi-technical article about quantum computing that I can follow along and understand.

The New Internet 2 years ago

there are hundreds of users hundreds kilometers away, all working via Tailscale

Do you require your users to install Tailscale?

I don't find it persuasive. First of all, people are not going to start writing and saying wildcards. Second, there is an established convention to say "2000s" and mean 2000-2009.

The article does not really resolve the ambiguity with 2000s which usually means 2000-2009, not 2000-2099.

That said, in Finnish language people never count centuries. It's always "2000-luku" and "1900-luku", not 21th and 20th.

Very good article! One of the gems from it:

If you buy an NVIDIA GPU, you do not get a document explaining the instruction set. It, and many other parts of the architecture, are secret. If you want to write code for it and don't want to use NVIDIA's toolchain, you are expected to generate PTX, which is a somewhat portable intermediate language that the NVIDIA drivers can consume. This means that NVIDIA can completely change the instruction set between GPU revisions without breaking your code. In contrast, an x86 CPU is expected to run the original PC DOS (assuming it has BIOS emulation in the firmware) and every OS and every piece of user-space software released for PC platforms since 1978.

Hn.js 3 years ago

This line is only triggered for /hide action.

Hn.js 3 years ago

does auth contains a CSRF token?

Yes, it looks like it does. Also, the vote auth param is different for every link.

The author does cover this point, further in the thread.

An example:

A company has $1.2M in revenue; and $1M in costs (let's assume all costs are employing devs fulltime).

Before 2022: the profit of the company is $200K. Pays corporate tax on this.

In 2022: the profit of the company is $1M (of the $1M in salaries paid for devs, this needs to be amortized over 5 years: so $200K can be amortized for the year). Need to pay corproate tax on this. But the business might not have this much cash on hand, and so needs to borrow at a high interest rate. MASSIVE change!

... and so now companies are incentivized to have as little R&D expenses as possible (aka fire fulltime devs doing R&D, unless they can front the 5-year spread).

https://twitter.com/GergelyOrosz/status/1735037956438523984

Fines are often gamed: lobbying, legal defence.

I would argue big companies care more about losing customers. Сompetitive pressure is more effective than laws and fines. And laws are not without downsides, including becoming barriers to entry into competition.

JSONB has landed 3 years ago

Yes, in the context of JSON handling by JavaScript. I meant string keys that can be interpreted as non-negative numbers. Those are traversed first, the rest of the keys are coming in insertion order. For example:

    > JSON.stringify({'one': 1, '3': 3, 'two': 2, '2': 2, 'three': 3, '1': 1})
    '{"1":1,"2":2,"3":3,"one":1,"two":2,"three":3}'
JSONB has landed 3 years ago

There are situations where keeping order is useful. For example, human-editable json config files.

I also gave an example of two implementations that are compatible for a useful subset of keys. By the way, SQLite JSONB keeps object keys in insertion order, similar to Python: https://news.ycombinator.com/item?id=38547254

JSONB has landed 3 years ago

What about SQLite JSONB? Does it maintain order?

UPDATE: I think SQLite JSONB does maintain order. For example:

    select json(jsonb('{"a": 1, "b": 2, "c": 3, "d": 4}'));"
    -- {"a":1,"b":2,"c":3,"d":4}
And it does maintain order when adding new keys:
    select json(jsonb_insert(jsonb('{"a": 1, "b": 2, "c": 3, "d": 4}'), '$.e', 99));
    -- {"a":1,"b":2,"c":3,"d":4,"e":99}
(tested on https://codapi.org/sqlite/)
JSONB has landed 3 years ago

Javascript environments ... guarantee that they'll preserve object key order when JSON is evaluated

Yes, but only for non-integer keys.