skysight-inc/HackerNews huggingface dataset:
I'm in Australia so have fewer options than many others here.

We use a mutual bank for most of our transactional banking. We have several companies, trusts and superannuation (think IRA) accounts there.

My wife and I also have a joint account at a commercial bank. This is solely used for personal purchases on a debit card. The account has no international fees, which is unusual for Australia.

We use Ledger CLI to automatically ingest all transactions each day. I wrote a scraper for the mutual bank and commercial bank (needed to OCR the PIN pads they like to jumble around). This gives us great visibility into all expenditure and origins of funds. My wife and I get a daily email with PDF attachments for our various entities.

We use Interactive Brokers for most investments, along with IG Markets to mitigate some counterparty risk. We've mostly retired (thanks to a startup) so most of our wealth is held in there. I use IB's FTP delivery service to receive detailed daily account statements (with GPG encryption). I also use IB API to do some algo trading.

We also have some crypto with 5 different exchanges given we don't trust any of them so it's straight-forward counterparty risk management. These are also algo traded.

We avoid cash use because it doesn't auto-categorise into Ledger CLI. I wish we had more privacy but by spreading things around between the banks, brokers and exchanges no single institution has any real clue about us. Sure the government does, but they get that all the important info freely anyway via tax returns or simply asking nicely.

It's all reasonably automated, but I have to shuffle money around each quarter or so.
For those looking in like me and had to read to know who this guy was, and read the comments here - cut the crap. Sounds like a generally good human being who lived a life worth pondering if not more. Even if out of step, the level of untoward animosity because of the "My context is smarter than yours" factor isn't appropriate. Get over yourselves and your opining.
There is nothing bad in general with list comprehension there. Problem is lambda which uses variable from outer scope. In Python, comparing to JS, using variables from outer scope is not so common. I prefer more obvious constructions and in case of problems with scope I can even create class to protect value that I need to manage.
And yet, the most popular French SUV won't be a taxed a single € as part of this super malus (Peugeot 3008 and 5008).

Thus tax increase will impact far less than 1% if the sales. It's all PR, nothing concrete.
Claims that weak devices couldn't handle strong cryptography are mostly bogus.

