Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
peeters
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
81 ms
·
781.
▲
by
peeters
11y ago
Thanks for the reply...I definitely get the advantage and popularity of lexical scoping. I'm not sure about your claim about every language doing hoisting though; take Java as an example: class Example { String f = "f
782.
▲
by
peeters
11y ago
Can you give me an example?
783.
▲
by
peeters
11y ago
Encapsulation/information hiding?
784.
▲
by
peeters
11y ago
> Temporal Dead Zone - Attempts to access or assign to foo within the TDZ (before the let foo statement is reached) result in an error Can anybody explain why "let" variables are hoisted to the start of block given this Tempora
785.
▲
by
peeters
11y ago
The Starbucks fiasco was fascinating and frightening to me. Timeline: - Nov 5: Breitbart reports "Starbucks faces criticism from politicians and campaign groups today after it decided to remove all references to the festive season fro
786.
▲
by
peeters
11y ago
Isn't the goal to keep the R&D in Canada? It might make no difference to how a startup is run, but I could see it making a difference of where the startup is run.
787.
▲
by
peeters
11y ago
In this case, a short "there shouldn't be a voicemail on there" would definitely have helped us without explicitly pointing in the correct direction. However, I really liked that there weren't staff in the room with us.
788.
▲
by
peeters
11y ago
Sometimes plot creativity can get you a long way on a small budget (think Firefly). But yeah as soon as you introduce alien worlds, having high quality on a small budget does get difficult.
789.
▲
by
peeters
11y ago
How was the setup for you? For us I think there were cameras in each room, and a radio we could use to ask the staffer clarifications about the game itself. But they weren't present in the room itself and I don't think they had
790.
▲
by
peeters
11y ago
So, my story about one of these. Had a great time; were on the verge of winning. All of the puzzles had resulted in us finding a cellphone. We find the 4-digit pin to unlock it. With a minute to go, we get into the phone and find there&
791.
▲
by
peeters
11y ago
I've done one of these, and what I found myself was that the challenge wasn't just solving the problem, but also promoting a social dynamic that allowed everyone to participate in the problem solving. That meant being intentionall
792.
▲
by
peeters
11y ago
If you ever have actual success getting developers to obey documented input/output constraints without actually enforcing them with a static or runtime check, you could probably become a highly-paid coach. But I'm skeptical. I&#
793.
▲
by
peeters
11y ago
>>Except these aren't at all the same. With a reference, you have no good way of telling whether your reference IS nullable. >As the article mentions, we have annotations to do just that. Your mileage may vary, but my experien
794.
▲
by
peeters
11y ago
It can be, and it's annoying, but that's still a step forward. It's trivial for a good static checker to treat all Optional references as if they were annotated with your favorite @Nonnull annotation.
795.
▲
by
peeters
11y ago
It always bothered me that Java8 and Guava optionals don't just implement Iterable. There must be a good reason for this, and I'm guessing they're worried about confusion when you have an `Iterable<List<T>>` but
796.
▲
by
peeters
11y ago
> If you use unwrap/expect/fromJust you are explicitly acknowledging that you want it to panic if it fails. If you use Optional.get() without Optional.isPresent(), how is that any different? It's not as nice as pattern de
797.
▲
by
peeters
11y ago
>>Yes, you can write get() and risk an exception. So don't do that. >Yes, you can dereference a null pointer and risk an exception. So don't do that. Except these aren't at all the same. With a reference, you have n
798.
▲
by
peeters
11y ago
Hardware might be a nicer UX (though god forbid you forget your dongle one day and are completely screwed). But I fail to see how it's more secure without a second form of authentication.
799.
▲
by
peeters
11y ago
> While switching to a new OS, especially Windows 10 is definitely a good move Who is claiming this? Maybe for hardware known to have good Windows 10 support it's a good move. For me, I've had more blue screens in the last mo
800.
▲
by
peeters
11y ago
I think the most interesting, or scary, part of all of this is the justification for this warrantless search and seizure: to stop Uber from operating in the city. Usually the government has to invoke public safety to try to justify removin
801.
▲
by
peeters
11y ago
Add to that the likelihood of a minority government. So the TPP would probably have to see the support of two major parties (neither of which might be the ones forming the government).
802.
▲
by
peeters
11y ago
Thanks for the response; great points!
803.
▲
by
peeters
11y ago
I really didn't think there was that much variety in LEO due to the cost of launching in a retrograde orbit. I thought it'd be mainly prograde plus some normal velocity due to inclination.
804.
▲
by
peeters
11y ago
> Even a fleck of shed paint a tenth of a millimeter across carries as much kinetic energy as a rifle bullet when it's traveling at orbital velocity True, but most of the other objects near it are also at or near orbital speed, so
805.
▲
by
peeters
11y ago
Why put the governor on the hook, but not the majority of Americans who support the death penalty? If tomorrow 75% of Americans disagreed with the death penalty, it would be abolished. It's not your politicians who are keeping the dea
806.
▲
by
peeters
11y ago
This is the crux of the issue: > “We have no information that he claimed it was a bomb,” Mr. McLellan said. “He kept maintaining it was a clock, but there was no broader explanation." Creative people don't need to have a good r
807.
▲
by
peeters
11y ago
> That idea was nixed since the machine was old and fragile, we couldn't risk poking around in the inside. Well that pretty much sums up everything doesn't it. I don't see how a rational brain could produce that thought.
808.
▲
by
peeters
11y ago
I was hoping for at least a mainstream game that was mainly about problem solving, like Portal.
809.
▲
by
peeters
11y ago
I think there is a case to be made for honorary degrees, but not with how they are commonly used today. To me it makes sense that if someone becomes one of the utmost authorities in a field, but didn't do it by spending half a million
810.
▲
by
peeters
11y ago
The I/O example and comparison to Java is curious: > In this case there are two comparisons needed, one for end of file (EOF) and another for all other errors. Since Java does not allow errors to be compared as logic elements, as un
More ›