News for hackers. Stuff that matters.

goatcode

Move to a trailer park to get away from the city, and move into a junkier version of a city. Living the dream.
Re:Amazon disallows pointing out paid reviews on Friday December 18, 2020 @11:13AM (#25468464)
Hm, they may be rule lawyering, then... preferring certain sellers over others, and applying the rules in an inconsistent way to benefit favorites while squishing people they have something else against. All this is speculation on my part, of course, but wouldn't surprise me if accurate.

TIL Amazon comment regulation is apparently run by reddit mods.

Re:I prepared for a decade to graduate in CS in three months on Friday December 18, 2020 @10:41AM (#25468093)
I was initially skeptical, but this looks pretty solid after reading. The author seems to be an absolute beast though, so anyone diving into this should expect to focus and work hard / very consistently.
Re:Amazon disallows pointing out paid reviews on Thursday December 17, 2020 @03:49PM (#25460222)
"Amazon does not accept product reviews based on anything except the product" would be a more accurate title. There is another way to review sellers - perhaps this would be a better place for reviewing a seller.
Stop forcing us to pair program. We know there's some weird push to do it as its own thing, but it's killing us.
Re:Eat butterflies with me? on Thursday November 05, 2020 @11:22AM (#24999505)
I'm 12 years old and what is this?
Re:Confessions of a Grade-Inflating Professor on Wednesday November 04, 2020 @11:15AM (#24990326)
> In a perfect world, higher education would be free and open to everyone.

Be the change, Oliver. People would take you more seriously.

I thought it was the internet's 8 machine. Times do change.
Re:Ask HN: Best programmable robot for a child with SDK? on Thursday October 29, 2020 @11:03AM (#24931238)
Children with SDKs? Science has definitely gone too far.
LOTS of schools in the US use the Ramsey Education curriculum (https://www.ramseyeducation.com/). There are strong opinions on both sides when it comes to Ramsey, but they're well respected and sponsored by some pretty big players, to put their curriculum in schools.
Re:Ask HN: Writing unit test mocks vs. real dependencies? on Thursday October 22, 2020 @12:14PM (#24859638)
Only if bitonicSort is something that you'd written and would test elsewhere, or it reaches out to resources outside of the immediate software in which its used.
Re:Civil Liberties in Times of Crisis [pdf] on Thursday October 22, 2020 @10:21AM (#24858306)
> Does a nonpartisan, alternative organization exist?

If it does, it soon won't. The only permanent home of Liberty is in the individual and families. Organizations become attractive to power-hungry psychopaths when they become effective, and those who gravitate to leadership are skewed toward self-serving. Therefore, compromise and decay are right on the heels of success. Faith in a man-made establishment is a slow escalator to a shallow grave.

Bad customers can be a real pain. If Fiverr isn't offering support to most of their creators, it might create a great opportunity for another service to spring up and address that issue.
When we do feature testing, it's normally an existing feature against a new one. This implies testing the new code just as if it were exposed to everyone, and the old code is already tested.

If you're seeing broken things in one execution path, then yes, I'd say testing would be a good idea.

Re:Ask HN: Writing unit test mocks vs. real dependencies? on Wednesday October 21, 2020 @05:28PM (#24852399)
Yes, I had a brain fart when I wrote my original comment. I think I should have meant to say mock dependencies (that we have created, not necessarily external ones, unless they're something like network calls), not inputs.
Re:Ask HN: Writing unit test mocks vs. real dependencies? on Wednesday October 21, 2020 @01:07PM (#24849835)
Test what you are testing. Are you testing a method or function? Mock its inputs. If your test of a function fails because an API or a database is not available, that's approaching an integration test. If there's a question of whether there are too many mocks being used, the dev may not have thought out a testing strategy well enough. Be certain of what you're testing.

That's what I usually go by.

Re:A Visual Guide to Regular Expression on Wednesday October 21, 2020 @01:05PM (#24849815)
I've always found FSMs useful as a visual guide for REs.
I sort of think the way it's being dealt with, by and large, hasn't progressed beyond peeling off the stickers and re-arranging them.
Re:How do you deal with Zoom meeting fatigue? on Wednesday October 21, 2020 @12:58PM (#24849709)
It all starts with turning off your camera, friend. The possibilities are after that, endless.
I think it used to be Gallows Giddiness, but apparently we don't do that anymore.
Re:Ask HN: What free, open source OS do you use? on Monday October 19, 2020 @03:33PM (#24829996)
Is there any answer other than TempleOS?
>I have never seen her referred to as Augusta Ada Byron-King

In the sources I've seen, they sometimes leave off the King, but Byron is often there. One of the most popular would have been the Windows 95 certificates of authenticity (she's there, with her name, as a watermark). Here's the clearest one I could find (blurry, but you can make it out mostly): https://files.catbox.moe/aci1d6.png - you can see it if you zoom in just above the "Product ID" text.

Fascinating! The longer I live, the more I'm glad I wasn't born into nobility.
Re:Party Line – 1:1 chat across the political spectrum on Monday October 19, 2020 @11:29AM (#24827241)
>enter your email address and phone number

Nope. Better luck next time, data pickers.

Fair point, definitely. Maybe I should say it's wise to soberly consider all the uses of something, even when its initial use case is something we happen to like. A really decent sci fi novel that does some stuff around this question is "The Trigger" by Arthur C. Clarke: https://www.goodreads.com/book/show/117844.The_Trigger if anyone wants a good read on the subject. Risking a spoiler: it deals with the importance of the question from a couple of pretty compelling directions, by the end.
Re:Ask HN: Modern office life has become unbearable to me on Friday October 16, 2020 @09:25AM (#24800579)
You should definitely include your thoughts in your next TPS report. Don't forget the new cover sheet.

In all seriousness though, there's always a moving goal for work peace and awesomeness. Remember how Agile was going to free developers to do their craft? In comes business to systematize it, and around we go again. The tree of building cool stuff must from time to time be watered with the flop sweat of coders and managers.

Remember the movie Equilibrium? Before anyone gets too excited, it's wise I believe to live by the idea: Don't cheer a powerful tool that you would not want your worst enemy using against you, or in ways with which you do not agree.
Re:Re-Thinking the Desktop OS on Thursday October 15, 2020 @10:07AM (#24788787)
He forgot to end with "to make the world a better place." How can I take this seriously?
>“To me, it is the absolute obligation of institutions of higher education to become ethical beacons for the nation,” Mr. Barrios said. “We should not kneel before executive orders that seek to politicize education.”

To me, those two statements contradict one another.

Older »