Fun fact: The Atari 7800, designed in 1983, used a 956-bit Rabin signature to vendor lock games. Strong cryptography was unavailable for a long time primarily due to indifference, ignorance, and interference and not primarily due to computational limits.
Python works just fine with tabs, but the language-endorsed style guide (PEP 8) recommends against them. (However, the usual plugin for Vim requires adding "let g:python_recommended_style = 0" to work correctly.)
Nail Shapes for Your Hands – Blog- Salonist Salon Software
Call me cynical but - I'm guessing it's a lot easier to punish market sectors in which your own manufacturers are weak.
1password operates on subscription model. From their support (https://support.1password.com/frozen-account/):

You received this message because your 1Password subscription has lapsed. While your account is frozen, you can still view all your items, copy your passwords, and even copy items to vaults outside your account. But you won’t be able to:

Add new items to vaults

Edit items

Invite people to your family or team

Fill items in your browser

It becomes a read-only list of your passwords, instead of providing ongoing service at a fixed version of the software (unlike JetBrains IDEs, where you actually keep fully operational version of the IDE at the latest version you qualified for).
UTF-8 is the current default.
Well, that's my point. I see people hung on my apparent dismissal of "bad blood", but that wasn't the core of what I meant. I just can't imagine how people can end up in a situation where they'd be actively getting rid of their elders over Christmas[0] by faking or causing illness to them. There's a difference between refusing to visit or care about someone you don't like, and getting them admitted into a hospital to get rid of them for a few days.

--

[0] - And May break - a bunch of Polish holidays close together; reportedly the second busiest hospital time, for the same reason.
The export controls weren't relaxed particularly willingly.

https://en.wikipedia.org/wiki/Bernstein_v._United_States
> What I want is a piece of software that doesn't change. Or when it changes, it doesn't notify me of it - it just keeps working until I find enough time to actually go on my own journey of discovery.

Use one of the stable desktop environments on Linux.
This is why the world is acting so sluggishly to climate change.
Vectone Mobile
Or they just indicated why the opinions differ, ie what might be the different usage patterns that lead to different opinions.
Command-spacebar is probably what you’re looking for

And there are many ways to restart the Mac using shortcuts:
https://support.apple.com/en-us/HT201236
I find the explanation lacking? sort also "changes the list in-place", but you can do ([3, 1, 2],)[0].sort()
Yes, glorious. See also [].

Where I live (the Netherlands) there is absolutely no need to drive a ridiculous Dodge Ram with a 6 liter engine that emits a bazillion kg co2.

However there's a worrying trend of people exploiting some tax loophole to drive them cheaply, with road taxes going down to the level of ordinary passenger vehicles.

I'd really like us to implement similar incentives to get these ridiculous things off the roads.

[] https://www.iea.org/commentaries/growing-preference-for-suvs...
A lot of them worked that way or similar in Python 2 and basically they are not a bugs, but optimization or just language design decision.
I don't see FP (and I mean pure FP style) as the underdog. I think the FP community tend to blame FP's repeated failure to reach mainstream on either developers' stubbornness or FP's poor implementation in many languages.

The way I see it however, is that FP has had plenty of attention and plenty of opportunities to go mainstream but it failed to do so simply because it's not as effective as imperative programming when it comes to building most real-world software.

It's not like the market doesn't know. Every developer on the planet knows what FP is and knows all the benefits. Some imperative languages like JavaScript have even adopted some aspects of FP for certain use cases (some aspects of the front end UI related to dynamic templates; e.g. VueJS, React).

But FP is ideal only for certain narrow niches. FP proponents should just leave it at that and stop trying to promote FP as if there is a fundamental law of science which says that it's superior to imperative programming because it's not.

My personal experience with FP is that it's not good for creating large modular software. You can't create effective abstractions that are accurate models of real world entities without encapsulating their state as well. State is an essential and inseparable part of the abstraction when we talk about modeling real-world entities in software.
I agree totally with that, it's an ugly trap in python, although mitigated by the fact the language doesn't encourage this kind of paradigm so you rarely encounter it.

But more absurd than creating a global variable if you forget "var/let/const" ? More absurd than "this" being schizophrenic ? More absurd than having no namespace for 20 years ?

That's pushing it.
Aliens, traverses interstellar space just to troll humans.
May I add — shudder — Books.app: http://macos-design-review.com/books.html
The number of possible states exploding is indeed a problem with frameworks like React.

One mental model that helps reduce this load, that you alluded to, is avoiding product types where possible in favor of sum types.

Eg. Imaging you have a type describing React props for some component: {a?: number} and {a: number} | {} seem very similar on the surface — they both describe an object with a single field that may or may not be defined. In both cases you have 2 possible states.

But as soon as you add another field, the number of states can grow quickly unless you’re thoughtful: {a?: number, b?: string} has 4 states, while the model you might have been trying to describe — {a: number} | {b: string} — still has just two.

The less states you have, the easier it is to reason about and automatically verify your model. But in practice, people often accidentally introduce product type where they meant to use sums. I see this with Flow and TypeScript-typed React code all the time.
What if the constant presence of stress hormones makes people more prone to pessimism?
It would be nice if you responded to the substance of what I said instead of skipping over it and vaguely refuting a conclusion.
As said elsewhere, I've had excellent X11 experience with WSL2 at least thanks to the open-source VcXsrv.
The effects of LSD seem to persist for similar amounts of time independent of dosage. The drug has a halflife for urine and blood sample detection, but that does not affect the time that the user feels the effects of the drug.

https://www.popsci.com/lsd-gets-stuck-in-brains-receptors-se...
Yes, I agree that most websites continue to do that, though to be honest the cookie management works in several websites

But I use ad blocking/cookie blocking so I guess it works the way I want regardless of what they think
Yeah considering what you say there must clearly be political motivation

But contrast a 5008's 120 g/km with the average American gas guzzler doing 350+ g/km. All in all this is a good development imo.
Maybe I’m misunderstanding, but I’d argue that arrow syntax in js is equally special syntax as lambda function. They’re both native ways of making anonymous functions. Python’s version is more clunky, but no more special
Maya is still embedding Python 2.x. Soon (tm)...

Makefiles are half the reason I enable visible whitespace in my editors.
"Effect and exception" is bad, but its a special case of a more general bad design - the fact that `a += b` is sometimes equivalent to `a = a + b` and sometimes changes in-place.
Yes! So much that! I can't believe that it's okay in python to declare/initialize a variable within a loop or if statement, and that it goes to live on afterwards. JS fixed that issue years ago with let and const.
Unicode had been the default for 13 years. 2.7 reaches End of Life in less than 2 weeks.

And as for curly braces, try typing:

python -c "from __future__ import braces"

In a terminal :)
Picking up and moving the cursor in iOS 13 shows the cursor about half a centimetre above my finger as soon as I move the finger up or down at all. The precise location it will be moved to is perfectly visible to me. Is this not how the feature works for everyone else?
I wonder if the chronic LSD use and the stroke were related.
Not original commenter, but the S&P 500 has recently been paying roughly 2% dividends [1]. So $11.5M gives circa $230K/pa or $19,166/m.

[1] https://www.investopedia.com/articles/markets/071616/history...
If that is true then it sounds like a great protectionist measure, so not PR at all!
Dutch bill requires updates for TV and phone (Dutch)
It uses unicode but it doesn’t use UTF-8 by default as external encoding and never as internal encoding except for an optional secondary buffer.
How does memory management work in Crystal. Is it RC or GC or manual?

