Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
zasdffaa
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
65 ms
·
751.
▲
by
zasdffaa
4y ago
My python is rusty but IIRC it allows functional stuff (except for expression-only lambdas, boo). From https://docs.python.org/3/howto/functional.html it's got map/filter/currying and plenty more, w
752.
▲
by
zasdffaa
5y ago
Huh! That makes sense, thanks! It's standard univ. quantifier behaviour, I hadn't made the link. Also that's bloody odd because date or darwen (or both) explicitly called out this behaviour as flawed in SQL when in fact it&#x
753.
▲
by
zasdffaa
5y ago
> Usually without any actual content worth viewing Yeah. The less info the more clipart/general crap you'll get. Weird innit. As to your other points, I can't argue. I accept a higher level of inconvenience for a higher le
754.
▲
by
zasdffaa
5y ago
Thanks. Info sent.
755.
▲
by
zasdffaa
5y ago
Very interesting. I know exactly what you mean, of how features chang the mindset of the user. I'm nowhere near doing what you want but I've been looking for generally useful DB constraints that currently have to be done via tri
756.
▲
by
zasdffaa
5y ago
The first question they should be asking is, how much of this can I discard immediately, and how much can I discard after storing it in summarised form, then get technical.
757.
▲
by
zasdffaa
5y ago
Hi, I'm working on something maybe relevant and I'd like to know more, - Focus on persisting insert-only events What do you mean? (Are there other events you don't want persisting? why? and what does 'insert-only' m
758.
▲
by
zasdffaa
5y ago
Yeah, write unclever code then refactor. Unless you know the domain well don't try to get smart upfront. I do this repeatedly, pushing the abstraction layer higher on each rewrite. I rarely start out with the abstraction first. [Edit:
759.
▲
by
zasdffaa
5y ago
> I find it almost always better to write dumb code like this until I it does what it needs doing Same! Then I abstract. But others never get past cut & paste. > DRY is about knowledge representation, not about repetition or boile
760.
▲
by
zasdffaa
5y ago
This isn't even a macro thing, it just needs trivial use of procedures/methods, and I too have worked with people that are fine copying much larger chunks of code around rather than make a new function, and I just don't under
761.
▲
by
zasdffaa
5y ago
Now this is an answer I can work with! I completely agree they represent a language deficiency and that should be rectified within the language, but that's not always practical than or even possible. Sometimes you have to fiddle with t
762.
▲
by
zasdffaa
5y ago
You don't get always to choose your language, and even then there will be stuff that needs automated cut & paste at a level that the language can't provide (even down to the lexeme level). Which is why I use generated code for
763.
▲
by
zasdffaa
5y ago
> and indicate that the language you are using lacks the right abstractions for productive programming. Indeed go did not have generics, in fact that's explicitly stated in the post I was responding to: "at the time the lack of
764.
▲
by
zasdffaa
5y ago
> or implement the same function N times over to support the different numeric data types Did you consider using a preprocessor or suchlike
765.
▲
by
zasdffaa
5y ago
You're right of course but 3rd party seem to be the great majority, so blocking them is a big easy win. Also, only 3rd party cookies can track between domains/sites, so that stops that, or so I believe.
766.
▲
by
zasdffaa
5y ago
If you don't specify I can't help. If marketing = 3rd party then you can block these using the hosts file at the domain level, which I do. This blocks >95% of crap cookies. A clear question gets a clear answer.
767.
▲
by
zasdffaa
5y ago
> it won't be hard to imagine other similar things, of which there are plenty which again you don't give. > Anything that requires interactivity ... obviously require Javascript jeez, no shit, I get it. > (some defeatist
768.
▲
by
zasdffaa
5y ago
> How exactly will sites remember that you are logged in? I don't want them to. I log back in if necessary (browser remembers id/pswd). For those few I need to stay logged in, I use a VM and save the state - I'm more conce
769.
▲
by
zasdffaa
5y ago
You don't answer my question, then use a vague term of 'technically work' to ensure I can't give you useful info tl;dr you don't want to be helped.
770.
▲
by
zasdffaa
5y ago
You make your choices and I make mine. Should a person make the informed choice to immerse themselves in the web as-is with all its problems & risks, ok, but most people just pick the easy path then bitch after. I'm not one of them
771.
▲
by
zasdffaa
5y ago
Define marketing cookie for me - do you mean 3rd party? (Some possible control via Tools|Preferences|Exceptions... button allows you to customise by website, although I've never used it. Or just disallow all, which is what I do) --- Ed
772.
▲
by
zasdffaa
5y ago
> and required for a solid modern web experience Absence of cookies don't make things unstable (non-solid?), and fuck knows what 'modern' is supposed to mean, or why it's good. > Or how do you solve this problem? B
773.
▲
by
zasdffaa
5y ago
Word. Tired of these "I don't want this but I won't spend any time or money on fixing it so someone else should do it" posts. Hint: it's under Tools|Preferences in firefox/palemoon
774.
▲
by
zasdffaa
5y ago
Then please post some of these multiple disprovals. You know, facts.
775.
▲
by
zasdffaa
5y ago
> Cookies are just completely broken In what way? > The EU should never have got involved in the way that it did Maybe, can you explain where it failed. > the web is a worse experience as a result That's debatable > with ma
776.
▲
by
zasdffaa
5y ago
Be nice if the website worked without JS. It doesn't even show images. I appreciate low-tech solutions like TUIs, that should extend to websites. IMO anyway.
777.
▲
by
zasdffaa
5y ago
You could post some working examples and show them failing.
778.
▲
by
zasdffaa
5y ago
Jesus. I feel there may be a touch of dunning-kruger about you. From that book (page xvi) " Standard SQL is relationally complete in its support for declarative constraints by permitting the inclusion of query expressions in the CHECK
779.
▲
by
zasdffaa
5y ago
Am aware of sira-prise but not very well. Thanks, will read up (any disclaimer needed here; has sira-prise any link to you?) I'd appreciate you omitting the codeshitter ad-homs, it undermines your case. Pretty sure no declarative state
780.
▲
by
zasdffaa
5y ago
I know about TTM etc, but what business value would that bring to be fully relational? Specifically, thanks.
More ›