Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
copergi
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
18 ms
·
151.
▲
by
copergi
13y ago
>Expect "Why I migrated from Go to Hack" articles soon enough Why would you expect that? Obviously the bulk of people migrating to hack will be coming from PHP.
152.
▲
by
copergi
13y ago
>I wish these extensions came by way of the PHP core rather than a language that is superimposed on PHP Someone has to do it, and the PHP developers have proven time and again that they aren't going to. At some point the only optio
153.
▲
by
copergi
13y ago
>The fast development cycle -- edit php script, refresh -- is something amazing that you don't get in a lot of statically typed languages You seriously think that? That's how we do haskell web development. Both yesod and snap
154.
▲
by
copergi
13y ago
>It just has terrible ambassadors that give the impression that category theory and Haskell are synonymous It isn't ambassadors doing that, it is detractors. >This is a reasonable introduction to Haskell that does away with that
155.
▲
by
copergi
13y ago
You might think of it that way, but it doesn't reflect reality at all.
156.
▲
by
copergi
13y ago
Nah, I took it as an opportunity to educate him. He learned that I am not a linux guy, and that there's actually lots of unix operating systems. And then he learned that mysql isn't the linux database, it is just a database
157.
▲
by
copergi
13y ago
>MySQL is fantastic for probably 90% of what you'd ever think to use it for No, it is tolerable if you don't know any better. That's like saying a gremlin is fantastic for 90% of what you'd ever think to use it for.
158.
▲
by
copergi
13y ago
This is just someone who doesn't appear to have much experience with any of the three, repeating "common knowledge" opinions that are largely misguided and/or outdated. If you want to say X is faster or Y has more "
159.
▲
by
copergi
13y ago
Innodb doesn't have fulltext search, it has "fulltext search*". Big difference.
160.
▲
by
copergi
13y ago
Postgresql seems more popular from reading blogs, news sites, etc because it is moving up in popularity while mysql is moving down. So there is more talk about it, even though there is still less usage. All the people switching to postg
161.
▲
by
copergi
13y ago
>If all you are doing is reading single rows from a single table using an index, then yes Postgres is overkill and other solutions may perform better No, not really. Mysql will perform very slightly better if you are doing just simple s
162.
▲
by
copergi
13y ago
Odd that they think they outgrew postgresql, while only dealing with a tiny 30k tps.
163.
▲
by
copergi
13y ago
It won't though. Because it'll still be a decade behind haskell. People want more than just "ok, you can use multiple OS threads now". They want a concurrent IO manager, painless and seemless multiplexing of low cost
164.
▲
by
copergi
13y ago
>But its use of structural typing instead of nominative typing effectively means it takes half the compiler assistance you can get out of static type checking and chucks it out the window It is quite rare for people to use objects in oca
165.
▲
by
copergi
13y ago
You are acknowledging that you are wrong without even noticing. No, haskell is not an "ivory tower". It is a very practical, useful language. That is precisely the reason it has gained so much momentum and usage. Ocaml had mor
166.
▲
by
copergi
13y ago
But "someday we'll only be a decade behind haskell" isn't much of a reason to choose ocaml over haskell.
167.
▲
by
copergi
13y ago
>My point was that neither OCaml nor Haskell have particularly strong implementations in this area (to my knowledge) They both do.
168.
▲
by
copergi
13y ago
I think fay uses its own FFI, but with haste you just use the normal FFI to call normal javascript functions the same way you would interface with C code from haskell. There's no need for special bindings or anything. You could certa
169.
▲
by
copergi
13y ago
I think you misread something. He asked how to do it without manipulating the DOM.
170.
▲
by
copergi
13y ago
Is that a trick question? I don't know how or why you would try to do that.
171.
▲
by
copergi
13y ago
I write all my javascript in haskell, and haven't had any problems. What do you need/want "DOM bindings" for?
172.
▲
by
copergi
13y ago
>because if they said anything less, then regardless of the truth of the matter, they'd be skinned alive. I am amazed at how many people don't recognize this. Even if the entire thing were completely made up, this would still
173.
▲
by
copergi
13y ago
It isn't the purpose of the contract, that's a complete non-sequitur.
174.
▲
by
copergi
13y ago
I am fully aware of what they are, we stopped building them for a reason. They are hell to live in. You get the bare minimum air exchange as required by code. Try being in such a building for a day. Properly constructed passive building
175.
▲
by
copergi
13y ago
Violating the law doesn't automatically violate any random contracts you have entered into.
176.
▲
by
copergi
13y ago
>But you want the air to be warm, not the walls. No, you don't. Heating the structure is far more efficient, allows for proper ventilation, and is far more comfortable for the inhabitants. >Also, passive houses do have proper ve
177.
▲
by
copergi
13y ago
>That being said, I guarantee you were violating your lease when you used AirBnb How can you guarantee that? Plenty of places let you sublet. Hell, in reasonable jurisdictions you can't legally prevent someone from subletting.
178.
▲
by
copergi
13y ago
That strategy is successful everywhere. You already insulate anyways, you still need thermal mass. It isn't just about capturing heat during the day to release at night, it is about heating the house instead of the air inside the hou
179.
▲
by
copergi
13y ago
>which is more about super-insulating a nearly airtight envelope That last part is the problem. Insulation is a huge part in any passive home, but heating the air means keeping things airtight. Which means terrible air quality and livi
180.
▲
by
copergi
13y ago
No thermal mass makes for a horrible passive house.
More ›