Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
TheAndruu
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
31.
▲
Testing for NoSQL injection
(owasp.org)
1 points
by
TheAndruu
11y ago
|
0 comments
32.
▲
by
TheAndruu
11y ago
And never run eval() on any user input.
33.
▲
Apple’s New Challenge: Learning How the U.S. Cracked Its iPhone
(nytimes.com)
3 points
by
TheAndruu
11y ago
|
0 comments
34.
▲
by
TheAndruu
11y ago
Honestly, Java 8 has a ton of new features that give it a very functional feel if one desires. Check out the new Stream api and map(), forEach() functions
35.
▲
by
TheAndruu
11y ago
This is real easy in Java: private DayOfWeek getDayOfWeek(int year, int month, int day) { return LocalDate.of(year, month, day).getDayOfWeek(); } @Test public void getDayOfWeekTest() { assertEquals(DayOfWe
36.
▲
by
TheAndruu
11y ago
This is by no means a conclusive list.
37.
▲
Why do plastic bottles have pointed bottoms?
(reddit.com)
2 points
by
TheAndruu
11y ago
|
0 comments
38.
▲
by
TheAndruu
11y ago
I agree with the point, and appreciate the article stating in words what I've felt. If a recruiter tries to push the 'game room and free snacks' angle, I immediately grow concerned that the employer is out of touch with emplo
39.
▲
Internet by light promises to leave Wi-Fi eating dust
(news.yahoo.com)
1 points
by
TheAndruu
11y ago
|
0 comments
40.
▲
by
TheAndruu
11y ago
Understand the true problems that need to be solved. Often these have nothing to do with written requirements. It may manifest itself in the system's design, or in what you need to do to fight for time to work on a given area with man
41.
▲
by
TheAndruu
11y ago
Doesn't seem to support querying for phrases surrounded by quotes. "Bruce Springsteen" and "java code" didn't hit anything matching the phrase directly.
42.
▲
by
TheAndruu
11y ago
Nice. I was aware of the style, but not the name for it. Also liked the first line of the criticisms: `Critics of Yoda conditions see the lack of readability as a disadvantage that outweighs the benefits described above`
43.
▲
by
TheAndruu
11y ago
Agree. Perhaps it be better-named 'betweenInclusive(firstValue, secondValue)' and 'betweenExclusive(firstValue, secondValue)'
44.
▲
by
TheAndruu
11y ago
It's better to write your code so that it's easy for a later person to understand it while reading. To that end, use a greater-than sign if reading the code makes more sense that way. E.g. if the method name is `findAllUsersOverAg
45.
▲
by
TheAndruu
11y ago
This guy's job is what originally attracted me to software engineering... the idea you could be so good and important to a company that they just pay you to pump out something awesome and let you do it. Granted this focuses on a failu
46.
▲
by
TheAndruu
11y ago
Reminds me of https://github.com/TrsstProject/trsst and others like it before, like App.net. This isn't a new idea and I'm 100% behind a more decentralized and free interwebs. The question is what will it ta
47.
▲
List of investors headlining 10th Southeast Venture Conference
(wraltechwire.com)
2 points
by
TheAndruu
11y ago
|
0 comments
48.
▲
Marvell Technology to pay Carnegie Mellon $750M over patents
(reuters.com)
1 points
by
TheAndruu
11y ago
|
0 comments
49.
▲
Apple unlocked iPhones 70 times for Feds
(thedailybeast.com)
4 points
by
TheAndruu
11y ago
|
3 comments
50.
▲
by
TheAndruu
11y ago
My favorite is 418 - I'm a teapot: https://en.wikipedia.org/wiki/Hyper_Text_Coffee_Pot_Control_...
51.
▲
by
TheAndruu
11y ago
Selenium provides this capability with a tool that records where you click on your website and then it records that as a macro which acts as an automated test. However, the issues remain the same as with any other ABT test. An async elemen
52.
▲
by
TheAndruu
11y ago
Shorter answer: go to bed 7 hours before you need to wake up.
53.
▲
by
TheAndruu
11y ago
Totally buy they could reduce actual errors that matter. I've worked with many a QA who would get bent up over a detail outside of the spec that didn't really matter, and where all QA testing was manual. Coders (good ones) are wel
54.
▲
by
TheAndruu
11y ago
Make your custom analytics library into a separate product in its own right and sell it or open-source it!
55.
▲
by
TheAndruu
11y ago
Good point. They're also critical for any HATEOS applications
56.
▲
by
TheAndruu
11y ago
403 would be the proper status if the user was authenticated but forbidden. 503 would imply an error on the server and that the service is unavailable. Here the 403 is appropriate because the user is logged in and trusted to some degree by
57.
▲
by
TheAndruu
11y ago
Hard to get behind an argument on status codes being pointless when the article itself cites the usefulness of wisely chosen status codes, such as "201 Created, 429 Too Many Requests, and 503 Service Unavilable". I've created
58.
▲
by
TheAndruu
11y ago
I've been multiple places where requests to fix what was broken in the production system were shot down repeatedly because there "wasn't money in the budget to fix that system". Yet if anyone added up the manhours it too
59.
▲
by
TheAndruu
11y ago
To add to this, coders frequently have managers who don't allow time to test and improve much beyond what works, even when asked for.
60.
▲
by
TheAndruu
11y ago
I was never particularly good at math. Junior year in highschool, I bombed the first math test (37/100 points) and was about to drop the class, when the teacher pulled me to the hallway and urged I stay with it. This guy was known for
More ›