Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
rictic
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
26 ms
·
241.
▲
by
rictic
7y ago
How much does that actually help? Some things are much easier when system calls return sane values, but the standard library of a programming language needs to work as best it can on many platforms.
242.
▲
by
rictic
7y ago
That Anders Heljsberg video is great. Watched it last night and I'm still thinking through the implications of pull vs push. Thanks!
243.
▲
by
rictic
7y ago
What would a compiler for a language like Rust or C++ look like if it was optimized for development iteration speed first? Could you produce binaries that were good enough to be useful for testing and developing? You'd end up sharing
244.
▲
by
rictic
7y ago
Doesn't it also depend on how wealthy your neighbors are? For an extreme example, an area with extremely low population (like the middle of the ocean), the bandwidth (at least surface to satellite bandwidth) will be wasted if no one is
245.
▲
by
rictic
7y ago
Idris is great, its design is super impressive, and it expanded my mind tremendously in terms of what is possible in programming. We can and should ask much more of our type systems! It is also way less mature than Haskell, and someone tryi
246.
▲
by
rictic
7y ago
Two ways to have a healthy organization that promotes skin in the game: workers receiving shares in the company as compensation, and having a healthy, system of promotion. Expanding on that second one, if the most reliable way to get promot
247.
▲
by
rictic
7y ago
> I shouldn't need to read the last 8 chapters to figure this out. It's not my responsibility as a reader. It's the responsibility of the writer to ensure that when a reader jumps into a chapter, there's enough contex
248.
▲
by
rictic
7y ago
I get framework and tooling fatigue, but it seems misaimed here. This project is an attempt at minimizing complexity, not adding onto it. There's a fundamental problem with writing JS for the browser: how do you expresses your dependen
249.
▲
by
rictic
7y ago
It was! It grew from ~4% at the beginning to ~22% at the end.
250.
▲
by
rictic
7y ago
> - Apple and Google are still the only two mobile operating systems that matter and they are still in relatively the same position. iOS still controls the high end where the money is and Android has the market share but the OEMs are not
251.
▲
by
rictic
7y ago
True, and fair point! Randomness is a matter of perspective. For any source of randomness there exists an oracle, and in some cases you can actually construct the oracle, and profit thereby.
252.
▲
by
rictic
7y ago
Only somewhat related, but if you found these ideas amusing, you'd probably enjoy watching tom7's video on unusual chess engine strategies: https://youtu.be/DpXy041BIlA
253.
▲
by
rictic
7y ago
Pokemon is highly nondeterministic. To take just one example, there are many moves which probabalistically induce game-changing status effects on the enemy.
254.
▲
by
rictic
7y ago
Check out lit-html. You write functional style code, but the library does efficient minimal mutations of the dom with no virtual dom, and no dom diffing.
255.
▲
by
rictic
7y ago
I'd be happy for the User-Agent string to die (or be frozen in amber), but I want the ability to have a rough sense of the capabilities of a browser in order to determine what JS I should send down to them. Like, if you're on IE11
256.
▲
by
rictic
7y ago
FWIW I read it as just meaning that the AI is very impressive, but might or might not be competitive at the highest levels of play. Like, if you took a world-class team and had them play against random opponents I'd be surprised if the
257.
▲
by
rictic
7y ago
> The try-block would be way more useful if it could just define scope without being tied specifically to error handling. There are lots of circumstances where defining scope would be handy outside of conditionals and creating functions
258.
▲
by
rictic
7y ago
I expect it's because of `finally`. You can write a try without a catch today, provided there's a finally, however the error will continue to propagate in that case. try {throw new Error('')} // exception
259.
▲
by
rictic
7y ago
My experience was very different. SVN was far slower than git. It was slower for me to checkout my company's SVN repo at head than to use git-svn to clone the entire SVN history locally. And from then on, most git operations were effec
260.
▲
by
rictic
7y ago
Part of the answer is that mammals are three to seven orders of magnitude larger than amoeba. That comes with some advantages! Immune systems are super complicated, and can leverage the resources of a vast cooperating superorganism of cells
261.
▲
Google Search using ML with BERT to understand natural language
(blog.google)
3 points
by
rictic
7y ago
|
0 comments
262.
▲
by
rictic
7y ago
It would be very surprising indeed if they were truly indistinguishable.
263.
▲
by
rictic
7y ago
Correct behavior is debated and decided in public, resulting in a specification. In this case the HTML spec says "should", not "must". HTML Spec: > When an element's autofill field name is "off", the us
264.
▲
by
rictic
7y ago
Improved ability to understand the present and predict the future? e.g. if malice, then sharing ideas is more dangerous; if byzantine organization dynamics, then it's less dangerous.
265.
▲
by
rictic
7y ago
It's fortunate that taking only a week off programming doesn't dull your edge. That sounds nerve wracking!
266.
▲
by
rictic
7y ago
The point is that ownership also prevents these errors. If there are never two simultaneous mutable references to something, then you can get the advantages of immutable data structures without paying the performance penalty.
267.
▲
by
rictic
7y ago
Depends on the problem you're solving. That's a terrible way to write a filesystem, but a wonderful way to write a UI widget. It's hard to reason from first principles how much padding should be between items in a list, or ho
268.
▲
by
rictic
7y ago
I'd say Python was niche closer to 20 years ago. According to http://pypl.github.io/PYPL.html in 2009 Python was about as popular as C# is now, which is my recollection.
269.
▲
by
rictic
7y ago
Auditing a large codebase is also probabilistic. Oversights happen, and there are ways to write code that looks like it does the intended behavior while also doing a second, nefarious thing. See https://www.ioccc.org
270.
▲
by
rictic
7y ago
Trusted Types just gives you the APIs for declaring what code is allowed to make strings that may be used with unsafe sinks. You could do this by validating inputs with regexes, or you could make a safe-by-construction API, or you could not
More ›