Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
habitue
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
45 ms
·
541.
▲
by
habitue
6y ago
> but at least on par with typescript I wish this were true, but mypy is far behind typescript. For example, mypy has `Literal["foo"]`, but typescript has the ability to template literals like `"foo-${bar}"` etc, and
542.
▲
by
habitue
6y ago
Re macros: I think this is entirely a cultural thing. For example, in lisp, macros are used ubiquitously, and I think if anyone was going to criticize macros as a language feature it would be based on what they've seen in lisp (or C, b
543.
▲
by
habitue
6y ago
> there didn't use to be AIO for buffered filesystem IO Did they change libaio to work without O_DIRECT at some point? Or are you talking about io_uring for async file io?
544.
▲
by
habitue
6y ago
It's true we don't build planes like birds. But we understand how bird wings work, and we understand why we don't design planes like bird wings. We don't have the same kind of understanding of how brains learn, so the co
545.
▲
by
habitue
6y ago
> I luckily grew out of it There's always a lot of hand-wringing about what kids and teenagers spend their time doing, and I wonder if it's not just a natural process of your brain figuring out a system, going "oh I see&qu
546.
▲
by
habitue
6y ago
Markdown compiles to html, and if I had to guess, it's probably a superset of html? (Maybe, possibly not all html is valid markdown, I haven't checked) Assuming it's a superset though, the part I was talking about above was t
547.
▲
by
habitue
6y ago
Definitely your tooling is better incarnation of the idea, XSLT is kind of an abomination
548.
▲
by
habitue
6y ago
This is a really cool hack. > The JSON must contain only pure information without any concern about design or markup. Wellll.. I mean the json has markdown syntax in it. That's a lot nicer than html tags for markup, but it's st
549.
▲
by
habitue
6y ago
At least it wasn't an earwig
550.
▲
by
habitue
6y ago
I feel like even Richard Stallman would have had a hard time imagining non-free operating systems would result in this. Use linux folks! It doesn't communicate with a third party when a process starts up!
551.
▲
by
habitue
6y ago
> especially with newer developers My experience is junior and senior developers fall for this. > Often the original paradigm was chosen for a reason True, but the reason is often: - we didn't understand the problem domain as wel
552.
▲
by
habitue
6y ago
I liked this. I also like how the moral of the story wasn't "You're not an imposter, you had it in you the whole time and just needed confidence", but rather "Yeah, you're an imposter. But you're always go
553.
▲
by
habitue
6y ago
That's got to feel terrible. Hang in there
554.
▲
by
habitue
6y ago
Ah wow, that is interesting. I didn't know about tf.function, thank you for the correction
555.
▲
by
habitue
6y ago
The way the python interpreter works, there's no way for tensorflow to know you're using a for loop in order to optimize it. With method calls and operator overrides etc, tensorflow can hold off evaluating your graph, see what the
556.
▲
by
habitue
6y ago
Additionally when you make something easy, people do it more than they would if it were annoying and manual. You might imagine that if you had to hand roll everything you'd be more cognizant of how many copy/pastes you did.
557.
▲
by
habitue
6y ago
With only 37 adults, there probably wasn't enough power to say anything significant about gender
558.
▲
by
habitue
6y ago
> But once they've done it your junior devs will know how to write a config handling library This is true, but there are always so many things that need building. It's kind of like needing an end table, and either buying one fr
559.
▲
by
habitue
6y ago
This comes up all the time and I never understand this attitude. Yes: dependencies are bad. Not having dependencies and writing everything yourself: also bad. Honestly, you have to rely on heuristics in your deps. How active is the project?
560.
▲
by
habitue
6y ago
This is great. It's a perfect solution too, because it's not super long, but it's long enough that nobody is going to go into production without figuring out how to cache it
561.
▲
by
habitue
6y ago
This is not really an apt comparison because the commitment to a movie theater is pretty minimal. If you spend $1000 on a phone, you're stuck there for a while. Most of these issues don't become immediately obvious right when you
562.
▲
by
habitue
6y ago
The post ends with: > Pipeline problem, my ass. after spending exactly no words refuting pipeline issues. I'm left to conclude that the author feels the two explanations are mutually exclusive and that by giving an anecdote about on
563.
▲
by
habitue
6y ago
It is entirely possible for there to be a pipeline problem, and also for behavior like the one described in the post to bias recruiting. Two things can be true.
564.
▲
by
habitue
6y ago
Just from reading their page and being familiar with the formats you mentioned: vs. protobuf: ion is self describing, vs needing a schema vs. thrift: similar, thrift needs a schema to interpret a binary file both thrift and protobuf are rea
565.
▲
by
habitue
6y ago
The common thread is that they're frameworks which promise to be very general and be applicable everywhere, but which in practice "everyone does wrong". If no one can actually successfully use your framework the right way, ma
566.
▲
by
habitue
6y ago
The summary is "your company may not yet be worthy of OKRs". This kind of has the whiff of other religious movements in tech like REST and Agile: if it's not working for you, you just aren't doing it right. Try harder an
567.
▲
by
habitue
6y ago
yeah exactly. Apple might allow an app like this, but it's only because Youtube is not theirs.
568.
▲
by
habitue
6y ago
This article points out a really crucial thing: we talk about "chemical imbalances", and this language subtly implies we know what we're talking about when we really don't. It's scientific sounding language: it'
569.
▲
by
habitue
6y ago
Apple has made some very anti-competitive moves
570.
▲
by
habitue
6y ago
It sounds like no matter how much money is put into this, the sheer variety in how graphics are done on linux is going to make this a neverending task. Others have rightfully mentioned that the syncing animations with the trackpad is the bi
More ›