Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
krig
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
by
krig
1y ago
> Are there two types of assignment? > > p1[0] = 0 > ... > n := 0 >What should this mean? The comma notation usually indicates a pair or left-to-right control flow (Python >and C, respectively), but why (appear to) a
32.
▲
by
krig
1y ago
Yes. There is no undefined behavior in Odin (afaik), and I haven’t seen many monoletter identifiers. There is a slice type and a for … in loop statement so that gets rid of most i:s and j:s.
33.
▲
by
krig
1y ago
Maybe the most interesting part is the semi-space garbage collector. The whole thing fits in a single screen: https://git.liten.app/krig/LISP/src/branch/main/komplodin.od... Andy Wingo has a good su
34.
▲
by
krig
1y ago
This is my project! I made the Odin version to learn the language, not to create a 1:1 comparison. I 100% prefer Odin over C and will use it wherever I can where I would have otherwise used C. Also I've moved it from Github to my own F
35.
▲
by
krig
2y ago
I’m using it in neovim right now. For vim, I guess you need a lsp plugin but it should work fine.
36.
▲
by
krig
2y ago
I would also point out that a person with locked-in syndrome still has ”a physical corporeal presence in time and space”, they have carers, relationships, families, histories and lives beyond themselves that are inextricably tied to them as
37.
▲
by
krig
2y ago
Thanks, that makes more sense than the title. :)
38.
▲
by
krig
2y ago
I don’t think ”intelligent” is a particularly meaningful concept, and just leads to such confusion as your comment hints at. Do I think a person with locked-in syndrome is still a human being with thoughts, desires and needs? Yes. Do I thin
39.
▲
by
krig
2y ago
(reacting to the title alone since the article is paywalled) AI can’t push a houseplant off a shelf, so there’s that. Talking about intelligence as a completely disembodied concept seems meaningless. What does ”cat” even mean if comparing t
40.
▲
by
krig
2y ago
Surely, this article is lampooning the idea that with enough rules and regulations, skill and experience don’t matter. For a contrasting argument, I recommend reading Programming as Theory Building by Peter Naur.
41.
▲
by
krig
2y ago
It’s not just about typing out code even though being able to do that quickly is more valuable than you realize. There are plenty of other areas where typing efficiently facilitates thinking about software. - Writing clear notes and design
42.
▲
by
krig
2y ago
Yeah, the problem is that these mitigations require the developer to be context aware, ”server-only” only saves you in the positive case where you correctly tagged your sensitive code as such. The default case is to expose anything without
43.
▲
by
krig
2y ago
That’s env vars, but not actual variables - it’s really easy (if you are not actively context aware) to f.ex. pass a ”user” object from a server context into a client component and expose passwords etc to the client side.
44.
▲
by
krig
2y ago
I’ve seen people make exactly this mistake with Next.js. IMO React server components is a fantastic tool for losing track of what’s exposed client side and what isn’t.
45.
▲
by
krig
2y ago
I doubt that statement was meant to be some kind of absolute rule, big cats will definitely eat you alive if they feel like it. But at least you are perhaps more likely to get a quick death.. The advice I grew up with (in swedish bear coun
46.
▲
Designing a keyboard layout, part 3
(write.as)
2 points
by
krig
2y ago
|
0 comments
47.
▲
by
krig
3y ago
It’s not a physical law - it relates to people - “law” has a wider meaning outside the field of physics. I recommend watching the talk! He specifically addresses the very points you bring up. Of course reality is messy and people especially
48.
▲
by
krig
3y ago
The tragedy of agile is that the practices that are labelled agile in practice tend to exemplify the exact opposite of everything that the manifesto advocates..
49.
▲
by
krig
3y ago
An organization of size 1 has other constraints, like time.. But also, Conway's law applies outside the organization as well, communication constraints shape society at large and the way a society is organized limits the communication
50.
▲
by
krig
3y ago
LinkedIn and Microsoft are the same, that said I personally think the rush to push LLMs into everything is entirely consistent with my prediction and with the internal structure of Microsoft (current and historical).
51.
▲
by
krig
3y ago
That's an interesting thought, yeah... technology and communication are definitely interwoven, things are possible today that were impossible before computers simply due to communication constraints. One could imagine a large number of
52.
▲
by
krig
3y ago
Yeah once it hits, it really explains so much of the issues in large organizations (and explains a lot about small organizations / indie development as well). For example, why is it that mergers and buyouts rarely work out? Conway'
53.
▲
by
krig
3y ago
If you want to dig into Conway's law and its implications, I can't recommend this video essay by Casey Muratori enough: https://youtu.be/5IUj1EZwpJY?si=dPxsXieBwZsP0PPP Fair warning though, you'll lose all ho
54.
▲
by
krig
3y ago
Thanks for writing about this. Makes me like Hetzner even more.
55.
▲
Google lays off entire team while they are testifying to the city council
(mas.to)
157 points
by
krig
3y ago
|
59 comments
56.
▲
Graphite Keyboard Layout
(github.com)
5 points
by
krig
3y ago
|
1 comments
57.
▲
by
krig
3y ago
I don’t have any research to back this up but I am willing to bet that this is more due to social stigma than any genetic component.
58.
▲
by
krig
3y ago
It's backwards. Vimpulse etc. are deprecated in favour of evil-mode.
59.
▲
by
krig
4y ago
Here in Sweden, even the road signs are frequently covered by snow. I’m sure it’s a similar situation in Canada!
60.
▲
Pesticides released into Brazil’s Amazon to degrade rainforest
(news.mongabay.com)
3 points
by
krig
5y ago
|
0 comments
More ›