Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
repsilat
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
71 ms
·
691.
▲
by
repsilat
8y ago
Funny, I bet more people know how to raytrace a sphere in software than know how to rasterise a polygon these days. Neither is terribly hard (or terribly useful, to the average dev.)
692.
▲
by
repsilat
8y ago
> ...this aura that defines it as something more valuable than merely coding..." In purely financial terms, Nadella probably did more for Microsoft's stock price than any one person "in the trenches" could have. Busi
693.
▲
by
repsilat
8y ago
Predictable or flat/consistent? If my load is negligible in US weekends and outside of business hours, that's a factor of 2 or 3 you can theoretically save over baseline=peak with some "cloud on demand" service. It'
694.
▲
by
repsilat
8y ago
That's true for a lot of rural roads. Not so much for parking lots, four-way intersections, roundabouts etc. And in many cases the road camber is suboptimal (or goes the wrong way...)
695.
▲
by
repsilat
8y ago
One of the demos showed the car "staying level" as it swerved aggressively. I wonder -- might it be reasonable to have it overcompensate? If a car could "lean into" a curve like a motorbike, it could help driver comfort
696.
▲
by
repsilat
8y ago
> The idea has it's roots in Aristotelian philosophy Animals understand "the empirical method". Experimentation, pattern inference, cause and effect... Aristotle may have described it, but like most of the rest of the in
697.
▲
by
repsilat
8y ago
> I have a hard time believing that these cartographic mistakes are the reason for China's posture in the South China Sea. Sure, these aren't China's motivation, but they are China's argument for the legitimacy of t
698.
▲
by
repsilat
8y ago
The court wasn't backed into a corner. If it wasn't a breach of fiduciary duty the case would have been won by the Newmark -- they can't just say, "They did something wrong so we have to punish them somehow, and you only
699.
▲
by
repsilat
8y ago
> There's really multiple definitions of "functional" right now > ... >> ...monads... There are also a couple of definitions of "monad" going around -- in array languages (J, APL, Q) a "monad&qu
700.
▲
by
repsilat
8y ago
I think `tar` is a great analogy for date formatting -- "Here is a few examples, one of which is probably what you want." `tar cvzf archive_to_write.tar.gz dirname` `tar xvf archive_to_unpack.tar` Cf "%Y-%m-%d %H:%M:%S"
701.
▲
by
repsilat
8y ago
If they cared about climate change they would have put tariffs on CO_2 emitting electricity generators. Then q combination of things would happen: 1. Industrial-scale renewable generation would become more competitive and a larger fraction
702.
▲
by
repsilat
9y ago
In fact, depending on whether the delegated methods depend on (protected) super-class state, this is probably better served with composition than inheritance.
703.
▲
by
repsilat
9y ago
> `results = [b for b in input_data...` Did you mean `[b for a in...`?
704.
▲
by
repsilat
9y ago
The article mentions "ethical implications" a few times, but doesn't really hint at anything potentially negative. Obviously the potential to save or prolong lives is an enormous potential benefit, and any negative consequenc
705.
▲
by
repsilat
9y ago
Mostly I think this is a mix of (1) "good advice for dealing with junior devs" and (2) "good advice for dealing with people new to a technology." For #1 don't hurt their feelings, for #2 teach them instead of expect
706.
▲
by
repsilat
9y ago
Right -- the control flow allowed is basically the simplest thing that will allow you to make a C-like language in a relatively efficient way. It isn't aimed at any particular compiler, it's aimed at supporting some semantics. Pro
707.
▲
by
repsilat
9y ago
Mostly I'm annoyed because I wanted to try out a bunch of x86 assembly tricks to implement coroutines, and I wanted to try making a language that would spit out and execute its own machine code to do C++ templates at runtime. Those sor
708.
▲
by
repsilat
9y ago
Late reply, sorry, and an old third-hand source: http://www.politifact.com/truth-o-meter/statements/2013/oct/... I figure "it can't hurt, there is a significant market failure, and price transp
709.
▲
by
repsilat
9y ago
Kinda annoying, but not surprising. VMs and bytecode formats make simplifying assumptions based on the languages they expect to be hosted on top of them, and that usually means "Something with control flow like C." Creative uses o
710.
▲
by
repsilat
9y ago
Emergency room costs are less than 10% of the total in the US. A popular, credible figure is 2%. In any case it's less than 100%. And even if it were 100%, wouldn't transparency provide substantial, concrete benefits? Really, I&#x
711.
▲
by
repsilat
9y ago
> JSON is extremely difficult to parse correctly ... in Bourne shell or in AWK. Sorry for the misquote, but does it get to the heart of your objection? I'm torn here. On the one hand I want to say "Those are not languages one t
712.
▲
by
repsilat
9y ago
> Accepting invalid or ambiguous or undefined JSON is not an acceptable behavior Just to make it explicit (and without inserting any personal judgement into the conversation myself): JSON parsers should reject things like trailing commas
713.
▲
by
repsilat
9y ago
Hmm, I don't quite understand, sorry. As far as I can tell, the code in TFA takes the pipe output up to one second and then kills the student code if it hasn't exited by itself. That's what my examples do too. (Happy to be co
714.
▲
by
repsilat
9y ago
Sounds like a job for bash... timeout 1 program < in > student_out diff student_out real_out Or something? Edit: I don't know how standard `timeout` is, but I guess you could also do something like program <
715.
▲
by
repsilat
9y ago
> []() are something you'll see people consistently reverse. Yeah, I've seen this. To help people remember (not ideal, but useful) is the phrase "Robot brackets for human text, human brackets for robot text." No ide
716.
▲
by
repsilat
9y ago
> novice users Non-programmers, really. Most people who write in Paper see the markdown as a shortcut, not the underlying truth. This sort of interface for Reddit comments would lower the barrier to entry fairly substantially. Leaving
717.
▲
by
repsilat
9y ago
Yeah, exactly. This works pretty well with location tracking -- few people request it, you can deny the request, and things almost always work fine when you do. (I've had one site lock me out for blocking location data, and some things
718.
▲
by
repsilat
9y ago
You take funding because you think it'll increase your personal rate of wealth increase. Loans are the simplest to understand -- it's leverage. If you think you can double your money in a few years with a business plan, and that o
719.
▲
by
repsilat
9y ago
Can a malicious actor put PII (or copyrighted/otherwise illegal works) onto a blockchain to "kill" it?
720.
▲
by
repsilat
9y ago
Reddit.com/r/friends/comments is pretty good. I have a good little group of consistently insightful people I follow, and while the posts are mostly replies to other people (and not really "microblog content"), it&#x
More ›