As a D user, I've been curious about Crystal for a while, but until it gets proper Windows support I won't be playing with it too much.
Thanks for the explanation! I happened to be thinking of similar multithreading ideas (chunks and ping-ponging states) recently, but was stuck on what happens when computation happens across chunks in multiple threads.
e.g. an object move across chunk border, or an object interaction affecting two objects in different chunks.
Could you elavorate on your approach about these? I'm really curious
I just watched [2]. Can thoroughly recommend, very watchable presenter & I feel like although I had no idea what he was doing half the time it was very cool. Technological Magic!
It's interesting to see the walrus operator in there. I wonder, is this another example of unnecessary features being added just to claim a bigger change list, or someone really needs this operator? Why would anyone prefer a walrus instead of adding just one more line to their code, which also helps with readability?
After a long time using both languages, I’d argue that non-sane equality checks in js is the biggest source of bugs.
And for a cash strapped government to find pretexts to increase taxes.
The silver lining is, now that we've all lived through Apple's Jobs years, we at least know that that kind of quality, consistency, attention to detail, etc. is possible.

Sooner or later somebody will take all the good ideas from Apple's heyday and make another good OS. Maybe, if we're lucky, it'll even be open-source.

It's the kind of thing I dream of doing myself one day. But if someone beats me to it, that's fine too :)
Jews in general are known to be special. But he's emphasizing on Ashkenazi Jews alone. A quick research shows that their history is quite complex. They were banned from most occupations - restricting them to money lending (banking), health care (doctors), crafting...

You can find some in the link he supplied https://en.wikipedia.org/wiki/Ashkenazi_Jewish_intelligence#...
https://www.youtube.com/watch?v=W9I4SVWpfdM I guess?
> in 1983, used a 956-bit Rabin signature to vendor lock games.

But not to encrypt the communication -- that would have been, apparently, against the U.S. laws of that time.

> Strong cryptography was unavailable for a long time primarily due to indifference, ignorance, and interference and not primarily due to computational limits.

It's surely the "interference" in the form of the mentioned U.S. laws at the time, some other comments here detail the historical background.
> Libraries, tools, snippets, SO questions, etc. And many of those are still in 2.7 or at least need to specify different solutions for 2.7... It is still a pain.

Admittedly there were some libraries that took a long time to switch, but at this point there is no serious library left, that did not make the switch.
Headline: France raises comparative value of other markets that are not France. Like Russia or China.
In my opinion, if standard tooling is able to identify the foot-gun, it’s not too terrible of a foot-gun. I don’t think standard python tooling would catch the above issues, but standard JS tooling would identify a missing variable declaration. As for the other things you mention (this, namespaces), I never said JS was perfect! Just that JS got a lot of shit for its scoping, fixed the problem, and now has sane scopes. Py has scoping with a lot of the same problems JS used to have, but for some reason didn’t fix them, and thus to this day is riddled with these foot-guns.
It depends a lot on the kind of hotel, the type of customers, the location, and a number of other things, incuding the distance to the other hotel(s).

If you are having tourists as customers, they may be not much inconvenienced by having to move to a nearby (really near) other hotel, if you are working with business customers they won't likely ever return.

In both cases, by my personal standards (not necessarily valid universally) when someone books a room in a hotel he/she is entering in a contract where one side guarantees the availability of the (specific, meaning in the specific hotel/building) room and the other promises to pay for that room (or the cancellation rate) and overbooking and moving the customer to another hotel, no matter whether it is 4, 5 ot 6 stars is:

1) a breach of that unwritten contract

2) a lack of respect towards the customer

And the "stats game" is the usual (poor) excuse to justify a less than correct behaviour, worse - if you are doing that extensively and to tourists (possibly foreigners that are not familiar with the city or the local language) - you are actually leveraging on their inferior position and their lack of power/alternatives.
Honestly, same. These days an egpu would be spot on. Nobody (or very few people) are gaming on trains, planes, etc. But the ability to work somewhere random and then bring an extra box (egpu) to play in a hotel or somewhere that's not home is pretty huge. The LG gram (no video card) was really appealing to me for this reason, even though I went with a matebook X pro in the end due to the aspect ratio. Seeing a number of AMD ultrabooks would be the tits.
You should check out GROQ (https://groq.dev), it's a query language for JSON.
It really is a sad state of affairs when disabling the linter requires patching the compiler. I wonder if any of the LLVM-based Go compilers will adopt a saner policy?
Exactly. The hn crowd is probably especially biased here since it's a lot of geeks with a very idealistic view of the world, where every single individual on this planet is driven by the highest of moral values exclusively. Let me just copy and paste part of a comment I made on the recycling post yesterday:

Look at nuclear power. Might be the greatest and cleanest solution in theory. In practice, look at the revelations after Fukushima. Mismanagement, dramatically negligent maintenance, corruption. Would proper management have prevented the incident? Probably not, but it wouldn't have been nearly as bad. Without the tsunami, this might have continued for years to come and who knows how and when shit would've hit the fan in this alternate reality. Then the shitshow that is storing nuclear waste here in Germany. Again instead of listening to scientists and engineers in the end they dumped the metal containers inside an old salt mine. Big surprise, salt water lead to rapid corrosion and now they have to get them out again, but thankfully the tax payer cover that bullshit.
Maybe I'm missing something but I'm more than halfway through the "Why isn't functional programming the norm?" and it just seems to be a kind of haphazard recollection of programming language history. A lot of which isn't what I'd call entirely correct. Python's killer app was arguably first CGI scripts then data science. Java succeeded due to offering GC in a non scripting language, the JVM and possibly lots of marketing. PHP is having a mild renaissance with Laravel (not that I'd advocate for PHP, but people do seem to love Laravel).

