Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jhomedall
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
61.
▲
by
jhomedall
7y ago
They're currently trying to force this into pull requests in Bitbucket. Right now you can revert to the old-style pull requests with Markdown support, but that is going to go away once the new system is out of beta. I really regret goi
62.
▲
by
jhomedall
7y ago
Where did he assume that?
63.
▲
by
jhomedall
7y ago
Escape analysis is a common optimization for GCed languages. e: Also, many languages allow the user create user-defined value types, which are copied rather than referenced. Variables containing these can be stack-allocated.
64.
▲
by
jhomedall
7y ago
You will know ahead of time whether you're going to be rebinding a variable. The use of const is a hint to the next person reading your code, since they won't be privy to your thought process. In an ideal world, const would be the
65.
▲
by
jhomedall
7y ago
To me, at least, it reads as blatant satire.
66.
▲
The Stronger Patents Act Would Make Bad Patents Stronger Than Ever
(eff.org)
10 points
by
jhomedall
7y ago
|
0 comments
67.
▲
by
jhomedall
7y ago
Most modern languages have an explicit option type, which indicates that a variable may not have a value. Java (and many other languages) allows all reference types to be null, meaning you have little compiler assistance in helping prevent
68.
▲
by
jhomedall
7y ago
You learn what 'fn' means once, and then you know it forever. It's a non-issue.
69.
▲
by
jhomedall
7y ago
The only types in the Rust standard library that do reference counting are `Rc` and `Arc` (which are both implemented in Rust). Borrow checking is done statically.
70.
▲
EA Async implements async-await methods in the JVM
(github.com)
2 points
by
jhomedall
7y ago
|
0 comments
71.
▲
by
jhomedall
7y ago
Note that it's not yet supported by Edge: https://developer.microsoft.com/en-us/microsoft-edge/platfor...
72.
▲
by
jhomedall
7y ago
Don't confuse unfamiliar with unreadable. There are a large number of languages that don't fall under the 'imperative, curly bracket' umbrella. For example: - https://docs.microsoft.com/en-us/dotnet&
73.
▲
by
jhomedall
7y ago
I've only ever dabbled in Lisp, but that seems perfectly readable.
74.
▲
A man who ran out of air at the bottom of the ocean
(bbc.com)
4 points
by
jhomedall
7y ago
|
0 comments
75.
▲
by
jhomedall
7y ago
The only thing that is going to accomplish is severely restricting the number of people who are willing to donate sperm - likely to an extent that couples who are unable to conceive will not have any options available to them
76.
▲
by
jhomedall
7y ago
I've used Scala in production environments, and we never had any problems with it being too academic. SBT sucks, but that's another issue. Kotlin doesn't have typeclasses (something you get as a side effect of Scala implicits
77.
▲
by
jhomedall
7y ago
In what way is Scala not pragmatic?
78.
▲
by
jhomedall
8y ago
Option 3: the experience of being disconnected from your body is so distressing that you can do nothing but attempt (and fail) to scream. The scientists have no idea you are in distress. This goes on for months or years. By the time technol
79.
▲
by
jhomedall
8y ago
Strings are immutable. Variables can be reassigned. Those are two very different things. Strings being immutable means that you can can pass around references to them, safe in the knowledge that they can't be modified. For example:
80.
▲
by
jhomedall
8y ago
A language being strongly typed does not require verbosity. See, for example, F#, Scala, or Haskell.
81.
▲
by
jhomedall
8y ago
Aircraft autopilots and fly-by-wire systems are vastly more simple than self-driving cars.
82.
▲
by
jhomedall
8y ago
> Option can still be NULL ("None" in rust) 'None' in Rust is part of the Option enum, not an equivalent to null. pub enum Option<T> { None, Some(T), }
83.
▲
by
jhomedall
8y ago
> These people defer everything to their subordinates including major technical decisions. Then what the hell is their job!? To "people manage"? Their job is to shield their developers from the rest of the company, so that the
84.
▲
by
jhomedall
8y ago
Implementing async/await. You can accomplish that entirely via macros in Common Lisp, whereas in Java you would need to do bytecode transformation via a javaagent (which, shockingly, I just discovered somebody has actually done: https
85.
▲
by
jhomedall
8y ago
You would implement the sort so that it either: 1: Returns the sorted list (once finished) 2: Returns an intermediate state containing the progress of the sort in addition to the current state of the sort. You would repeatedly pass the inte
86.
▲
by
jhomedall
8y ago
In VR that would likely make you violently ill
87.
▲
by
jhomedall
8y ago
I'm not seeing any CSRF tokens (but I don't generally work with node, so correct me if I'm wrong). If your POST endpoints accept application/x-www-form-urlencoded or multipart/form-data, you will definitely want to
88.
▲
by
jhomedall
8y ago
Even with UTF-16 that quote is incorrect, due to surrogate pairs. It's only correct for UCS-2, and even then, only if you take 'characters' to mean 'codepoints', and take 'Unicode' to mean 'a specific
89.
▲
by
jhomedall
8y ago
Buried in a slide @ https://youtu.be/qBQtbkmURiQ?t=766 : You can try an in-development version of the GC with the 'shipilev/openjdk-shenandoah' Docker image ( https://hub.docker.com/r/shipi
90.
▲
by
jhomedall
8y ago
What are the contents of your crontab? Anything in the certbot logs? What server software are you running?
More ›