Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Patryk27
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
Patryk27
8d ago
I’m pretty sure they meant the “post death” copyright, considering the context.
2.
▲
by
Patryk27
15d ago
> And even if he changed his mind about some things, he cannot admit it, as that is not what his followers want to hear from him. I don't think that's true - over the years he's changed his mind from "LLMs are useless
3.
▲
by
Patryk27
3mo ago
So you’re saying the modules have a suboptimal design for non-Framework laptops. Sure. But this does not make them proprietary, they work fine with non-Framework laptops as well.
4.
▲
by
Patryk27
3mo ago
I don’t follow - how are modules based on USB-C proprietary? My Framework ethernet dongle works perfectly fine with a Mac that I use for work, for instance.
5.
▲
by
Patryk27
3mo ago
> If you really think that switching language is the main driver to get safe programs [...] I didn't write that. > [...] the you are on the list of people replaceable by LLMs. lol, love a high quality discussion > Memory manag
6.
▲
by
Patryk27
3mo ago
> They claim it is better just because of the language I mean, it clearly is better (in certain contexts), see e.g. https://blog.google/security/rust-in-android-move-fast-fix-t... > We adopted Rust for its secur
7.
▲
by
Patryk27
4mo ago
Regular expressions are not Turing-complete.
8.
▲
by
Patryk27
6mo ago
There are no comment-based directives in Rust, are there?
9.
▲
by
Patryk27
10mo ago
> [...] it catches logic errors like this but Rust's type system did catch this error - and then author decided it's fine to panic if this error happens > You won't see Go or Java developers making such strong claims
10.
▲
by
Patryk27
1y ago
Not the parent commenter, but -- days of week in Polish are a nice example, IMO. `Środa` means `Wednesday`, but depending on the grammatical case it's going to be translated either to `środa` or `środę` (or five more, but somewhat less
11.
▲
by
Patryk27
1y ago
This was also covered by 3blue1brown, highly recommend: https://www.youtube.com/watch?v=gB9n2gHsHN4 .
12.
▲
by
Patryk27
1y ago
Code blocks use Iosevka (slightly configured - https://codeberg.org/pwy/website/src/commit/721438bc7d14789c... ). Screenshots use Berkeley Mono (my "daily driver" font).
13.
▲
by
Patryk27
1y ago
> Worrying about things like this without profiling can cause a lot of unnecessary complexity when planning abstractions in Rust. :+1: - it was mostly about "damn, it _feels_ like there should be a better way". > You might b
14.
▲
Kruci: Post-mortem of a UI library
(pwy.io)
67 points
by
Patryk27
1y ago
|
14 comments
15.
▲
by
Patryk27
1y ago
ACLs are more like a binary function, right? f(packet, time, ...) = { reject, allow } In that case evaluating the function once is enough to know whether the packet should be let through or not, there's no way to sort of "
16.
▲
by
Patryk27
1y ago
> Shouldn't the nearest 12th day of the month after the 14th of January be 2018-02-12 ? You're right, thanks - fixed! Small typos like those are the hill I'll die on. > But I would expect curr.last_of_month().tomorrow()
17.
▲
by
Patryk27
1y ago
> that is the lamest joke imaginable and your content is good enough that it doesn’t need “dunks” Hah - fair enough!
18.
▲
by
Patryk27
1y ago
Gotta leave something for others to discover!
19.
▲
by
Patryk27
1y ago
Curiously enough, I've used to work in hospitality! ( https://pwy.io/posts/mimalloc-cigarette/ & https://pwy.io/posts/memory-for-nothing/ ) Our dataset wasn't so large as to
20.
▲
by
Patryk27
1y ago
I've redacted that part ( https://github.com/Patryk27/website/commit/818c27967d7e6332c... ), since it doesn't quite make sense if you think about it for longer than a couple seconds; it's 23:02 f
21.
▲
by
Patryk27
1y ago
Ah, you're right - I wanted to include a dunk, but forgot to actually fact-check it! -- gotta figure out something better.
22.
▲
Marching Events: What does iCalendar have to do with ray marching?
(pwy.io)
115 points
by
Patryk27
1y ago
|
46 comments
23.
▲
Show HN: Kartoffels – Cellular Automata, Statistics, 32-bit RISC-V
(pwy.io)
58 points
by
Patryk27
2y ago
|
3 comments
24.
▲
Linez: Approximate Images Using Lines
(github.com)
1 points
by
Patryk27
2y ago
|
0 comments
25.
▲
Kartoffels: Emulating RISC V CPUs For Fun [video]
(youtube.com)
3 points
by
Patryk27
2y ago
|
0 comments
26.
▲
Memory for Nothing: Why Vec<usize> is (probably) a bad idea
(pwy.io)
4 points
by
Patryk27
2y ago
|
0 comments
27.
▲
by
Patryk27
2y ago
fwiw, Option already implements iterator (well, IntoIterator) - calling .into_iter() on an Option will get you an iterator, no need to create anything custom.
28.
▲
by
Patryk27
2y ago
Per-request arenas are a nice idea, yeah - we haven't pursued the optimizations more, because we're satisfied with the current speed, but certainly there are some things that could be improved.
29.
▲
by
Patryk27
2y ago
Yeah, the example is not representative - in reality there's a couple of smaller vectors (base prices, meal prices, supplements, discounts, taxes, cancellation policies, ...) + lots of vectors containing indices (`for 2018-01-01, match
30.
▲
by
Patryk27
2y ago
Sure, it is producer-consumer - we use Postgres' LISTEN/NOTIFY mechanism (mostly because we have no other use cases for queueing, so "exploiting" an already existing feature in Pg was easier). The example in article show
More ›