Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dkersten
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
71 ms
·
871.
▲
by
dkersten
5y ago
Since the "nm" numbers are just marketing anyway, I think they don't mean much in regards to how small we can go. We can go small until the actual smallest feature size hits physical limitations, which is so decoupled from th
872.
▲
by
dkersten
5y ago
> But I can indeed see an argument for strain when using the mouse so much. I have experienced that before and improved my ergonomic setup. As an aside, it is curious to me that many programmers are heavy PC gamers as the one true way to
873.
▲
by
dkersten
5y ago
I do something similar and also use FastMail. I use <site-name>@sites.<my-domain> for all site signups, eg news.ycombinator.com@sites.example.com
874.
▲
by
dkersten
5y ago
If you're ok with third party libraries, there are some solutions to static polymorphism. For example, EnTT comes with this: https://github.com/skypjack/entt/wiki/Crash-Course:-poly
875.
▲
by
dkersten
5y ago
At least on SO other people can comment, down vote or write their own answers to warn others after an issue is found.
876.
▲
by
dkersten
5y ago
The amount of "programming time" I spend actually writing code is also quite low compared to the amount of time I spend figuring out what needs to be done, the best way for it to be done, how it fits together with other things, th
877.
▲
by
dkersten
5y ago
> Just like a method is usually dependent on the instances data or a function is dependent on the data passed in. Just like a C function operating on a C struct. So, what, in your opinion, is the difference between procedural programming
878.
▲
by
dkersten
5y ago
Unlike traditional OOP, the data and behavior are decoupled though. Similar to data and functions. That is, you can add components that don’t get operated on by any particular systems because the entity doesn’t have the other prerequisite c
879.
▲
by
dkersten
5y ago
I know all the terms are overloaded nowadays so everything’s kinda unclear but I always wished that ECS components had been called traits, because adding a component to an entity gives it some a trait like “this thing has a position in the
880.
▲
by
dkersten
5y ago
How is the running thing operating on components any different from functions in a purely procedural language like C operating on records/structs? > Yes this also models much the same thing at runtime. In a different way, though. It
881.
▲
by
dkersten
5y ago
> You take a set of components and compose an object called an entity. That’s an overly broad definition of “object”, since under that same definition a record type (C struct) or any other blob of memory is an object. In the common type
882.
▲
by
dkersten
5y ago
Which is a subsystem of windows to run linux, not a subsystem consisting of windows to run on linux. Ie that doesn't solve the problem of "I don't want to run Windows but want Windows software", but rather it solves the
883.
▲
by
dkersten
5y ago
Just as a Turing machine requires an infinitely sized tape to compute any computable function, so too would brainfuck require an indirect sized tape (or whatever it’s called in BF) to compute any computable function. Since memory is finite,
884.
▲
by
dkersten
5y ago
I don’t think any of the replies you got for your first comments were uncharitable at all, they responded to what you wrote. At that point, you could have corrected us and revised your wording for clarity, but you did not, you dug your heel
885.
▲
by
dkersten
5y ago
Ok, I think I understand what you are trying to say. Instead of telling us how we don’t understand various things, how about next time you define your terms, choose your words more carefully and be clearer with your explanations, so we can
886.
▲
by
dkersten
5y ago
Its perfectly tractable though. Just because you don't understand it or don't think it is, doesn't make it true. > "Every programming paradigm is a good idea if the respective trade-offs are acceptable to you." T
887.
▲
by
dkersten
5y ago
Dynamic languages do it at runtime too, JUST LIKE rust and C++ do. What's the difference? C++ and Rust let you have compile-time safety, until you choose to give it up and have runtime checks instead. Dynamic languages only allow t
888.
▲
by
dkersten
5y ago
Yes, and? How is that relevant here? You said "you can't" , kortex said "you can" and then you moved the goal posts to "you can because of turing completeness, but its bad, Why do you even bother making the
889.
▲
by
dkersten
5y ago
> Why do you even bother making the point? Maybe because you said: > they prevent you from implementing dynamic dispatch. and > Routers. You can't have routers. Which just isn't true. You can implement dynamic dispatch
890.
▲
by
dkersten
5y ago
It sounds to me that the warrants are scoped by location, not by purpose.
891.
▲
by
dkersten
5y ago
Muscle memory still happens in the brain. A better description might be unconscious memory. I believe the proper term is "procedural memory". https://en.wikipedia.org/wiki/Procedural_memory
892.
▲
by
dkersten
5y ago
> Well there isn't, and I mean it. They do way more harm than good. Tell that to the Venezeulans who used bitcoin because their local currency is suffering from severe hyperinflation. https://www.bbc.com/news/bu
893.
▲
by
dkersten
5y ago
Almost all ideas are copied in some way. Even if an idea is original, not all of it is. Most successful companies aren’t the first one to offer whatever product they’re offering. Everyone is working with what came before them and building o
894.
▲
by
dkersten
5y ago
That’s why they were approached to do sons things but not others, I guess. I assume that means there was some kind of oversight. Also it’s not entrapment if the criminals are soliciting them.
895.
▲
by
dkersten
5y ago
The problem with stuff like stars or even lists of "who uses this" is that they need to be refreshed every so often. Just because someone used your project ten years ago, doesn't mean they're using it today. Maybe a list
896.
▲
by
dkersten
5y ago
Yeah, it was my understanding that the opcodes directly encoded what we would nowadays call microcode, that is, bits which selected which CPU component acted on which data[1], so these illegal instructions are just unused bit patterns that
897.
▲
by
dkersten
5y ago
The solution is simple enough: look at the companies books, if money is leaving the country, duty is charged unless it can be accounted for by something else (like the existing duty on physical goods). IRS: Hey Google, you said you made thi
898.
▲
by
dkersten
5y ago
Maybe an import duty needs to be applied. Importing the Irish whiskey will incur a duty. Google US paying a 100% license to Google Ireland should also incur a duty charge for importing the license from Ireland. Something like that, anyway.
899.
▲
by
dkersten
5y ago
I think you misunderstood the comment. It wasn't calling Postgres slow and half broken, it was making a stab at other home-brewed (NIH, Not Invented Here https://en.wikipedia.org/wiki/Not_invented_here ) databases,
900.
▲
by
dkersten
5y ago
I agree, I often copy and paste to a basic no-formatting text editor and back just to clear formatting, eg before pasting to an email or whatever. I rarely want formatting retained when pasting to/from emails. Same when copying from a
More ›