Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nnq
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
19 ms
·
121.
▲
by
nnq
7y ago
THIS! Drop the "slightly"... I can't understand how people focus so much on the competition cheating, and so less on "wait, wtf are they doing here"... I mean, even if they are not deciding whether to euthanize or n
122.
▲
by
nnq
7y ago
...why not use a managed db, eg. AWS RDS from the get-go?
123.
▲
by
nnq
7y ago
> As a back of the envelope calculation, take the compiled binary and tarball it. That's the smallest you should consider even possible This is 100% wrong in practice! Binaries are almost always larger than the source code they ar
124.
▲
by
nnq
7y ago
> Doctors? It seems true... Not at all. Having jumped from the medical field to software, I can tell you that medicine is its own uniquely hellish world full of nasty tensions nobody talks about in honest terms and wicked problems that
125.
▲
by
nnq
7y ago
Ownership & reward work 10x better than responsibility & punishment if you manage to make people truly internalize them.
126.
▲
by
nnq
7y ago
> Thinking about the fact that people like this are out there makes me paranoid about my hiring all over again. To be honest, I was 100% trolling or troll-baiting "for the lulz" - I wouldn't actually ever apply my "ad
127.
▲
by
nnq
7y ago
Unpopular advice: find a subtle way to make it crash, preferably stealthy, but if not possible, at least in a way that can be attributable to mild innocent incompetence instead of malice! Then there will be more and more interesting work
128.
▲
by
nnq
7y ago
Maybe because we've chosen such rigid, inexpressive and DSL-hostile programming languages for devops... I mean, Python, Go... ofc you'd rather write your DSL in YAML instead and forego any checking the language might provide since
129.
▲
by
nnq
7y ago
It's 2020... that's like the minimum you need to even hope people will read past the article title. Attentions gets scarcer, so quasi-offensiveness and assumptiveness have become kind of required to catch even a drop of it.
130.
▲
by
nnq
7y ago
Society gets what society pays for: people don't like creative engineers because they don't always solve the problem you want them to solve (they might discover a more important/interesting one and jump to that instead; or ma
131.
▲
by
nnq
7y ago
Just use a bool parameter `inplace` (or a reference `out`), defaulting to false, but passing it as true for the "hot path" code that needs in-place modification. You get performance, non-duplicated code, and an API style that data
132.
▲
by
nnq
7y ago
Better pattern is to follow the style of Numpy or Pandas and other libs (that OP also mentioned, but then failed to apply it in his own examples), letting the caller/user of your functions choose, if/when they want better perform
133.
▲
by
nnq
7y ago
Does it have (1) a RELP, (2) jupyter support and/or smth like it, (3) interpreted mode or a compiler fast enough that I can pretend it does not exist? Without these it might be a a powerful tool, but it wouldn't be in the same nic
134.
▲
by
nnq
7y ago
> It’s not just culture - Python’s object model is so complex that it would be hard to get right Exactly! Python is flexible too... using module import hooks and AST transformations you can even implement common-lisp-style-macros... but
135.
▲
by
nnq
7y ago
- `if value in my_map` is a one off special case - ugly, nasty, hard to figure out how to extend it (what if I invented my_map to have special logic for `in` ...I need to search the docs for a magic method called for that operator ...if I e
136.
▲
by
nnq
7y ago
> sweeping all of the details too deeply under the carpet Ever worked with numpy, scipy, pandas etc. in Python? It's ALL about what you call "sweeping the details under the carpet", or what is generally called abstraction
137.
▲
by
nnq
7y ago
...semi off-topic, but man, how I wish Ruby had won the hearts of data-science and machine-learning practitioners instead of Python or R! It looks like such a wonderful and extensible and programmer friendly language compared to all the o
138.
▲
by
nnq
7y ago
...except that people tend to use there words with reversed meanings too :| If a programmer wants to sound fancies he/she uses the term "software engineer". Also, separating "building" from "maintaining"
139.
▲
by
nnq
7y ago
Heh, sorry, I've been to harsh with the comment I guess... it's probably just me personally being "highly allergic" to this particular toony-style. I think it sort of falls in some "uncanny valley" of design, b
140.
▲
by
nnq
7y ago
The graphic style - oh, my eyes!!! Please team up with a designer, or with a different designer! ...I don't mean the quality, it's understandable resources are constrained. I mean the actual artistic decisions ... it burns your
141.
▲
by
nnq
7y ago
then sharing what helped me a lot: (1) forcing yourself to do physical exercise: running + gym + ~ twice a month mountain hiking works for me, (2) drop ALL refined sugars (caffeine and other stuff can stay, even some alcohol, but NO SUGAR
142.
▲
by
nnq
7y ago
Not sure if it generalizes. And if it does, not sure if it does do all ADDs: I'm ADHD without the Hyperactive component, subclinical, ADD or (ADHD-PI or Inattentive-ADHD more precisely). Or with the H component purely mental/inter
143.
▲
by
nnq
7y ago
> stop working whenever it got dark out Also, this might be a good urge - just stop working and stop trying to use light to squeeze every ounce of productivity from yourself until you burn out!
144.
▲
by
nnq
7y ago
> Instead of having a strong urge to stop working whenever it got dark out Lots of us have the opposite urge! My theory is that darkness induces a combination of mild-depression and subliminal sort-of-pleasant fear that HELPS us AD
145.
▲
by
nnq
7y ago
> modern languages compatible with big ecosystems like typescript or kotlin ...if you do anything towards ML or datascience, typescript and kotlin are the poor relatives. For most tasks 90% of the ecosystem is useless to you and you ca
146.
▲
by
nnq
7y ago
There are only 2 languages with really good Python interop (you could call it "as close as possible to 100%" since there is no such thing as "100% interop" except across languages sharing same VM like on the JVM Java &
147.
▲
by
nnq
7y ago
Our minds work very differently... if you're good at producing results and enjoy what you're doing keep doing it :) Some of us do most work in stretches of "flow" that involves disconnecting our minds form the outside wo
148.
▲
by
nnq
7y ago
There was a wise thing along the lines of "to build a simpler system, start with more powerful (and complex, by necessity) building blocks"... I think it was Alan Kay who said this or something very similar. Worst thing is that &q
149.
▲
by
nnq
7y ago
...Word doesn't at the same time allow markdown input and autoformats it impredictibly! If you know how bad Word is (or was, haven't touched it in a while), imagine how bad a Word version with multimodal input would be!
150.
▲
by
nnq
7y ago
...problem is combining WYSIWIG with Markdown: that can't ever work well, you need a small toggle to let users choose toggle/choose between WYSIWIG (default) and Markdown, and have it remember the last setting the user used.
More ›