Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
sullyj3
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
27 ms
·
241.
▲
by
sullyj3
7y ago
sum([1,1]) = 1 + 1 = 2 sum([1]) = 1 sum([]) = 0 0 + n = n + 0 = n Zero is the unit with respect to addition, so when we add together a list of no numbers, we ought to get back zero. you can `from math import prod` in python3.
242.
▲
by
sullyj3
7y ago
This looks cool, seems like it's proprietary and expensive though. Is there anything similar that's free?
243.
▲
by
sullyj3
7y ago
https://www.redox-os.org/news/rsoc-ion-ux-2/
244.
▲
by
sullyj3
7y ago
Is there anything similar that doesn't require me to use Emacs?
245.
▲
by
sullyj3
7y ago
What he's calling colour is just provenence, which is a perfectly sensible concept. You can even take the position that provenance is a physical reality, if you take 4 dimensional spacetime seriously. http://nautil.us/i
246.
▲
by
sullyj3
7y ago
is a hard drive not a tangible form? Come to think of it, so is a brain, and everything else capable of storing information. That language is atrocious.
247.
▲
by
sullyj3
7y ago
I think you might have accidentally typed news.ycombinator.com instead of twitter.com
248.
▲
by
sullyj3
7y ago
Sure, namely typescript.
249.
▲
by
sullyj3
7y ago
Technically it's not even one type or another, eg in Rust, Some(1) and None are values of the same type, Option<i32>. What's different is the tag of the enum, or the data constructor, or whatever you want to call it.
250.
▲
by
sullyj3
7y ago
It's debatable whether the amount you could get by taxation would be enough. Why would you expect people to be generous enough voluntarily to solve the problem?
251.
▲
by
sullyj3
7y ago
I feel like "busy working on a different programming language" is one of the better excuses for not doing this.
252.
▲
by
sullyj3
7y ago
bat is another nice rust utility, a kind of combination of cat and less with line numbers and colors. If there's more than a screenfull of text it acts as a pager, otherwise like cat.
253.
▲
by
sullyj3
7y ago
If this were the entire explanation, why wouldn't you just expect equal wages and tall men to be slightly more worse off?
254.
▲
by
sullyj3
7y ago
Ironic that that quote comes from someone who died in the year 180. If I got 2000 years of fame, I'd be pretty satisfied.
255.
▲
by
sullyj3
7y ago
Black boxness isn't a property of the thing, it's a property of our understanding of the thing. Just because we don't understand the how pattern recognition in humans works, doesn't mean the process has no internal struc
256.
▲
by
sullyj3
7y ago
That's a fair point! Edit: No I thought about it, and I changed my mind again. The TODO comments are primarily for the benefit of the subsequent readers, so they're not having to do so much exegesis and assorted WTFing. If you onl
257.
▲
by
sullyj3
7y ago
This completely negates the cost of context switching. Not all of us are superhuman multitaskers.
258.
▲
by
sullyj3
7y ago
They don't have the same market dominance.
259.
▲
by
sullyj3
7y ago
Anyone know how it compares to Aseprite?
260.
▲
by
sullyj3
7y ago
> The root cause of the Spectre and Meltdown vulnerabilities was that processor architects were trying to build not just fast processors, but fast processors that expose the same abstract machine as a PDP-11. What would an abstract machi
261.
▲
by
sullyj3
7y ago
I must've misremembered, possibly what's disallowed is mixing tabs and spaces.
262.
▲
by
sullyj3
7y ago
Presumably they're following python's example here.
263.
▲
by
sullyj3
7y ago
For sure, but the context of this discussion is AI research, not game design.
264.
▲
by
sullyj3
7y ago
> if you're shooting for human-like behavior You're not though, you're just trying to build a bot that can win the game.
265.
▲
by
sullyj3
7y ago
once you start noticing these things, confirmation bias kicks in and you can never stop noticing them. it's important to be aware of the Chinese robber fallacy ( https://slatestarcodex.com/2015/09/16/cardi
266.
▲
by
sullyj3
7y ago
> you are violating a logical constraint of the system I'm looking for something even a little more concrete than this. Why would the program be invalid? Can you give an example of what would happen if we just went ahead and accesse
267.
▲
by
sullyj3
7y ago
what actual concrete, real world, non sci-fi sounding problem does "splitting the timelines" represent?
268.
▲
by
sullyj3
7y ago
the way the impossibility is resolved is that the language itself isn't responsible for doing io, but rather it is responsible for (purely) constructing a value which represents an io computation to be performed. this value is construc
269.
▲
by
sullyj3
7y ago
https://xtendo.org/monad This is the best introduction to the topic I've seen for Haskell beginners. It provides some much needed context.
270.
▲
by
sullyj3
7y ago
nobody's claiming Reddit invented the concept, it's just more salient to the average reader. are you seriously saying, if you were an Engadget editor, you would have said "change it to Usenet"?
More ›