There was quite a bit of time in between the invention of implementation inheritance and the whole "prefer composition to inheritance". It's quite possible OOP became popular due to implementation inheritance then realized it was dumb.

This info is still useful, but what I'd really love from a talk with that title is an analysis of functional programming languages and how they each missed the boat through either syntax, lack of tooling, or purity. And compare it to functional-ish languages like Rust, JavaScript, Swift and Kotlin. Then chart a way forward for function programming language adoption. Maybe that happens at the end of the talk.
Depends on your location. I know that in Germany the derivatives like 1P-LSD or 1sP-LSD are not banned.

They are in a zone where you can buy them for “scientific research, not human consumption”, but do not trust me on that: I did not try it and am not a lawyer. I have friends that did that exact scientific research, and they basically received them in a mail from some website.

Just googling “LSD Deutschland bestellen” shows established shops with range of options.
If your parent doing the school run a suv does make sense, and don't for get that pickups are used a lot by farmers and I suspect the Dutch farming lobby is just as powerfull as it is in the other eu states and the USA.
Modules avoid the variable issue because ‘use strict’ is applied by default for them.

IMO JS as a language is in a much better place than Python currently. I end up frustrated a fair amount by arcane errors in Python due to less expressive constructs or some wtf issues like unexpected variable scoping within Python modules.
Second this. I can’t understand finding Python beautiful or even elegant. It just took a hodgepodge of features from languages like Haskell and C++, and repackaged them clumsily. It’s good for writing short scripts and throw-away code, but it shouldn’t be used as a serious programming language.
I see. A quite ironic approach. I like it.

Edit: I feel kind of stupid of thinking everyone is stupid on the internet except me.
Be a lot better to just put an uniform excise tax on new vehicles based on expected C02 emissions. That would also tend to solve the problem of guys in yellow vests throwing stuff.
The waste storage problem is not solved.

And looking at how much the clean up of large scale nuclear processing has and will cost it is not cheap either.

Now that wind and solar are getting to the same price point there is no point in using nuclear reactors for energy generation.
Thanks, I've used Akka. I was thinking more about the messaging style than the "actors-on-JVM" thing.
Of course you can. The first element of that tuple is a list, which is mutable, and can be sorted in-place.
At least here in Spain SUVs are only driven by middle aged women, the so-called "charos"—I wonder if this tax could be called sexist?
It's not the lawless action exception that I'm talking about, it's the harm to others one. The classic example is yelling "fire" in a crowded building which I think has its parallels to yelling "autism" in response to vaccines.

Interestingly, the precedent-setting case was with a guy distributing pamphlets persuading people not to enlist for WW1 which doesn't seem remotely close to any of these scenarios.

The real reason why it's a moot point, though, is that no government would have the political will to legislate on something as divisive as this.
It's a good repo, but remember a lot of those are "A Good Thing™".

The first snippet is a very good example:

a := "wtf_walrus"

doesn't work while:

(a := "wtf_walrus")

works.

It's a fantastic design decision.

Python took a long time before getting this operator, because it's a language that favors being readable, easy to use, and above all, to learn.

But in many other languages, the very same operator is often misused as, or confused for, the operator for equality or assignation.

We, as a community, didn't want people to wonder why there are several ways to do assignation (we have this problem with string templating already). Instead, we wanted to be sure that people could ignore the existence of ":=" for some times during their learning process.

And so the decision has been taken to make is very easy to distinguish it from "=" and "==", forcing parenthesis when necessary to make it clear this is a completely different use case. Also to hint people at using it only when necessary.

If you like scripting in Python because it's so easy to go from an idea to code, it's not random luck. It's because the language is a collections of thousands of such decisions.
There's absolutely no scientific basis for that, besides that I don't think he used LSD much if at all past the hippie period. Certainly not regularly (and there are people who have used LSD weekly for years with no apparent damage)