HNHacker News
TopNewBestAskShowJobs

emeraldd

2,041 karma · joined April 2, 2011

submissionscomments
emeraldd··on Primel – guess a 5 digit prime number – each guess must be a prime
Ok, so once you've won how do you start a new game?
emeraldd··on How the KGB Caught America's 'Volkswagen Spy'
I wonder if this was partly an inspiration for https://montypython.fandom.com/wiki/The_Cycling_Tour The strange/innocuous notes mentioned reminded me of some of the dialog. It probably is completely unrelated though though the Monty Python sketch does seem to have happened much later.
emeraldd··on Running IntelliJ Idea with JDK 17 for Better Render Performance with Metal
There are a few languages I won't touch without an IDE: Java and C#. For Java I use IntelliJ and I don't write C# at all anymore. Otherwise, I use Vim. VSCode is a complete non-starter for me. I glanced at it a long while back and quickly concluded it wasn't going to give me an editor experience I would enjoy. In particular around "windows" to view files/sections of a file. Something that IntelliJ also doesn't do a good job of, but it does provide a huge advantage for Java code.
emeraldd··on Someone attached an AirTag to my car while I was in a bar
Reading that, it sounds like a situation to call/drive to/or otherwise get the attention of the police. Attaching a tracking device to your vehicle is a significant indication of malicious intent. It's a potentially life threatening situation and should be treated as such.
emeraldd··on Show HN: We open sourced our new Mac developer setup script
I've actually done this before with Ansible, but it still required a bootstrapping script. Basically it installs homebrew, then Ansbile, asks a few setup questions, clones a git repo with the rest of the setup process, and then kicks off the Ansible script. The dev environment has a lot of legacy stuff in it and has been grown over years so it's difficult to break it down into simpler pieces. It works surprisingly well in comparison to trying to do things manually or the old mixed manual/pure shell script approach.

That said, it's also surprisingly finicky. The scripts have to be regularly maintained or things keep changing out from under you and causing problems. Especially if you need to support more than one platform (i.e. macOs and a Linux say...).

emeraldd··on But what about the bus factor?
I'm confused, the parent comment made me laugh while I was drinking a chai latte from https://summermooncoffee.com/pages/standard-menu-summer-moon... made with their moon milk and a shot of espresso ... I'm not sure what people find offensive/bad about that?
emeraldd··on But what about the bus factor?
This almost had my monitor plastered with dirty moon chai. :)
emeraldd··on Ideal Monitor Rotation for Programmers
I'd lose a lot of productivity in without the external monitor. I can work without the extra, visible space, but I'll start losing things or having to bounce back and forth between virtual desktops/spaces/etc. A whole lot more. It just slows me down enough to be painful if I have to do anything beyond toy/trivial work.
emeraldd··on Is it stealing to read by the light of your neighbour’s lamp?
This reminds me of a story I read growing up. I can't find the reference now, though I'm pretty sure I read it in an old copy of "1000 and 1 Arabian Nights".

The way it went, there was a poor man who lived above a restaurant who subsisted primarily on rice. He discovered that by eating by his open window, the smells drifting up from the food cooking below would add flavor to his meager meals. When the restaurant owner discovered this, he became angry and demanded payment from the poor man who naturally refused. The restaurant owner pulled the poor man before a local magistrate demanding that the magistrate force the man to pay. After thinking for a while, the magistrate asked if the poor man had any money, which he did. The magistrate then directs the poor man to jingle the money and said that the payment for the smell of the restaurant owner's food was the sound of money.

I can't retell it nearly as well as the original, which is probably online somewhere but not anywhere I know about ... :(

emeraldd··on PHP is worth learning and using
I've never regretted the time I took to learn PHP. No matter how bad the language may seem, it paid my bills for a long while. It's one those tools that to keep in your back pocket until you need. Keep in mind what it's good for and what it doesn't do so well.

That said, php's online documentation is one of my "gold standards" for what good language documentation should provide. (At least it was the last time I had to reference it.)

emeraldd··on Channel Demonetization – The Saga Begins
It's a small channel with over a thousand narrations. Still, not being able to tell him how his content break the rules is pretty nasty.
emeraldd··on Security issue related to the NPM registry
This feels like it should have wider ranging notice than it has ...
emeraldd··on If You Have Writer's Block, Maybe You Should Stop Lying
Good Customer service is very contextual. A bank teller line or a counter where you order fast food should be fast, efficient, while attempting to be rude and uncaring. But, you'd want your doctor to be at least personable and a waitress at a full sit down restaurant needs to be able to converse with diners.

Service also needs to be cognizant of overall "load" on the environment. It might be ok to chat when there's no one else around, but not when ten people are waiting. It's a bit of a balancing act and so few people providing service really understand it.

emeraldd··on I just want to run this one Python script
Another point here is that python is still commonly a python 2.7 on a lot of deployed systems. It's going to be years before it's safe to assume that python is anything else...

(Ubuntu LTSs and macOs are an example ...)

