Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
culturedsystems
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
culturedsystems
1y ago
"It is very annoying when you need to add a dependency and suddenly you have to touch 50+ injection points because that thing is widely used" You don't have to update the injection points, because the injection points don
2.
▲
An Introduction to Recursion Schemes
(blog.sumtypeofway.com)
1 points
by
culturedsystems
2y ago
|
1 comments
3.
▲
by
culturedsystems
2y ago
"because it does preloading directly in javascript, it can't possibly follow the HTTP semantic of not actually applying cookies until later when the cached route is used" I may be wrong, but I don't think using JavaScrip
4.
▲
Design document on nullability and value types
(mail.openjdk.org)
2 points
by
culturedsystems
2y ago
|
0 comments
5.
▲
by
culturedsystems
2y ago
I initially interpreted "unaccounted-for null values may cause compile-time warnings, but not compile-time errors" as meaning "in some cases, an unaccounted-for null value might not cause a compile-time error", but in
6.
▲
by
culturedsystems
2y ago
"Soft deletion isn’t a blanket rule" That's right, I think it's really "soft deletion as a blanket rule" which is the anti-pattern; soft-deletion is one option which (IMO) is used too often without thinking abo
7.
▲
Avoiding the soft delete anti-pattern
(cultured.systems)
61 points
by
culturedsystems
2y ago
|
55 comments
8.
▲
by
culturedsystems
3y ago
I don't think there's an explicit reference in the JavaScript spec to numbers being treated this way, because this is how all variables are treated in JavaScript - the relevant part of the specification is probably the definition
9.
▲
Predicate Functor Logic
(en.wikipedia.org)
3 points
by
culturedsystems
3y ago
|
0 comments
10.
▲
by
culturedsystems
3y ago
Temporal tables, aka system versioned tables, are something like this: https://mariadb.com/kb/en/system-versioned-tables/
11.
▲
by
culturedsystems
3y ago
The language in the UK version of the law is "strictly necessary for the provision of an information society service requested by the subscriber or user", which the ICO interprets as meaning "it must be essential to fulfil th
12.
▲
by
culturedsystems
3y ago
The paper linked to in the Criticism section of the article [1] is well with reading, IMO. It points out that AOP only works when there is "obliviousness of application", i.e the code to which the aspect is applied doesn't ne
13.
▲
If there's a concern, it's your concern
(cultured.systems)
1 points
by
culturedsystems
3y ago
|
0 comments
14.
▲
by
culturedsystems
3y ago
It's an API for a specific hypermedia client, i.e, a web browser. It's not obvious that it's the best hypermedia API for a different client, for example, a JavaScript application that happens to be running in a web browser.
15.
▲
by
culturedsystems
4y ago
"quicky discover I couldn't post on the timeline of the music or videogames one" That's technically true, but who cares? The instance timeline isn't a "community", it's just a particular filter applie
16.
▲
by
culturedsystems
4y ago
Taylor Swift did do something a bit like this this for a previous tour - you could get early access to the ticket sales by doing various kinds of fan activities, including buying physical copies of her records, watching videos, and posting
17.
▲
by
culturedsystems
4y ago
Emails still retain the structure of intra-office memos, something which hasn't existed for at least 20 years. We don't really notice with emails, because the initial real-world analogy became a minor detail of the more technologi
18.
▲
Minecraft and NFTs
(minecraft.net)
11 points
by
culturedsystems
4y ago
|
0 comments
19.
▲
by
culturedsystems
4y ago
More useful than just the solutions on the Grauniad's site is https://www.fifteensquared.net/ which has solutions with explanations of most of the UK newspaper cryptic crosswords, including the Guardian.
20.
▲
by
culturedsystems
4y ago
When people write "why yet another", they usually mean "why this one specifically". And that's the case here, where the author lists what they think are the weaknesses of the state of the art, and explains why they
21.
▲
by
culturedsystems
4y ago
If your code is sufficiently distinct that block scope is useful, and there's no obvious contextual clue as to why it's distinct (like an if statement), put it in a separate function to explain why it's distinct. The article
22.
▲
by
culturedsystems
4y ago
The post gives an example - overloading a method based on the type parameter (e.g separate overloads for Option<Integer> and Option<Double>). This is why Java's generic erasure is more of a problem than Haskell's type
23.
▲
by
culturedsystems
4y ago
You don't need to distinguish KI (the kite) from KI (the kestrel followed by the idiot bird), because they evaluate to the same thing. Kite xy is y, and if you evaluate Kestrel Idiot xy, you get: KIxy -> Iy -> y Similarl
24.
▲
by
culturedsystems
4y ago
"Safari seems to ignore maximum-scale=1 and user-scalable=no" This is somewhat ironic because, if memory serves, the original reason people started adding this to their HTML was because of some dubious scaling behaviour on iOS Saf
25.
▲
by
culturedsystems
4y ago
AKA the Torvalds backup system https://lkml.org/lkml/1996/7/22/8
26.
▲
A Critique of the Remote Procedure Call Paradigm (1988) [pdf]
(cs.vu.nl)
19 points
by
culturedsystems
4y ago
|
9 comments
27.
▲
by
culturedsystems
4y ago
The Spring code isn't restricted to strings, it will accept any type. So you don't need to find unsafe string serialisation to get an RCE; what you need is some type which is unsafe when deserializing the output of its own seriali
28.
▲
by
culturedsystems
4y ago
I don't think there's any vulnerability in your repo as it is. It's not deserializing attacker controlled data, it's deserializing a string which was serialised by the application. There could be a vulnerability if, inst
29.
▲
by
culturedsystems
5y ago
I agree there's not much point using this kind of simple builder if you have named function parameters, but the GoF builder pattern has a couple of additional features which can still be useful. In the GoF examples the construction pro
30.
▲
by
culturedsystems
5y ago
Constructor inject is generally a positive here, though, as the compiler will tell you where you need to add the new dependency. If you find that you have to add the dependency in lots of places just to satisfy the compiler, not because the
More ›