Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
xiaq
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
91.
▲
by
xiaq
5y ago
It's apparent that the author intends to maintain this across Go version upgrades. Part of this work is a custom patch format to make it easier to manage the changes to the Go runtime ( https://ebiten.org/blog/nativ
92.
▲
by
xiaq
5y ago
It timed out. Since this case is O(2^n) the fuzzer managed to build a relatively short input that caused the function to not terminate for a few minutes.
93.
▲
by
xiaq
5y ago
Fuzzing is awesome. I just discovered an accidental O(2^n) code path in my project with fuzzing and fixed it: https://github.com/elves/elvish/commit/9cda3f643efafce2df567... Edit: shortly after I wrote this c
94.
▲
by
xiaq
5y ago
Promises aren't inherently an "inner platform". You can certainly make them part of the "base language", like Rust. JavaScript didn't have async functions and promises in the beginning, but it integrates with t
95.
▲
Go 1.18 Beta 1 is available, with generics
(go.dev)
14 points
by
xiaq
5y ago
|
1 comments
96.
▲
Gerald Jay Sussman keynote, day 2 of re:Clojure conference 2021
(youtube.com)
3 points
by
xiaq
5y ago
|
0 comments
97.
▲
by
xiaq
5y ago
> It’s a deterministic subset of Python. This means that if you have complex or repetitive configurations, you can use loops and functions to structure them. But it’s impossible to write an infinite loop or recursion. Starlark is indeed
98.
▲
by
xiaq
5y ago
Not everything is worth learning for everyone, especially when it's just something arbitrary people need to remember. If I invent a crazy unit system for measuring distances, where a "finger" is 8.3 centimeters and a "st
99.
▲
by
xiaq
5y ago
Java programs are slow to start because of all the JVM overheads, but after that the performance is probably between 1x and 2x as slow as C (it depends a lot on the workload, of course). Java is definitely not a slow language in general, ju
100.
▲
by
xiaq
5y ago
This test will inflate the test coverage, but it is a valid smoke test (assuming that any unhandled exception will cause the test to fail).
101.
▲
by
xiaq
5y ago
The author seems confused. The following is simply not true: When you take a pointer to a slice, you get a pointer to the current version of this tuple of information for the slice. This pointer may or may not refer to a slice that an
102.
▲
by
xiaq
5y ago
Different legal opinions and Samsung being more risk-averse I guess? However reading the article about SONY ( https://www.xda-developers.com/sony-xperia-android-pie-unloc... ), DRM keys seems to be a more likely cause...
103.
▲
by
xiaq
5y ago
It could be for compliance with Japanese law which forbids taking photos without a shutter sound? This in principle doesn't apply when you're not in Japan, but after unlocking Samsung has no way to tell. Edit: reading the article
104.
▲
Elvish 0.16.0 Release Notes
(elv.sh)
3 points
by
xiaq
5y ago
|
0 comments
105.
▲
by
xiaq
5y ago
According to https://mgree.github.io/ffs/ffs.1.html , it tries to autodetect the type (so false will default to a boolean) but you can explicitly specify the type via extended attributes.
106.
▲
by
xiaq
5y ago
I lived in Eindhoven for two years and passed by its Holland Casino every week. I never knew it was run by the Dutch state! There is a Chinese Internet slang "智商税" ("IQ tax"), used to describe products with questionable
107.
▲
by
xiaq
5y ago
IIUC, cables are not subject to LLU in the UK (Virgin Media being the only cable ISP) but fibres are. Competition from fibre probably keeps cable Internet price reasonable enough.
108.
▲
by
xiaq
5y ago
I guess you are from the US? Local loop unbundling [1] is a regulatory method to "utility-ize" ISPs by forcing the infrastructure owner (usually big telco companies) to allow competitors to use the infrastructure. Here in UK LLU s
109.
▲
by
xiaq
5y ago
If you're interested in a shell that doesn't do "on error resume next", take a look at Elvish :) https://elv.sh/learn/tour.html#exceptions
110.
▲
by
xiaq
5y ago
As someone living in UK, I can confirm that UK lacks both.
111.
▲
by
xiaq
5y ago
Shameless plug: if you're interested in nushell, you might also be interested in Elvish: https://elv.sh (And the various other new shells, documented by the author of another new shell, Oil: https://github.com&#x
112.
▲
by
xiaq
5y ago
https://en.wikipedia.org/wiki/Names_of_the_days_of_the_week#... > The Chinese had apparently adopted the seven-day week from the Hellenistic system by the 4th century, although by which route is not entirely clear.
113.
▲
by
xiaq
5y ago
That is not true. > Follow standard English text formatting and capitalization practices, even if the trademark owner considers nonstandard formatting "official", as long as this is a style already in widespread use, rather tha
114.
▲
by
xiaq
5y ago
No, Wikipedia does not make the judgement call on whether to "reject" corporate case styling on its own, it follows what is "in widespread use": > Follow standard English text formatting and capitalization practices,
115.
▲
by
xiaq
5y ago
> where formal methods is actually used? Formal methods are useful where the cost of bugs greatly exceed the cost of formal verification. Most software systems do not fall into this category, but some do: space launches, transport safety
116.
▲
Lit: Simple Fast Web Components
(lit.dev)
2 points
by
xiaq
5y ago
|
0 comments
117.
▲
by
xiaq
5y ago
AFAICT the PR author is actually the #1 developer of Mastodon and also authored the original change of renaming "posts" to "toots".
118.
▲
Codecov Bash Uploader compromised
(about.codecov.io)
198 points
by
xiaq
5y ago
|
77 comments
119.
▲
by
xiaq
6y ago
If you want a full-fledged programming language in a shell, you might also be interested in Elvish ( https://elv.sh ). Start with the quick tour: https://elv.sh/learn/tour.html
120.
▲
A history of Clojure (2020) [pdf]
(download.clojure.org)
2 points
by
xiaq
6y ago
|
0 comments
More ›