Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
barosl
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
14 ms
·
61.
▲
by
barosl
5y ago
Oops, yeah, same here on Chrome 90 on Android. Firefox 88 on Android also has the same problem. What did happen? Was the original Acid2 test wrong?
62.
▲
by
barosl
5y ago
> https://justine.lol/redbean/index.html > All you need to do is download the redbean.com program below, change the filename to .zip, add your content in a zip editing tool, and then change the extension back to
63.
▲
by
barosl
5y ago
It's just Rust. For some reasons, many new languages these days seem to get inspiration from the Rust syntax. For example, when Rust first came out, people said its choice to use "fn" to refer to functions was awful. Now, it&
64.
▲
by
barosl
6y ago
This is crazy. I can feel the immense possibility from this. I especially like the "feature" of this game, where you can save, load, and even share the game progress just by copying the plain text.
65.
▲
by
barosl
6y ago
Wow, the `Deno.permissions` API is a great idea! Why haven't I thought of this? It sounds like a natural extension to what browsers are already capable of. It would make it very convenient to grant permissions to remote scripts without
66.
▲
by
barosl
6y ago
> Build commands like go build and go test no longer modify go.mod and go.sum by default. > go install now accepts arguments with version suffixes > The go mod vendor and go mod tidy subcommands now accept the -e flag, which instru
67.
▲
by
barosl
6y ago
Interesting read! I also enjoyed another article linked from the article, which seeks to find the smallest .exe possible on Windows.[1] [1] http://www.phreedom.org/research/tinype/
68.
▲
by
barosl
6y ago
I tried to use Podman a few months ago, but the time spent to execute the "podman" command was considerably higher than that of the "docker" command. I am worried if this is a fundamental problem of the daemonless design
69.
▲
by
barosl
6y ago
> Clearly, something was different about these files. Seen from notepad, they were mostly gibberish, but there had to be order in that chaos. 12-year-old me knew that, although he didn't quite know how or where to dig to make sense
70.
▲
by
barosl
10y ago
struct fork_status { enum { ERROR, PARENT, CHILD } state; int ret; }; I think the point of tagged unions (as in OP's example) is that you cannot access `child` if the call failed. Your example does have an exhau
71.
▲
by
barosl
11y ago
So, for those who may know JavaScript, you may have seen code like this: var closures = []; for (var i=0;i<5;i++) { closures.push(function() { console.log(i); }); } The code above will result in incorrec
72.
▲
by
barosl
11y ago
According to this picture[1], it is more likely "W+Resign". I'm curious why a plus sign is used instead of a colon! [1] http://gall.dcinside.com/board/view/?id=baduk&no=109200&page...
73.
▲
by
barosl
11y ago
Yeah, I was worried that if the score ends up 5-0, we could never see how AlphaGo resigns. Good to see Lee Sedol's victory.
74.
▲
by
barosl
11y ago
Copying my comment on this from Reddit: Great, I'll definitely have to try this! I've used several Rust web frameworks, including Iron[1], Nickel[2], and Rustful[3]. Each of them has their own strengths and weaknesses, so I'v
75.
▲
by
barosl
11y ago
For those concerned with the official client requiring `sudo`: there are already many alternative clients that are compatible with the Let's Encrypt server, mine included.[1] I made my own client because I wanted to know what's ex
76.
▲
by
barosl
11y ago
Reading RFC 791 again, it is said that the reserved bit "must be zero".[1] I'm not sure if it is reasonable to force a "reserved" flag to be a certain value, but I guess if one is following the RFC rigorously, dropp
77.
▲
by
barosl
11y ago
> Is it that someone didn’t see the date of the RFC, maybe sarcasm doesn’t translate very well, possibly someone in the real world actually sent the evil bit when doing evil things, and cause some products to target it? I think it was do
78.
▲
by
barosl
11y ago
I second that this is pretty annoying. The problem is that Ubuntu's grub.cfg is configured to wait forever until the user manually chooses a new boot option if the last booting failed. However, sometimes a temporary error can happen du
79.
▲
by
barosl
11y ago
I've always wondered why there is no dedicated Hangouts website. I always had to choose between Gmail and Google Plus to send a message. This may have been a way to encourage the uses of their other services? Anyways, finally they made
80.
▲
by
barosl
11y ago
> Always on – you can add and remove nodes from a live cluster without experiencing downtime. This has been a long-awaited feature for me. While I loved nearly every aspect of RethinkDB, it was the reason that made me hold back from usin
81.
▲
by
barosl
11y ago
It is worth noting that Windows also maintains an internal version that is only visible through the `winver` command (the NT version). Windows XP: 5.1 Windows Vista: 6.0 Windows 7: 6.1 Windows 8: 6.2 Windows 8.1: 6.
82.
▲
by
barosl
11y ago
For the record, the standard psql already supports auto-completion, albeit with much less pretty interface (a common readline-style horizontal candidate listing). Syntax highlighting seems great, though.
83.
▲
by
barosl
11y ago
The major contribution was given by @fantix, I appreciate him for the hard work. However, I'm deeply disappointed by the low interest on Python 3 issues in the gevent team. @fantix's Python 3 branch was there for more than a year
84.
▲
by
barosl
11y ago
I think TOML[1] is a strict upgrade of JSON as a configuration file format. It has exactly the same expressiveness, but much more human-readable. [1] https://github.com/toml-lang/toml
85.
▲
by
barosl
11y ago
I heard from somewhere that technically, OS X does not preserve backward compatibility for system calls, so you should use libc function's instead, otherwise it is an undefined behavior. Whereas Linux keeps a hard compatibility guarant
86.
▲
by
barosl
11y ago
The most compelling argument I've seen is that you don't explicitly `break` at the final run of a loop, either. An explicit `break` or `return` in the middle of a body can be thought as "abnormal" control flow. Otherwise
87.
▲
by
barosl
11y ago
> For example, ext4 is officially supported read-only but in my case it didn't read some folders properly. For some reason, I've thought ext4 is "pervasive" or "fundamental" until now. I assumed it to be rea
88.
▲
by
barosl
11y ago
Basically, no, it won't. Rust still reserves some rights to break the existing code if the found issue is considered to be "severe" (e.g. type system soundness issues), but those cases should be extremely low. In most cases w
89.
▲
by
barosl
11y ago
This is certainly an interesting idea. A quick Google search gave me this toy example: [1][2] Of course making it work for all cases would be very hard due to the excessive dynamism of Python, but for simple arithmetic operations it could b
90.
▲
by
barosl
11y ago
There's also wheezy.web[1], which was very fast compared to ordinary Python web frameworks. When I tested it locally a year ago, the results were the following: == Time spent to handle one request == CPU: Intel(R) Core(TM)2 Duo
More ›