Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dmit
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
181.
▲
by
dmit
7y ago
If you specify a catch-all url to open in No Container, would that work? !*.google.com , Google !* , No Container
182.
▲
by
dmit
7y ago
Would a macro work ok for you, like the inbuilt vec! one? There's a crate for that named maplit: https://docs.rs/maplit let map = hashmap!{ "a" => 1, "b" => 2, };
183.
▲
by
dmit
7y ago
Pretty much. The mere existence of cdecl(1) says a lot about the simplicity of C's type declaration syntax.
184.
▲
by
dmit
7y ago
I'm sorry for being blunt, but is it possible that the `very brittle "exact match" method of evaluating whether an answer is correct` means value equality? Is `==` the secret sauce?
185.
▲
by
dmit
7y ago
I meant vendoring the source code of dependencies when I wrote the parent comment, but it appears you feel strongly about going one step further? Vendoring arch-specific binaries? What is the benefit of doing that, in your opinion?
186.
▲
Strings in WebAssembly
(medium.com)
70 points
by
dmit
7y ago
|
30 comments
187.
▲
by
dmit
7y ago
> The same properties of the language which helped Google have helped me To be fair, I don't think anything I wrote contradicts that. If your goals align with Google's, great.
188.
▲
by
dmit
7y ago
Go was so obviously designed by Googlers, for Google. After the initial release, outside adopters would frequently report issues where Go undermined their productivity. And every time the core team's response was the same - complete di
189.
▲
by
dmit
7y ago
Wow. They say that policies are organizational scar tissue. I'd love to see the blow that inflicted this particular wound.
190.
▲
Strings in WebAssembly
(medium.com)
1 points
by
dmit
7y ago
|
0 comments
191.
▲
Flow Fields
(tylerxhobbs.com)
99 points
by
dmit
7y ago
|
7 comments
192.
▲
Reflections on Software Performance
(blog.nelhage.com)
3 points
by
dmit
7y ago
|
0 comments
193.
▲
by
dmit
7y ago
It's always been baffling to me that certain problem domains with extremely slow feedback loops have standardized on using dynamically typed languages. Machine learning and Python. Video game scripting and Lua. A lot of scientific prog
194.
▲
by
dmit
7y ago
In a similar vein: Cheating Hangman, once described as "an app that perfectly recreates the infuriating feeling of playing hangman with your older sibling who was definitely cheating and also knew way more words than you". http
195.
▲
by
dmit
7y ago
Kotlin is not the future of anything. They got the Android boost and still, two years later, all they have to offer is a molasses-slow improvement pace and a shitty dev experience in their signature IDE (which also happens to be made by the
196.
▲
by
dmit
7y ago
I think it's mostly a usability tradeoff. If you can use the same data type for calendar appointments and high-precision performance logging, then you save your users the necessity of choosing between different types. Bonus points for
197.
▲
by
dmit
7y ago
If by BigInt you mean an arbitrary-precision integer type, then AFAIK no major language uses it to represent dates. If you mean a 64-bit integer type (which, to be fair, is 11 bits larger than what JavaScript supports), then that's sti
198.
▲
by
dmit
7y ago
Over-under on when the first "ML-based approach to parsing JSON" story hits HN: 1.5 years from now.
199.
▲
by
dmit
7y ago
Interestingly, I recently encountered an issue in the wild where these two recursion limits are both prominently involved. Yew, the Wasm web framework, provides an html! macro that allows you to write templates that look like HTML within yo
200.
▲
by
dmit
7y ago
Flat. Which apparently raised some very important questions: https://twitter.com/BioGridGame/status/1101496659102650369
201.
▲
Biogrid’s GPU-accelerated world simulation
(medium.com)
129 points
by
dmit
7y ago
|
8 comments
202.
▲
by
dmit
7y ago
Alternatively, you could have C/C++ as a third, discrete category somewhere in the middle of the C <---> C++ spectrum. For people who like namespaces, or overloading arithmetic operators for mathy vector/matrix/etc stuf
203.
▲
by
dmit
7y ago
Much easier to paint a bike shed on Mars than over here.
204.
▲
by
dmit
7y ago
Previously: https://news.ycombinator.com/item?id=12071240
205.
▲
by
dmit
7y ago
Interesting analogy. Only after reading this comment did I realize that my mental model has been somewhat similar. Although if I had to write it down, I'd phrase it in terms of data structures. If you have a sparse matrix of nouns and
206.
▲
by
dmit
7y ago
I think we're basically in agreement that it's a great shame when important information is not reaching the audience it deserves because of how it's presented. It's a neat parallel to the other thread in this topic about
207.
▲
by
dmit
7y ago
Oh yes, absolutely. My answer seems dismissive because I mostly follow the NBA, but in fact the relationship between the number of games, ticket prices, and factors affecting attendance is a fascinating topic.
208.
▲
by
dmit
7y ago
11 out of 30 NBA teams had 100% home game attendance last season. 18 teams were above 95%. There's not that much margin for improvement there. http://www.espn.com/nba/attendance/_/year/2019/sort
209.
▲
by
dmit
7y ago
Their loss.
210.
▲
A Summer of Runtime Performance (Glasgow Haskell Compiler)
(well-typed.com)
4 points
by
dmit
7y ago
|
0 comments
More ›