Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nmz
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
151.
▲
by
nmz
2y ago
Reminder to look at the twitter user "shithnsays"
152.
▲
by
nmz
2y ago
Labeling, fstab is supposed to be a .tsv, what happens if I mistype something? where's the safety? Does this need to be a DSL?
153.
▲
by
nmz
2y ago
> Linux’s io_uring is a relatively recent addition that improves asynchronous I/O, but it has been a significant source of security vulnerabilities and is not in widespread use. Funny, opening the manpage of aio on freebsd you get t
154.
▲
by
nmz
2y ago
Saving disk space and synchronization is only important for network transmission. At the local level, you will need to convert to something where you can get/know positioning, utf8 does not allow for this given its variability, this me
155.
▲
by
nmz
2y ago
Really strange that argv[0] has a basically unlimited character size while #! has a hardcodede 256 byte limit.
156.
▲
by
nmz
2y ago
Given that sh can print everything as it runs, it would be nice to know what is it that takes so long, instead of doing a full rewrite. I remember once replacing a filter written in pure bash by an awk one, the slowdown was around 2 minutes
157.
▲
by
nmz
2y ago
I'm speaking more generally than git here, part of being any type of inventor is to simplify for the user and make it intuitive, that way if the internals change, the abstraction/external look the same.
158.
▲
by
nmz
2y ago
Internals are nice, but are also not and should not be necessary to know, I don't know how a FS is writing a file, and yet I can store files fine.
159.
▲
by
nmz
2y ago
I mean... the beginning of mission impossible 1 should tell you.
160.
▲
by
nmz
2y ago
Record breaking heatwaves is not scientific or something anyone can feel? It's news to me that humans are incapable of feeling heat, weird considering I'm using 2 fans and am still sweating, when I didn't before. or british f
161.
▲
by
nmz
2y ago
The climate movement wasn't taken seriously 70 years ago, but as people see its effects more and more and the more you live and remember that you could actually walk outside without AC and not melt the more its strengthened. So I highl
162.
▲
by
nmz
2y ago
Its a shared atmosphere, so they will suffer the effects of it equally. This isn't a "just the US" type of thing. if you suffer from hurricanes or monsoons, earthquakes, and so on, it is in your best interest to reduce the ef
163.
▲
by
nmz
2y ago
You should ask the arraycast guys on how they did it. They got him to talk about ivy and apl/array style programming for an hour or so.
164.
▲
by
nmz
2y ago
Cheat engine?
165.
▲
by
nmz
2y ago
What is this dvfs you talk about? desktop virtual file system? Dynamic voltage and frequency scaling? Google doesn't know, or well, the first page doesnt know. DVCS stands for distributed version control system, it has nothing to do wi
166.
▲
by
nmz
2y ago
its pretty good... not better than brave, but the browser itself is a tad slow, but you probably won't feel it in a 8 core machine.
167.
▲
by
nmz
2y ago
> it is a feature which allows, for example, to work simultaneously on several releases, patches, hot fixes, etc. Once better alternative emerges we'll jump the git ship as we did before when we jumped onto the git ship. What are yo
168.
▲
by
nmz
2y ago
DVCS stands for distributed version control system, it has nothing to do with source code? Maybe you're confusing it with SCM which are source control managers, that's the only ones that handle strict source only, but scm can mean
169.
▲
by
nmz
2y ago
Git is terrible at branching, constantly squashing and rebasing is not a feature but an annoyance. see fossil for how to do proper branching/merging/logging, by its very nature, Not to mention that by having the repository separat
170.
▲
by
nmz
2y ago
I wouldn't put fossil in that list of collaboration, since its not really a collaborative tool, or more like, there are barriers to that collaboration, like creating a username for each fossil repository. That's a huge barrier in
171.
▲
by
nmz
2y ago
bytecode is also architecture dependent
172.
▲
by
nmz
2y ago
Weird thing to call sane when its the shell that is insane, or more likely an instrument of torture.
173.
▲
by
nmz
2y ago
This is your opinion on what the default behavior of nil should be, fortunately, We can disagree and you can set a metatable that errors on nil, I will choose to do or not do that depending on the object. assert() also exists for this very
174.
▲
by
nmz
2y ago
I do not know how/why the language should magically know that something should error, if nil is not acceptable as a return then you use || or "this". if the table should not have nils then you turn it into a metatable that er
175.
▲
by
nmz
2y ago
I'd recommend teal because luau is not really lua.
176.
▲
by
nmz
2y ago
It does not. The most viable solution is transpilation, teal is the most recent candidate. You can have a hack of sorts using a schema and tables as in local schema = { a = "number", b="string" } -- key = "type"
177.
▲
by
nmz
2y ago
But lua isn't lacking them, <for in do> is for generators, and if you want iterators you can make those as well.
178.
▲
by
nmz
2y ago
well, lua existed back then, but that lua is not lua5, even lua4 looks incredibly different especially when it comes to tables.
179.
▲
by
nmz
2y ago
What do you want it to return though? x = f() or "default value" or maybe you want it to error x = f() or error"F failed" or maybe x is an object in which case you can just setmetatable(x,{__index = function () return &q
180.
▲
by
nmz
2y ago
There's no explanation.
More ›