Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
tomatsu
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
61.
▲
by
tomatsu
10y ago
The '*' there has no effect whatsoever. It doesn't even change the specificity.
62.
▲
by
tomatsu
10y ago
> [Kramdown] doesn't handle nested bulleted lists that indicate the level with simple indentation Works for me. * foo * bar * bat * asdf Results in: <ul> <li>foo <ul> <li
63.
▲
by
tomatsu
10y ago
Java also uses C-like syntax.
64.
▲
by
tomatsu
10y ago
> Will [Wasm] replace JavaScript? For bigger games, maybe. For applications, not so much. However, it will give you the ability to mix and match different languages more freely. E.g. you can write processing-intensive modules in Rust&#
65.
▲
by
tomatsu
10y ago
> Latency will always be a consideration though And it will always be way too high for VR.
66.
▲
by
tomatsu
10y ago
That's only true if you don't simply go with C-like syntax. For example, Dart prioritized familiarity. They wanted to make it easier for people who already know JavaScript, C#, Java, or ActionScript. JavaScript was also made to lo
67.
▲
by
tomatsu
10y ago
> this just seems like poor training Heh. Yea, passing too closely is what many humans do. Speaking of potentially murdering cyclists, since they already got all those sensors, they could prevent drivers and passengers from "doori
68.
▲
by
tomatsu
10y ago
Does it do anything to prevent spam?
69.
▲
by
tomatsu
10y ago
"Programme" is used in British English for that broadcasting stuff etc. As far as I can tell, they do use "program" for computer programs, though.
70.
▲
by
tomatsu
10y ago
> Jekyll on Github? Yep. That one is quite nice. There is a bit of a learning curve, but actually using it is great. All your content is versioned, there are always backups, performance is most excellent, and security is a complete non-i
71.
▲
by
tomatsu
10y ago
If you hang out in some IRC (or whatever) channels which are related to the topic at hand, you can ask the people over there.
72.
▲
by
tomatsu
10y ago
I'm using ⊞ and ⊟ for that.
73.
▲
by
tomatsu
10y ago
Declarations can be analyzed statically. Declarative stuff is convenient that way. If you have to execute code, things get messy.
74.
▲
by
tomatsu
10y ago
> you should rather [put] the "use strict" outside the function instead of on the inside. Modules and classes are always in strict mode. In practice, it really isn't an issue.
75.
▲
by
tomatsu
10y ago
> We can use another type of input instead of a CSV Popular static website generators like Jekyll can generate pages from YAML files. Jekyll even supports CSV directly. https://jekyllrb.com/docs/datafiles/ h
76.
▲
by
tomatsu
10y ago
> I copy/paste the same header/footer on each You could at least use server side includes (SSI) to include those snippets. Static website generators like Jekyll are pretty cool, though. You should definitely check them out.
77.
▲
by
tomatsu
10y ago
> Error establishing a database connection Another reason why static website generators are great. Anyone got a mirror?
78.
▲
by
tomatsu
10y ago
> custom scripting language that is somewhat Python-like You'll be able to use C# in 3.x.
79.
▲
by
tomatsu
10y ago
The Nanny State™ also puts age restrictions on alcohol and tobacco. Excessive sugar consumption is a huge problem for our society. Much more so than statistically insignificant stuff like terrorism. If there is something which has a massive
80.
▲
by
tomatsu
10y ago
Classic "nanny state" defense. The food industry invented that, by the way.
81.
▲
by
tomatsu
10y ago
http://tvtropes.org/pmwiki/pmwiki.php/Main/OverlyNarrowSuper... Also, there are a bunch of languages with functional features which compile to JavaScript. I don't think ClojureScript is more popular than
82.
▲
by
tomatsu
10y ago
SMS isn't the only alternative. People who are worried about encryption also won't use SMS. Signal doesn't make that bad trade-off, for example. There are viable alternatives.
83.
▲
by
tomatsu
10y ago
> Belt drive - I can't see much advantage to that. Maintenance-free, always as efficient as a properly lubed chain, clean, and quiet. They are fantastic for commuter bikes. > cheap V brakes would be fine Disc brakes are unaff
84.
▲
by
tomatsu
10y ago
Dart is just as fast, but getting there was significantly less work. Dart's semantics are more straightforward and the language was create with performance in mind. The amount of work that went into today's JS engines is just insa
85.
▲
by
tomatsu
10y ago
"It hurts when I move my arm." - "Don't move your arm then." No one who uses dial-up wants to use dial-up.
86.
▲
by
tomatsu
10y ago
The dynamic languages I primarily use are TypeScript and Dart. I always have enough type information floating around to catch this kind of thing. But even in JavaScript it wouldn't be much of an issue since it will instantly explode on
87.
▲
by
tomatsu
10y ago
I always go with plural for lists and singular for iteration variables. for (let thing of things) {...}
88.
▲
by
tomatsu
10y ago
> Making a wiki as an SPA. Well, that's technically fine. However, the page should be a static document which was rendered on the server side and the other stuff should be loaded later and only when needed. There is no reason why th
89.
▲
by
tomatsu
10y ago
position:sticky is really awesome for table headers. Emulating that behavior with JS and CSS is ridiculously complicated.
90.
▲
by
tomatsu
10y ago
The bind operator (::) would allow you to write "virtual methods". https://github.com/tc39/proposal-bind-operator (stage 0)
More ›