Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
alcover
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
alcover
3mo ago
fun repeat(str :: String, n :: Nat) :: List: [body] I may be over-sensitive to looks but... god why ? fun repeat(str: String, n: Nat): List = would be prettier. (I guess authors had to compromise in affecting sym
2.
▲
by
alcover
4mo ago
Fascinating broken-bot glitch, thank you. Reminds me of some sci-fi movies.
3.
▲
by
alcover
7mo ago
May the Gods be with him. The nostalgia is very strong. Opening Flash and start a new project was an immense source of joy to me in the 00's.
4.
▲
by
alcover
7mo ago
Thank you. This reading lowers my anxiety. I believe we'll rationally - and in a hurry - come down to this kind of solution. It makes solid sense.
5.
▲
by
alcover
9mo ago
> (1) If I read "io.print", is this "the print function in the module io" or "the print method for the variable io" I don't see the issue. Just look up the id ? Moreover, if modules are seen as objects,
6.
▲
by
alcover
9mo ago
That's it. Plus they would work neatly on old computers/phones.
7.
▲
by
alcover
9mo ago
I agree. Something componenty like Flash, yes. But it'd be easier to subset what already exists..
8.
▲
by
alcover
9mo ago
Oh they would care if one shows them much snappier versions of services they use. They just don't know better.
9.
▲
by
alcover
9mo ago
> that means being compatible with websites that normal people use No, new adhering websites would emerge and word of mouth would do the rest : normal people would see this fast nerd-web and want rid of their bloated day-to-day monster o
10.
▲
by
alcover
9mo ago
I wish for this new year we reboot the Web with a super light standard and accompanying ecosystem with - A small and efficient JS subset, HTML, CSS - A family of very simple browsers that do just that - A new Web that adheres
11.
▲
by
alcover
10mo ago
I am also doing this. Like you i guess I want a nicer C. I produce my own errors though because it's better for the user.
12.
▲
by
alcover
11mo ago
Naive question: would using such an OS bring some security by obscurity ?
13.
▲
by
alcover
11mo ago
You need two keywords. One for assignability and one for writability : const ptr; // can't reassign, can't write-through (if r/o by default) const mut ptr; // can write
14.
▲
by
alcover
11mo ago
> you don't need both a "const" keyword and a "mutable" keyword What if the lang has pointers? How express read-only?
15.
▲
by
alcover
11mo ago
It's important because we seem to be the only (visible) thing that can scheme .
16.
▲
by
alcover
11mo ago
I agree so much. For all we know yet, there's nothing out there. Nothing conscious or even sentient. So our lives and the life on earth are infinitely important. I never understood this `we're but a speck`. Do you know of many oth
17.
▲
by
alcover
1y ago
> tracking of this information down to that level would be pretty pointless Maybe pretty pointfull tracking shadow economy. When Bob sells moonlight stuff his clients will more often than not simply go to the ATM, withdraw the sum and ha
18.
▲
by
alcover
1y ago
> Beware that only tagged unions are considered the same type I don't get it. Tagged union is just a design pattern.
19.
▲
by
alcover
1y ago
> as Julia Ecklar sings, it's kind of like construction work with a toothpick for a tool. I was taught assembler in my second year of school. It's kinda like construction work — with a toothpick for a tool.
20.
▲
by
alcover
1y ago
> Leta is also useless if your browser blocks all cookies, tracking pixels and other tracking technologies. Err.. it would still be useful to mask your IP ?
21.
▲
by
alcover
1y ago
What if browsers supported a property like <script hash=64192876> ? They would store the hash on first connection then verify on subsequent ones. I know this should be refined and hardened but you get the idea.
22.
▲
by
alcover
1y ago
> "hardcode" semi-constants You mean you somehow avoided a load . But what if the constant was already placed in a register ? Also how could you pinpoint the reference to your constant in the machine code ? I'm quite prof
23.
▲
by
alcover
1y ago
OK but I meant in already native code, like in a C program - no bytecode.
24.
▲
by
alcover
1y ago
I often think this could maybe allow fantastic runtime optimisations. I realise this would be hardly debuggable but still..
25.
▲
by
alcover
1y ago
> You just don't have people like Albert Gonzalez/Stephen Watt in America now I don't know what the state of big corps netsec is today but these guys had it somewhat easy. They got initial access through weak wifi then piv
26.
▲
by
alcover
1y ago
I wonder how procedural it is - and really what procedural is. Is it that, at some scale, say apartment in a building, there is a polygone'd model - the apartment - and an apartment is only generated and rendered (with some randomness)
27.
▲
by
alcover
1y ago
4920 here. Waiting for contenders ;) More seriously I often wonder how this works in the brain when there is no obvious historical clue. Is it akin to guessing a numerical quantity (like when seeing a crowd) ?
28.
▲
by
alcover
1y ago
Hello, your doc about const says "The const qualifier is only retained for actual constant variables". Then how do you express read-only pointers ? Like C `const int* ptr`
29.
▲
by
alcover
1y ago
Agreed. It's tempting to make the tersest lang you can but in the end what matters is ease of reading. For ex. parens-less calls ( myfunc 42 "hello" ) are elegant but don't stand out and - for me - take more time to iden
30.
▲
by
alcover
1y ago
> those most affected are the poorest Please pardon my pedantry but this is by definition what poor is : having less means to escape material woes. Rich people are the ones that can elect to live in healthy areas.
More ›