Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
neillyons
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
neillyons
22d ago
I remember reading that in early versions of Python there was no built in True and False. Each user would implement this themselves as True = 1 False = 0 then later these got added to the language. In Python 2 you could still reassign and s
2.
▲
by
neillyons
3mo ago
Pronouns
3.
▲
by
neillyons
7mo ago
I stopped my 1Password subscription last year and started using Apple Passwords. The user experience is great if you switch to Safari with fingerprint login.
4.
▲
by
neillyons
9mo ago
My favourite is this disclaimer in the question. lol > Is there any way to force install a pip python package ignoring all its dependencies that cannot be satisfied? > (I don't care how "wrong" it is to do so, I just ne
5.
▲
by
neillyons
9mo ago
When visiting Ayers Rock in Australia I stayed in Alice Springs. While I was there I learnt that Alice Springs exists because it was a repeater station for a telegraph line that stretched from Southern Australia all the way to London. There
6.
▲
by
neillyons
9mo ago
Can anyone recommend a native macOS app with a calendar like this that supports .ics calendars?
7.
▲
by
neillyons
9mo ago
Bitcoin doesn't take into account that humans are forgetful. If you forget your bank card pin code they would post you a new card and pin, if you phone them up. I've done this a couple times in the past pre-smartphone banks. If yo
8.
▲
by
neillyons
10mo ago
Does Elixir have any footguns like this? As it is immutable I don't think any of these are possible.
9.
▲
by
neillyons
11mo ago
If you imported from Safari/Chrome in the onboarding. Go to Settings -> Personalization -> Browser Memories. It has summarized my browsing habits and interests. Very impressive. - "The user has a routine of checking their Fa
10.
▲
by
neillyons
1y ago
Elixir via the Task module https://hexdocs.pm/elixir/Task.html
11.
▲
by
neillyons
1y ago
I did a speed awareness course as I got caught speeding and was told if there are lamp posts the speed limit is 30mph unless stated otherwise.
12.
▲
by
neillyons
1y ago
Crunchbang was such a good distro! I ran linux for about seven years. Ubuntu and then Crunchbang. Had my 2012 MacBook Pro dual boot into Crunchbang. Battery life was awful. It had no automatic fan control, so the laptop got so hot I could b
13.
▲
by
neillyons
1y ago
Golang will panic with a runtime error index out of range if you index out of bounds. There doesn't seem to be a nice built in way to do `arr.get(3)` like in Rust. slice := []int{1, 2, 3} i := slice[3] fmt.Println(i)
14.
▲
by
neillyons
1y ago
Curious to know what people are building where you need to optimise like this? eg Struct Field Alignment https://goperf.dev/01-common-patterns/fields-alignment/#avoi...
15.
▲
by
neillyons
2y ago
> really hard to cultivate a community of people who have a deep love for something, but for some reason can't see what is actually wrong with it that drives ppl away Elm is another example
16.
▲
by
neillyons
2y ago
wow.
17.
▲
by
neillyons
2y ago
You still need to be careful, as this won't catch panics from go routines launched from your http handler.
18.
▲
by
neillyons
2y ago
I looked at the Apple watch but choose Garmin as it has a physical button to start and stop my run. I don't know if this is still the case but with the Apple watch I think you have to tap the touch screen. Takes too long, especially wh
19.
▲
by
neillyons
2y ago
Cognitive load example in Go. It is common to give variables single letter names. Now you have to build up a mapping in your head that for example `a` means `Auction`. You could skip this mapping if you just named the variable `auction`.
20.
▲
by
neillyons
2y ago
Yep, Django's on_delete behaviour being implemented in Python instead of SQL has caught me out a few times over the years. I often do `on_delete=models.DO_NOTHING, db_constraint=False` and add the on delete cascade constraint manually
21.
▲
by
neillyons
2y ago
Definitely "Code Red" for Google Search
22.
▲
by
neillyons
2y ago
You can also get a Japanese Working Holiday Visa which allows you to work in Japan and stay for a year. https://yoyogi.io/en/how-to-get-a-japanese-working-holiday-v...
23.
▲
by
neillyons
2y ago
I recently started learning Swift and Swift UI and was surprised at how complicated the language is. Especially regarding reactive instance variables. eg. @observableObject. Didn't understand it. There are like five different ways to d
24.
▲
by
neillyons
2y ago
get_in(x.a) better example would be nested. get_in(x.a.b.c)
25.
▲
by
neillyons
2y ago
Nice feature in this release is the addition of `get_in/1` which works with structs. eg. `get_in(struct.foo.bar)` If `foo` returns `nil`, accessing `bar` won't raise.
26.
▲
by
neillyons
2y ago
Here is the roadmap https://hexdocs.pm/elixir/main/gradual-set-theoretic-types.h... The next milestone will include a mechanism for defining typed structs.
27.
▲
by
neillyons
2y ago
Linked in the footer of that website is https://llili.li/ . Even better!
28.
▲
José Valim – Elixir, Erlang, Phoenix, Livebook [video]
(youtube.com)
5 points
by
neillyons
2y ago
|
1 comments
29.
▲
by
neillyons
2y ago
Really like the new Erlang 27 docs https://www.erlang.org/doc/readme.html
30.
▲
by
neillyons
2y ago
Reminds me of this stackoverflow question [1] about force installing a python package. > (I don't care how "wrong" it is to do so, I just need to do it, any logic and reasoning aside...) I think these models should just gi
More ›