Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
tom_mellior
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
15 ms
·
91.
▲
by
tom_mellior
5y ago
> The law doesn't specify anything as precise as an algorithm. The law has multiple statutes, codes, precedents etc with overlapping applicability. Again, I think you're arguing about something that the paper doesn't claim
92.
▲
by
tom_mellior
5y ago
Tax codes that spell out detailed computations are de facto "Napoleonic" (civil) even in a country that applies common law to other things, no?
93.
▲
by
tom_mellior
5y ago
> How is the value of "aggregate_periods_from_last_five_years of personal.property_ownership" calculated? How is the value of "during the 5-year period ending on the date of the sale or exchange, such property has been own
94.
▲
by
tom_mellior
5y ago
https://www.givedirectly.org/ gives a basic income to poor people. It's not universal.
95.
▲
by
tom_mellior
5y ago
I would expect there to be a gender difference in the US, due to the social influence of marketing. But I don't think highlighting the difference would help the discussion in any way. If the professor is making an argument that one cho
96.
▲
by
tom_mellior
5y ago
> Actually helping these people means improving their existing options, or giving them new better ones. Yes. A basic income for which one doesn't need to go into the diamond mines, for example.
97.
▲
by
tom_mellior
5y ago
> our teacher asked all of the women Sounds like a pretty sexist thing to do. The same question can be asked without putting women on the spot. "If you were to buy a diamond, what would you rather choose?"
98.
▲
by
tom_mellior
5y ago
> Are you thinking of something else? That's an effect of call by value, but linked lists actually aren't good at that and you have to copy them to pass them around. Are you thinking of something else? Haskell (and all other
99.
▲
by
tom_mellior
5y ago
In Austria the Supreme Court of Justice (OGH) specifically ruled that banks aren't allowed to do it. At least for private people's savings accounts. Banks are pretty happy to raise various service fees though, so I guess they'
100.
▲
by
tom_mellior
5y ago
I appreciate the discussion, but I believe you're arguing in bad faith. > Yes, you can definitely do all of those. But almost no one does <shrug> That's what you say. What is this based on, considering that until a few ho
101.
▲
by
tom_mellior
5y ago
The given link describes unboxed vectors. This is Haskell-speak for "actual array of actual machine numbers".
102.
▲
by
tom_mellior
5y ago
> Not exactly, no, but you can with "X-macros", I only gave this a passing thought before and was too quick to dismiss it. Yes, I see how it can be done. Which is just another argument that the whole thing is a non-issue, no? L
103.
▲
by
tom_mellior
5y ago
> That you have to write them over and over again for every single class. You offer to do that with Python. Or with some other code generator. A mythical language with SoA/AoS transformation "built in" will do exactly the
104.
▲
by
tom_mellior
5y ago
A subset of an AntColony is another AntColony containing sub-arrays. One element of an AntColony is an Ant which you can instantiate with the data at the appropriate index from each array. I'm not trying to be difficult, I really don&#
105.
▲
by
tom_mellior
5y ago
> However, most modern languages (C, C++, Python, Java, etc..) are not making it easy, The article shows how easy it is to declare a struct of arrays in Java: You declare a struct (class). Inside it you declare arrays. Done.
106.
▲
by
tom_mellior
5y ago
> ridiculous, arbitrary rules ... that everybody, including the God who made the rules, understands are being violated. Can one actually believe that "haha, we pranked an all-knowing, all-powerful, vindictive deity" is the path
107.
▲
by
tom_mellior
5y ago
How would you ensure the correspondence between anything and an NFT? You don't. That's why the parent called them worthless.
108.
▲
by
tom_mellior
5y ago
And for bonus points, are any of those useful things useful in domains other than financial speculation? That is, not DAO/De-Fi/prediction markets?
109.
▲
by
tom_mellior
5y ago
> If it's better to hoard currency so you can buy 10% more things next year, everyone starts hoarding currency But they don't. Not if it's things they need now , like food, or want now : electronics have been deflationar
110.
▲
by
tom_mellior
5y ago
Thanks for your answer. I probably meant deferrables rather than optionals that were de facto required. Sorry I don't have a concrete example handy, it's been a while.
111.
▲
by
tom_mellior
5y ago
It won't necessarily crash immediately. Inside unsafe blocks you can invoke undefined behavior by overwriting arbitrary memory locations. The effects of reading that modified memory (including crashes) can become visible much later, lo
112.
▲
by
tom_mellior
5y ago
> I could then call <variable reassignment> in Python also variable shadowing You could, but you would be wrong. Shadowing is associated with opening a new scope. Reassignment modifies a location in an existing scope. Python does t
113.
▲
by
tom_mellior
5y ago
> many OSes Are outside the scope of the C language. But if you allow these special APIs, you can use them to implement a safe strcpy. Either way your point from above is still invalid.
114.
▲
by
tom_mellior
5y ago
Hilarious how many new sockpuppet accounts were opened just to poop on this article.
115.
▲
by
tom_mellior
5y ago
> no need for type annotations This language has polymorphism and mutation, like OCaml. I wonder how they avoid the "value restriction" problem that in OCaml forces you to write type annotations in some places: https:/&#x
116.
▲
by
tom_mellior
5y ago
> All those code samples will crash and burn if s and t point to the wrong locations This is true for all uses of pointers in C. The only validation you can do is whether a pointer is null. Apart from that you can never know that a point
117.
▲
by
tom_mellior
5y ago
Ah, sorry, I should probably clarify that there are two completely distinct uses of the term "interval" in data flow analysis. One (introduced in https://amturing.acm.org/p137-allen.pdf and discussed in the old Dr
118.
▲
by
tom_mellior
5y ago
> Interpreters usually execute by walking the abstract syntax tree at runtime, bytecode VMs usually execute actual bytecode similar to machine code. This isn't the right way to separate these concepts. A VM that executes bytecodes b
119.
▲
by
tom_mellior
5y ago
> I'm not an expert by far, but I feel like many people who write compilers or develop languages no longer recommend The Dragon Book as it's very outdated. Yes. There are newer editions that I can't judge, but the 1986 edi
120.
▲
by
tom_mellior
5y ago
The problem with the old old Dragon Book's treatment of parsing is that it explains a particular impractical algorithm (LR(1)? LR(k) maybe? it's been a while) in way too much detail. You would need that detail if you were to imple
More ›