Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jimsmart
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
28 ms
·
241.
▲
by
jimsmart
6y ago
- Ginkgo and Gomega for tests, though sometimes just stdlib on smaller projects. I like Gomega very much, great matchers, lots of useful helpers. - Manual DI, passing in values and objects. We've hand mocked a handful of components: ju
242.
▲
by
jimsmart
7y ago
Some of the features from Wave also made it into Google Docs, albeit somewhat evolved. (Specifically here, I'm talking about the algorithm for handling collaborative edits)
243.
▲
by
jimsmart
7y ago
> A VM in running state could be transitioned to terminated or stopped or hibernating depending on an admins action. Actually, that doesn't necessarily need concurrency, I misread your question. Yes, in a state machine, each state c
244.
▲
by
jimsmart
7y ago
Harel's Statecharts (an evolution of state machines) have concurrent states (with branch/fork and merge/wait), which would be one way of solving what you describe. I believe Harel may have borrowed concurrent (aka orthogonal)
245.
▲
by
jimsmart
7y ago
> They want every codemonkey to be easily replaceable. Most folk/bosses who are risk averse actually want their codemonkeys to be easily replaceable (although admittedly, they might not realise it!). Nobody likes/wants a system
246.
▲
by
jimsmart
7y ago
The primary discussion thread on this now seems to be here. HTH. https://news.ycombinator.com/item?id=22502131
247.
▲
by
jimsmart
7y ago
Yes, but they're benchmarking those 2x $4k CPUs (which you're complaining about) against a v100 GPU, which costs $7-11k — so where's the problem here? It's not like they're comparing their $8k/worth of CPU agai
248.
▲
by
jimsmart
7y ago
FWIW: Java was originally released in 1996, it had no generics, and didn't gain them until 2004 - 8 years after the language's creation. Was Java "total trash" before 2004? Not really, it was still useful in lots of use
249.
▲
by
jimsmart
7y ago
Take care, you may be wrapping your connection pool around a built-in connection pool. Furthermore, some dbs might not like log-lived connections. http://go-database-sql.org/connection-pool.html
250.
▲
by
jimsmart
7y ago
> visor mode: I always have a fullscreen terminal one keypress away Last time I tried this (which, admittedly was sometime back), I found that this was ugly as heck if one has multiple screens and them set to be above one another-ish (e.
251.
▲
by
jimsmart
7y ago
I don't think many crawlers will be downloading fonts though?
252.
▲
by
jimsmart
7y ago
Short answer: Adobe (and their Photoshop) is pretty much the reason Fireworks never got better traction. Longer answer: Fireworks was originally a Macromedia product. Back when it was released, from what I recall, it was in fact getting som
253.
▲
by
jimsmart
7y ago
Whatever they’re doing, it’s still “third-party” enough that it won’t work with mobile Safari (or perhaps Safari’s default settings).
254.
▲
by
jimsmart
7y ago
As the old adage goes: the S in IOT stands for security. ;)
255.
▲
by
jimsmart
7y ago
Intel Power Gadget might also prove handy here (assuming it runs on the newer MBPs?) - it charts some useful power/performance related stats, including temp/power/speed, making it clear to see when/if the system is throt
256.
▲
by
jimsmart
7y ago
I have one of these, and it is a great piece of kit - but it is not a USB hub of any kind: it only provides power.
257.
▲
by
jimsmart
7y ago
The 6510 is what’s in the C64 - PHX and PHY definitely aren’t supported there (source: I was programmer on multiple published games, back in the day). The NES is similar family too, and doesn’t have those opcodes - but the Atari Lynx has th
258.
▲
by
jimsmart
7y ago
An appropriate article for Medium.com! ;)
259.
▲
by
jimsmart
7y ago
> Nobody could really answer that. Sounds like it was dismissed without evaluation, your comments seem to support this, you seem to think it offers little or nothing over Go’s standard bare-bones testing. Ginkgo doesn’t re-invent the whe
260.
▲
by
jimsmart
7y ago
I am using a Github repo, linked to Travis CI - Travis can do cron/scheduled builds (daily works for me). On build failure, including if any of the tests fail, I receive notification. Some of my tests use mocks, others hit live remote&
261.
▲
by
jimsmart
7y ago
I think it could be a good idea to submit a summary of your thoughts, with a link back to your article, as an issue on the Go issue tracker. And/or perhaps to the Go Nuts mailing list. (If you haven't done these things already?)
262.
▲
by
jimsmart
7y ago
Let's say I want to build a cross-platform app. I could use Electron (it's somewhat of a known quantity), or I could start doing some research into what else is available, and then evaluate the various offerings - not only to ensu
263.
▲
by
jimsmart
7y ago
Related: Martin Hilpert has an excellent lecture/video on metaphor, as part of his Cognitive Linguistics course. Well worth a watch if this is a topic that interests you. https://www.youtube.com/watch?v=R0BYLpwSM6E
264.
▲
by
jimsmart
7y ago
I've had good success using Postgres' built-in CSV import/export command (COPY) in the past — depends on one's workflow, obviously! https://www.postgresql.org/docs/12/sql-copy.html
265.
▲
by
jimsmart
7y ago
Article is dated 2016
266.
▲
by
jimsmart
7y ago
> they should be capable of leveraging powerful programming language features to massively increase developer productivity, right? Here you are claiming that leveraging powerful language features can massively increase developer producti
267.
▲
by
jimsmart
7y ago
The main link has some junk on the end that is causing a 404, the corrected link is: https://www.nytimes.com/2009/09/13/magazine/13contagion-t.ht... HTH
268.
▲
by
jimsmart
7y ago
> To do this for 1.5M users only when Facebook's user-base runs into billions Well, put like that, it sounds just like they did it as a planned A/B test strategy (like they do to trial other features) — and, personally, I belie
269.
▲
by
jimsmart
7y ago
> in this case Facebook specifically mentioned that it didn't turn off the feature though it intended to What you are describing here is in fact a lack of action, or a lack of change policy (to cause such action). That's not a
270.
▲
by
jimsmart
7y ago
Years ago I studied clowning under Didier Danthois. I agree: it's definitely a fascinating and under appreciated art.
More ›