Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
amptorn
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
14 ms
·
91.
▲
by
amptorn
8y ago
# Not this: if [[ "${my_var}X" = "some_stringX" ]]; then do_something fi Why would anybody write this?
92.
▲
by
amptorn
8y ago
This is definitely the reason IBM invented Plex -- they have designers aplenty after the IBM Design initiative a few years back and they discovered that unfortunately Helvetica Neue costs money.
93.
▲
by
amptorn
8y ago
> The other was companies who had tricked people into learning a new kind of handwriting [...] It's interesting parallels with spoken word interfaces. I don't know what the answer is. Well, here's a possibility: we'll
94.
▲
by
amptorn
9y ago
What percentage of Americans would you say know how to do those things, though?
95.
▲
by
amptorn
9y ago
Not so much "hacked" as "written from the ground up by people with nobody's interests but their own at heart". AI isn't naturally occurring. Humans write the code, humans select the training strategies, humans
96.
▲
by
amptorn
9y ago
Neither: it's the person who implemented the script. That's why this is such an attractive prospect to the programming/tech crowd.
97.
▲
by
amptorn
9y ago
> A small algorithm would be a much better representation of you. Nice, nice: and the de facto elected official becomes whoever implemented the algorithm. You've described a rare opportunity for us to become the Engineers Who Inst
98.
▲
by
amptorn
9y ago
Then they just track the person with the huge Sombrero!
99.
▲
by
amptorn
9y ago
Self-driving cars never made any sense as part of Uber's business model. What were they going to do, buy a fleet of vehicles, build garages, hire mechanics? They're a software company.
100.
▲
by
amptorn
9y ago
> It's very different. Here you're requested to answer fairly detailed and potentially tripping questions with potential legal implications on your business. This has little with how you secure things technically. The differenc
101.
▲
by
amptorn
9y ago
> Answering those questions won't in any way, shape or form improve the security of your business. It's pure distraction. Answering the questions is not intended to improve the security of your business, it's a form of ser
102.
▲
by
amptorn
9y ago
> For example: I need a chase scene in my story here. This is not the greatest example because it's very rare that a story needs a chase scene to drive it forward. The end result will boil down to "they get away" or &quo
103.
▲
by
amptorn
9y ago
> Using the AI effectively cheapens the creation of another AI. Each new processor we have the AI design will be faster and than it's predecessors. [...] Eventually the technological over-saturation of our society will ensure that t
104.
▲
by
amptorn
9y ago
Sure, but "exception" is the programming term for that kind of behaviour. Saying "JavaScript has exceptions" doesn't imply that JavaScript has a global builtin object named `Exception` any more than saying "Jav
105.
▲
by
amptorn
9y ago
> there’s no concept of Exception in JS Sure there is. What else does the `throw` statement do, if not throw an exception?
106.
▲
by
amptorn
9y ago
> equational reasoning, which is a cornerstone of extensible and maintainable programming What are the other cornerstones?
107.
▲
by
amptorn
9y ago
> Clicking "Save" while a directory is selected will not save, but navigate instead. That's one of the most absurd and glaring usability bugs I've ever heard.
108.
▲
by
amptorn
9y ago
It doesn't matter whether the quote is accurate now or even whether it was accurate in 2008 when it was originally written. What matters was that this formed the rationale for keeping variables out of CSS.
109.
▲
by
amptorn
9y ago
Because > CSS style sheets are short. They are not much bigger than one editor window. Very few people (only professional designers, it seems) write style sheets longer than a hundred lines. < https://www.w3.org/People&
110.
▲
by
amptorn
9y ago
> having someone who is not certified driving the car You mean, someone who hasn't passed a driving test? Or someone who had their license revoked?
111.
▲
by
amptorn
9y ago
Ah, without preserving order. That's a set of four 5-bit values, not a sequence of four 5-bit values.
112.
▲
by
amptorn
9y ago
Did you know? Perl is pass-by-reference. sub mutate { $_[0] = "blue"; } my $color = "red"; mutate($color); print($color); # "blue"
113.
▲
by
amptorn
9y ago
Yes.
114.
▲
by
amptorn
9y ago
Let's split the difference and put both parties in prison.
115.
▲
by
amptorn
9y ago
> plans already in place to replace these systems I think a typical mainframe customer is more likely to just cease to exist due to random chance/bad business decisions/market shifting/stuff than it is to move off mainfram
116.
▲
Stomp on the Mystery Box
(qntm.org)
1 points
by
amptorn
9y ago
|
0 comments
117.
▲
by
amptorn
9y ago
No. Do you know how an Amazon Locker works?
118.
▲
by
amptorn
9y ago
Alright, here's my idea: Amazon Locker Personal. Same principle as an Amazon Locker, but it's a single locker and you put it outside your house. Such things already exist, the only difference is that this one would be locked all t
119.
▲
by
amptorn
9y ago
We can go one cleverer[1]: functions.forEach(Function.prototype.call, Function.prototype.call) this is approximately equivalent to functions.forEach(f => f()) although in practice it's actually more like func
120.
▲
by
amptorn
9y ago
Take care with this technique. We know that `Array.prototype.map` passes not one but three parameters to the callback function: the array element, the array index and the array itself. As a result of this, addressParts.map(Function.pr
More ›