HNHacker News
TopNewBestAskShowJobs

rickycook

692 karma · joined June 16, 2014

[ my public key: https://keybase.io/rickycook; my proof: https://keybase.io/rickycook/sigs/V0nSHpU2l5arnKSd953WEYUlLTx5mZIo4uHIAlhJEA4 ]
submissionscomments
rickycook··on Hyperscript Tagged Markup: JSX alternative using standard tagged templates
well no... it’s type checked because it’s transpiled to a function
rickycook··on Hyperscript Tagged Markup: JSX alternative using standard tagged templates
no, but it BECOMES javascript after transpile time
rickycook··on Hyperscript Tagged Markup: JSX alternative using standard tagged templates
and i think this is the point; runtime vs compile time! similar reasons that people love the popular new type systems... if it compiles, it probably works or you get an error rather than pushing that later and possibly not catching it
rickycook··on Hyperscript Tagged Markup: JSX alternative using standard tagged templates
that as the case may be, id say that was in spite of the “stringy code”. the point (i think) is that this, and JSX are functionally the same thing, but there are some very large issues with doing this in a string.

*edit: clarity

rickycook··on Why Aren't There C Conferences?
and off a bridge? sounds like a JS conference
rickycook··on Why Aren't There C Conferences?
Early 2000s:

The main problem with that is there is no single JavaScript/HTML community.

Imagine trying to get IE, Netscape, Opera and every flavor of embedded HTML viewer together.

rickycook··on Infinite procedurally-generated city with the Wave Function Collapse algorithm
someone mentioned that it’s random, but i feel like a PRNG seed would make it deterministic?
rickycook··on Infinite procedurally-generated city with the Wave Function Collapse algorithm
someone explained above that it’s just a bunch of “tiles” (assume they’re premade), so it’s a fairly simple matrix. it would be much less to transfer than custom maps for example, where clients download a large payload at the start of the game.

or, you don’t really care about tiles except that are directly around the players, as long as there’s a reasonable path between them. the city between them can regenerate and it wouldn’t matter; it’s not like they’d compare notes (and if they did, it’d be an odd coincidence rather than broken)

or, you can always use a map seed so the PRNG that makes it non deterministic (assuming that’s the only thing that does) generates the same numbers so that it is deterministic. the age of empires (old yes, but still relevant!) team wrote a great little piece about their multiplayer, and how they kept all their PRNGs in sync so that the games remained the same across hosts

rickycook··on Infinite procedurally-generated city with the Wave Function Collapse algorithm
couple that with some mirrors edge like free running mechanic. maybe a team vs 1 chase so all players would be running toward the same thing. reminiscent of a chase scene from a movie through an unfamiliar city, where a dead end could be just around the corner.
rickycook··on Cloud Computing Without Containers
that was my thought as well. in the section about the down sides, they do mention though that they should be able to run anything that compiles to web assembly. they specifically call out rust and go.

wasm really has quite a lot of interesting and unexpected applications! (though of course non-wasm tech can accomplish the same thing, but it’s nice that we are getting close to some form of universal binary format)

rickycook··on Chart of the Decade: Why You Shouldn’t Trust Every Scientific Study You See
i would assume that the positive results still get reported somewhere in the paper? so other people could still pick up on it in the future.

if they’re positive enough then the drug company will fund another study with that as the primary outcome. that seems prudent too: it should be the primary thing you’re examining so that you can design the study correctly, rather than a simple “oh and by the way” side note

rickycook··on Out of all major energy sources, nuclear is the safest (2017)
certainly shouldn’t be okay with it, but if arbitrary people in a 100km radius were effected rather than just miners, yes that would be worse, because their “decision” to remain in the area is further removed from the problem than the decision to remain a miner
rickycook··on AT&T blacks out HBO, Cinemax for Dish, Sling TV users over carriage dispute
or use your power as a consumer to vote with your wallet, which is almost always the overall response on HN to someone complaining about a monopoly

it just so happens that it’s real easy with content!

rickycook··on We posed as 100 Senators to run ads on Facebook. Facebook approved all of them
yeah! because changing a document that was written hundreds of years ago to suit the highly changing landscape that is human society is a terrible idea........
rickycook··on Google’s smart city dream is turning into a privacy nightmare
well then ignore fisa courts because the US just does whatever the hell it wants with non-US citizens. that makes the point even more prescient
rickycook··on IBM acquires Red Hat
well, that’s basically already happened. with its strict adherence to GNU, and with the truly phenomenal number of distros based on debian (especially if you include ubuntu derived distros, but ubuntu is so different these days that idk if it’s really the same any more?)
rickycook··on Bahnhof’s 10 Gbit/s router for home use – the fastest on the market
Australia: where the govt spends $40bn on broadband infrastructure and we still only get 100/40 unlimited for $79 (with an ISP with decent peering; you can get it cheaper but nooooo)

(you can get 250/100 but that caps you at 3TB and costs $250/mo)

EDIT: scratch that, it’s up to $51bn

rickycook··on We can no longer leave online security to the market
like a certified organic seal? (which are meaningless at this point)

you regulate the effect; don’t dictate a solution.

rickycook··on Calls between JavaScript and WebAssembly are finally fast
i’d imagine that at its core, all the DOM access will be just another WASM call, and WASM has no concept of objects AFAIK? it would be up to each language to represent those bindings however it likes. i don’t think the functions would even have names per se; similar to minified JS you know some magic reference number but a human readable name is not relevant

all assumptions here

rickycook··on What Businessweek got wrong about Apple
well, the article said that amazon noticed pings to c&c servers in its beijing datacentre. it did also say that these were more sophisticated hardware attacks but didn’t make it clear if these chips were also found
rickycook··on Kubernetes Is a Surprisingly Affordable Platform for Personal Projects
i have a paperless filing system that i frequently access from the office for things like scans of bills that aren’t yet electronic, etc. it’s fantastic to be able to access it all (via VPN; never direct) wherever i like
rickycook··on Ask HN: What's the mission of your company and why does it matter?
the truly matters part i think needs at least 1 level of “but why”... okay they pay for it, but why do they pay for it? that’s the important thing... okay, it pays your salary and gives freedom, but why do you care about the product? what if it paid you nothing (but that didn’t matter); would you still work on it? why?

i’m sure you know these answers; you wouldn’t have gotten to “paying customer 1” otherwise

rickycook··on The Private Blockchain Fallacy
but why would you? blockchain is a fine solution; why reinvent it? replace POW with POA and there are very few reasons not to use a blockchain here
rickycook··on The Private Blockchain Fallacy
id say because it’s a tool purpose built to provide a distributed ledger between untrusted (or in this case semi trusted maybe) parties... git is not a tool thats built for that. if you reverse the argument, explain why git is a better solution for a write only, transactionally consistent, distributed, trustless ledger. i’m sure you could make something akin to a blockchain with git, but why would you when we have a perfectly viable solution that’s prebuilt for the purpose.

they both might be able to perform similar functions with enough customisation, but a blockchain is fit for purpose out of the box.

note: i’m thinking here a blockchain with POA where tokens are distributed between known parties, so no overhead of POW. POW has very obvious down sides

rickycook··on EU to stop changing the clocks in 2019
you can wake up at 4am but that doesn’t change the fact that society centres around 9-5
rickycook··on Bye bye BetterSlack
well, his is the second comment in a week that i’ve seen (unrelated to betterslack) that mentioned this point. he’s certainly not the only one!
rickycook··on Show HN: I'm 12, learning JS, and wrote Wolfram's cellular automaton in Node
current projects are a lot easier if you can use modern syntax that will eventually be supported in future projects, and which can be transpiled in either way
rickycook··on NYC Mesh – community-owned network to replace your current internet connection
there are certainly better ways to contribute, but i’m not sure it’s nitpicking. it seems like this issue is pretty close to the network’s core values and reason for existing: getting away from centralisation, censorship, big companies, etc
rickycook··on Verizon throttled fire department’s “unlimited” data during wildfire
well, 911 receives special treatment but is regulated under the same rules as the NN services afaik?
rickycook··on Nelson woman delighted after Apple unlocks iPhone of late husband
...or the article is misleading
← PreviousPage 4 of 11Next →