Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
gregmac
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
55 ms
·
511.
▲
by
gregmac
5y ago
I didn't realize there were multiple now! We use "PlantUML for Confluence" [1] now but have had that for a few years. The live preview thing some of the others seem to have would be nice. [1] https://marketplace.at
512.
▲
by
gregmac
5y ago
Plantuml plugin within Confluence is pretty nice for documentation, and arguably a super-power because it makes it easier to make good docs ("a picture is worth a thousand words"). The source shows up in edit mode (no external app
513.
▲
by
gregmac
5y ago
It's interesting to look at the age breakdown [1], though. Less than 50% of respondents under 50 have cable. How much of the older population does, just out of inertia and being used to it? There's a generation growing up now with
514.
▲
by
gregmac
5y ago
I've done this in a codebase as well, and it worked quite well. The "main" code was always updated to be the latest stuff, and the old methods were moved to a class named like `WhateverApi_v1_0` (based on the last version it
515.
▲
by
gregmac
5y ago
I'm a bit amazed these "live TV" style services even still exist and people use them. It kind of makes sense for specifically live content -- sports, mainly -- but these are basically 1980's style cable TV delivered &quo
516.
▲
by
gregmac
5y ago
I did the same, but based on the code style we used, more like `Dim foo = True` vs `var foo = true;` Honestly, because of how much VisualStudio auto-completes code, the biggest practical difference that cause me grief was semi-colons: spend
517.
▲
by
gregmac
5y ago
I'd just like to have a webcam with a large aperture and nice bokeh, but it seems the only way is a complex setup with a DSLR, capture card, and associated mess of cables and mounting brackets.
518.
▲
by
gregmac
5y ago
I was working at a company that was acquired a few years ago, and part of the deal was them doing a source-level audit of code, mainly looking at licenses and open-source. They used some software which could detect copy-pasted source code,
519.
▲
by
gregmac
5y ago
I have got the "you can't upvote your own answer" warning several times over the past decade. It's a wierd mix of delight and embarrassment.
520.
▲
by
gregmac
5y ago
Writing passwords down on paper is literally the primary reason password rotation isn't recommended anymore. If something got a look inside your book, everything is compromised. At least by changing to another random gibberish password
521.
▲
by
gregmac
5y ago
> a dictionary word followed by the number 23. Eventually the password failed, and he gave me his new password: that same dictionary word followed by a 24. In a similar vein, over the past few years whenever I've got in a discussion
522.
▲
by
gregmac
5y ago
Curious: Do you do regular video calls? Do you ever discuss anything aside from work? Even during a "work" discussion, do people make jokes, laugh, etc? Do you have chat (slack) channels, and are they active? Does anyone ever spon
523.
▲
by
gregmac
6y ago
> * Be humble and be willing to admit what you don't know. It takes confidence to do this, but it is infinitely better than giving a bad or bullshit answer. No one knows everything, and there's no shame in that. > * If you f
524.
▲
by
gregmac
6y ago
> The risk comes from debris from a possible collision being ejected into a higher orbit. Is that a thing that can happen? My intuition is it would be possible if a rocket currently boosting to a higher orbit were to collide with somethi
525.
▲
by
gregmac
6y ago
Last week I finally upgraded my home setup to two 27" 2560×1440 displays which are 16:9. I had two 1920×1080 before that, while at work I have two 1920×1200 (16:10), not that I've seen those in a year. I'm only a week in, but
526.
▲
by
gregmac
6y ago
So.. how is source control done then? Centralized/lock-based (subversion)? Everyone works off the same shared NFS drive? Manually copy "changed" files from multiple people over top of each other and hope for the best?
527.
▲
by
gregmac
6y ago
> If you compute the full desired state every few minutes it can be quite expensive depending on how/what/why you are doing it. Definitely! And on top of that, you probably want to apply some business logic to what you're
528.
▲
by
gregmac
6y ago
I have worked on lots of software that involves event-driven actions, and apply this concept throughout. "Need to send a notification email when x condition becomes true". Naive way: during processing, check the condition and call
529.
▲
by
gregmac
6y ago
100% agree with everything you said. So many people use gatekeeping around using CLI, it's crazy frustrating. Use what you're efficient at for the job at hand. To expand on your example: for a lot of readers of HN, moving all JPGs
530.
▲
by
gregmac
6y ago
> cli is available everywhere I guess that's part of what I was getting at though. Where are you doing your development that isn't your workstation? I work on a whole bunch of different things -- from personal stuff running on
531.
▲
by
gregmac
6y ago
> My practical advice: If you use git every day and you don't know how to rebase, reset, cherrypick, and stash from the command line, make it a goal. Then, once you're comfortable, learn how to do it in a visual tool like Gitkr
532.
▲
by
gregmac
6y ago
One of the things that really bugs me with comparing to the flu is it turns out we could have prevented many deaths, but didn't. We just accepted the number of people dying from influenza as status-quo. We now know we can actually do a
533.
▲
by
gregmac
6y ago
There's good and bad apps, like most platforms, and it is comparable to PHP from that perspective. Having worked extensively in both, I'd say the general problem with PHP is it's really easy for a beginner to get started, and
534.
▲
by
gregmac
6y ago
> I believe there is a middle ground: focusing on mechanism, but providing a sane default policy that lets the user get stuff done fast and change things later if they need to. I agree with this. I see parallels to a lot of frameworks, l
535.
▲
by
gregmac
6y ago
I've also had an S8 for the past 2-3 years. I remapped Bixby button (home button, or double click+hold for flashlight, even when locked). I also use almost none of the Samsung apps. I use Novalauncher which is better than any other lau
536.
▲
by
gregmac
6y ago
Are there immediate actions people should be taking at this point? A lot of password reset flows work via username + SMS using "we've sent a code to your phone number (xxx) xxx-xx12". This database unmasks that phone number,
537.
▲
by
gregmac
6y ago
It's akin to sorting an incoming set of something like Lego, where you never know what's coming next. Do you need a bin for "red"? Or a bin for "2x4"? Or will there be enough for "2x4 red"? Should thi
538.
▲
by
gregmac
6y ago
For many use cases, yeah, PXE is great. Classrooms/labs, digital signage, or anywhere you need distributed I/O, it makes total sense. The biggest downside is your PXE server going down is going to kill all the Pis, so if you are d
539.
▲
by
gregmac
6y ago
Oh, definitely a good example, I'm embarrassed I forgot that! I was part of the core FreePBX development team for a few years (before RasPBX was a thing), and eventually moved my home PBX setup to a Pi 1 running RasPBX, which I used fo
540.
▲
by
gregmac
6y ago
The Ubiquiti controller is not needed for general operation, unless you're using a guest hotspot. Otherwise if it's offline you just lose ability to do configuration and it's data/stats logging.
More ›