Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ufo
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
63 ms
·
781.
▲
by
ufo
6y ago
Personally, it sucks having to navigate treating a serious health condition, scheduling surgery, etc, in the middle of a pandemic. The silver lining is that my close family has the privilege that we can all work from home, so at least we&#x
782.
▲
by
ufo
6y ago
The lack of limitations is part of the problem. We're currently at the highest number of COVID cases and deaths but despite that there is a lot of resistance against the government implementing a lockdown, in large part because the fed
783.
▲
by
ufo
6y ago
Here in Brazil the pandemic is currently in the worst phase it has ever been, with no signs of improving in the near future. I'm glad that other countries can have good news to share but unfortunately that is certainly not the case her
784.
▲
by
ufo
6y ago
Here is where Bitcoin's wasteful algorithm comes in. The vast majority of the energy expenditure comes from bitcoin miners burning compute cycles to bid for the right to add the next round of transactions to the ledger, which happens e
785.
▲
by
ufo
6y ago
In the sense that verifying transactions is what keeps the bitcoin network alive.
786.
▲
by
ufo
6y ago
Not to mention the inherent problem of adding a dependency to an external library. I know that in the case of Lua that was one of the main reasons. ICU by itself would be larger than the rest of the interpreter.
787.
▲
by
ufo
6y ago
I don't know what was they reason they chose but a one possible one is that unicode variable names introduce several implementation challenges. You need to worry about normalization (the same character may be represented by different b
788.
▲
by
ufo
6y ago
It says it has local-by-default scoping, which would be a Python influence. But now I'm not sure. When I tested the program the variables set inside the function seem to still be present after the function returns?
789.
▲
by
ufo
6y ago
My first impression is that it looks like a mix of Lua and Python.
790.
▲
by
ufo
6y ago
GNOME 40 (just released) is also adding a some new three-finger gestures for workspace switching.
791.
▲
by
ufo
6y ago
There are pass extensions that encrypt the metadata but I don't know why they are not the default.
792.
▲
by
ufo
6y ago
It can be a problem if you want to back up the password database to the cloud. That's part of the threat model for most other password managers, which use a single encrypted file for the database. Pass is the only popular one I know th
793.
▲
by
ufo
6y ago
In the default settings the names of the websites are stored unencrypted, in the filenames.
794.
▲
by
ufo
6y ago
FWIW, since Git 2.23 I prefer using "git switch" and "git restore" instead of "git checkout".
795.
▲
by
ufo
6y ago
I have the same opinion. I like the early-return pattern when it's doing input validation or raising errors but for most other things I prefer how the if-else highlights that there are two possible paths that the code can take. Just be
796.
▲
by
ufo
6y ago
I also recommend the man pages for the dash shell. They are the first reference I look at when I need to remember how something works in POSIX shell, without bashisms.
797.
▲
by
ufo
6y ago
IIRC it took more than a year for people to conclude it was the civets.
798.
▲
by
ufo
6y ago
The interesting thing for me is that a variable without a type annotation could potentially store anything. It kind of explains why the language used "int" as the default type of variables declared without a type annotation.
799.
▲
by
ufo
6y ago
One of the unusual things in this early version of C is that "int" can be used for any word-sized value, including pointers. The type system was very loose.
800.
▲
by
ufo
6y ago
This vaccine doesn't prevent infection by HIV so it's not ready for real world use. What it does is prime the immune system so that a second vaccine might become more effective. The second vaccine still needs to be developed thoug
801.
▲
by
ufo
6y ago
I don't like saying that it's semicolon insertion because it might give people the idea that the semicolons work similarly to Javascript. In Lua, inserting a semicolon is always optional and it's an stylistic matter (like in
802.
▲
by
ufo
6y ago
Another inreresting example is Lua. It's a free form language without semicolons. It's not indentation sensitive.
803.
▲
by
ufo
6y ago
My favorite part are the ;{ emoticons.
804.
▲
by
ufo
6y ago
For me, the most illustrative aspect of the Dao was the hard fork that happened afterwards. For all the talk of smart contracts, the mess was eventually fixed by a small cadre of miners and Ethereum developers who agreed to a hard fork.
805.
▲
by
ufo
6y ago
I agree, partially. I also think that the front end of a compiler is more broadly useful skill than the back end stuff. However, I believe that most people would be better served knowing how to work with a recursive descent parser instead o
806.
▲
by
ufo
6y ago
If you squint you could say that viruses are already doing that. A lipid bilayer is a key component of several kinds of membranes. All of our cells have a lipid bilayers separating the inside from the outside. The corona virus is also built
807.
▲
by
ufo
6y ago
As far as the CPU is concerned, there isn't a big difference if you access a block of memory via pointers or via an array. Converting the hash result to a memory address is not the bottleneck. The main bottlenecks are the hash function
808.
▲
by
ufo
6y ago
It should eventually trickle down to the various Linux distributions. I'm waiting for Fedora 34, which is just around the corner.
809.
▲
by
ufo
6y ago
If you have an app that is hidden under other windows, you have to use the overview or alt+tab to bring it to the front. However, often we don't need to do that because GNOME encourages us to spread our windows over several workspaces.
810.
▲
by
ufo
6y ago
GNOME 3.38 allows adding custom sequences using the .Xcompose file. The only thing that doesn't work are include directives. I'd imagine it will be the same with GNOME 40.
More ›