emeraldd··on Polyglot programming and the benefits of mastering several languages
I've found the opposite to be true. Knowing how I would solve a problem in more than one language has made a number of things easier over the years. Heck, if you look at Symfony's (a php framework) Validation API https://symfony.com/doc/current/validation.html they are implementing a Java JSR ( https://jcp.org/en/jsr/detail?id=303 ) using PHP constructs.

Ideas can cross pollinate between languages, but not everything translates well.

emeraldd··on Facts every web dev should know before they burn out and turn to painting
Am I the only person who thought this list was going to be about painting?
emeraldd··on 2450MHz radiation induces stress and anxiety like behavior in rats (2019)
Directional antennas come in different forms each with slightly different characteristics sonit's very hard to say. Your also talking about a lot less mass in a mouse than in a human head. With the wave guide at close enough range, you can assume a much higher percentage of the energy is hitting the mouse than say a yagi, but the specifics depend a lot on the design of the system.

To answer the other part of the question, you can think of a wave guide like a tuned pipe for rf to travel down. In alot of cases they are literally just empty tubes that are correctly tuned for the frequency fed into them.

emeraldd··on Atlassian fired me while I was taking care of my wife who is fighting cancer
I've worked with some large Jira installations and I don't remember ever running into 10s page loads without a broken VPN/internet connection. This sounds like a very very broken setup.
emeraldd··on Trademark Actions Against the PostgreSQL Community
Ok, what would you suggest in it's place?
emeraldd··on U.S. companies lash out at Texas law changes, including abortion ban
>Is a fetus a baby or not?

The question seems to be:

"When is a fetus considered a separate life?" or perhaps "When does a fetus become a baby?"

That's a lot harder to define than you might think. (At least that's the argument ...) Pro-life people tend to see a cut and dried answer to that, where Pro-Choice people tend see it as a bit more ambiguous.

emeraldd··on Vacation isn’t the answer to employee burnout
> Burnout is caused by working hard at something for a long time and not having it pay off.

You know, this might have something to do with why I gravitate towards doing "user" (really other devs since I tend to work on internal tools more than outside facing products) support type stuff. Devs trying to figure out why something isn't working are usually grateful when someone can help them get things working so they can do their job.

emeraldd··on Operations is not Developer IT
> Part of that was requiring that I come to them with identified problems. "Hey I'm getting this error, can you take a look at a stack trace in a language you've never used and tell me what's wrong?" would have gotten me booed/laughed out of the office, and for good reason.

This a thousand times over ... If you can train your users to do this any customer relationship will be better off!

emeraldd··on Chicken Scheme
small note, I think it's R#RS ...
emeraldd··on My MacBook Pro had over 10k USD in repairs
My experience with Dell laptops seems to match up with your experience on the MBP. If something is going to fail, it will usually fail immediately or last the "lifetime" of the device. Batteries being the main exception as those age out fast ..
emeraldd··on I had to give a wrong answer to get the job (2017)
I think there's a slight confusion here. An opinion should be stated as an opinion and not treated as or claimed to be a fact. If the point in question is stated as an opinion then fine and I'd agree with you. On the other hand, saying that an opinion is the factually one true way is a big red flag on either side.

Otherwise, I'd agree with your stance completely.

emeraldd··on I had to give a wrong answer to get the job (2017)
It get's tricky with ambiguous subjects. If there is a concrete correct answer then yes, give that stick to your guns. If there isn't and the issue comes down to opinion and interpretation ... things get dicy ...
emeraldd··on I had to give a wrong answer to get the job (2017)
MVC is such an overloaded term ... I don't think I've seen behavioral equivalence between any two implementations/frameworks in any language I've dealt with. As always, the devil is in the details. So going much further than "the model deals with data (either connected or unconnected), the controller usually deals with behavior, and the view usually deals with presentation" it's really hard to talk about MVC in general without some tighter constraints. For instance, are you models POJOs? Are they tied to the DB directly (i.e. something like ActiveRecord)? Do they process/send events (i.e. something like a model in Swing)? Etc ...

It get's complicated fast if you want to discuss more than very abstract generalities.

emeraldd··on Positive Energy Warp Drive from Hidden Geometric Structures
IANAPhyicist but if I understand what’s being said correctly the amount of energy necessary to create the warp bubble in the first place, would require converting something roughly the mass of Jupiter. So you’d twice that to “come back”. It sounds much more like surfing a wave that something that get’s turned on or off.
emeraldd··on Stop mocking your system
> QA says: “it doesn’t work”. Dev says: “it must be working, all the tests pass”.

Yup, the very next question here should be: Show me the failing/in correct behavior.

This means: * There's a case the automated tests don't cover. * There's a misunderstood requirement on the QA or Dev side. * There's a broken machine or configuration in a deployment.

emeraldd··on Ask HN: I was hit with a patent troll lawsuit, how do I deal with it?
Is the a rehash of the NeoMedia patent issue? Look up Michaels qr code patent lawsuit ...
← PreviousPage 4 of 20Next →