Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kyllo
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
84 ms
·
481.
▲
by
kyllo
11y ago
Purity isn't as big of a deal in Rust as it is in other languages. We used to have it, but it wasn't very useful. Right, purity aka referential transparency is basically required when you have lazy evaluation by default (as in H
482.
▲
by
kyllo
11y ago
I have some perspective on this because I have worked in an environment with developers writing code in a platform that was originally intended for non-developers. In other words it is basically a rules engine that offers IF, LOOP, CASE, an
483.
▲
by
kyllo
11y ago
VBA also sucks a lot of people into programming proper. A few years ago I started by recording macros and then reading the code they generated, then writing my own code. I learned what a database was by making a sales lead tracker in Access
484.
▲
by
kyllo
11y ago
And the someone really good in charge needs to hire a team full of really good people, too. Good process and competent management does not mean you can slot in interchangeable cogs to do the work and expect good results.
485.
▲
by
kyllo
11y ago
OK, and I see the Pure CSS Fizzbuzz is likewise not Turing complete, because it would still require a Javascript client to append divs to the document in a loop (or when called) in order to pump the automaton.
486.
▲
by
kyllo
11y ago
Does this mean that CSS is now Turing-complete, or does it just mean that Turing-completeness is not required to implement FizzBuzz?
487.
▲
by
kyllo
11y ago
My employer has a history of using CDFs (Comma Delimited Files) for lots of things. They're just like CSV, only not. It works great right up until someone wants to know if they can store data with internal commas in it like "Acme,
488.
▲
by
kyllo
11y ago
What are you talking about? Picasa (which is now Google Photos) has been around since 2002.
489.
▲
by
kyllo
11y ago
Guessing he or she means they sell shoes, not software or hardware.
490.
▲
by
kyllo
11y ago
Yes, but you have to finish typing the syntax first, and the IDE that is constantly parsing your code file is always going to report errors as the code goes through a broken state while you're typing. That's one thing Unison is tr
491.
▲
by
kyllo
11y ago
What happens is you end up with a wasteful meta-bureaucracy where competing companies and governments form committees to set prices. I used to work for an ocean container shipping company, and due to idiosyncrasies of maritime law and the f
492.
▲
by
kyllo
11y ago
I think Clojure is especially well suited for creative programming because the REPL-based workflow is very interactive and the language itself is so easy to mold and shape as you're exploring the problem domain. Composable functions pl
493.
▲
by
kyllo
11y ago
You're right that Foxconn is a powerful company too, and they do have their own rates/contracts in place with logistics companies. And for any big company with a complex supply chain like Apple, there is probably a mix of differen
494.
▲
by
kyllo
11y ago
Apple almost certainly takes ownership of the freight at the origin--either at the airport or maybe even at the factory. The reason for this is it allows Apple to use their buying power to negotiate much lower freight rates with carriers an
495.
▲
by
kyllo
11y ago
Yeah, I get zero stares in Shanghai or Hangzhou, but in nearby Shaoxing foreigners are few and far between enough that I get plenty of looks. People who haven't spent time in a "tier 1" city generally have not seen foreigners
496.
▲
by
kyllo
11y ago
The problem with designing a language that does these sorts of implicit type conversions is that the "equality" operator violates the fundamental properties of equality. Since grade school mathematics we are all taught that equali
497.
▲
by
kyllo
11y ago
Ahh PHP, the language where true == false php > if ((true == "foo") && ("foo" == 0) && (0 == false)) echo "yay!"; yay!
498.
▲
by
kyllo
11y ago
Do you think that avionics software is an appropriate application of C? Boeing does... http://www.engadget.com/2015/05/01/boeing-787-dreamliner-sof...
499.
▲
by
kyllo
11y ago
Don't lie, respond with this: "I cannot disclose my current salary, but my desired salary is X." They just need a number. If they will not accept desired salary in place of current salary, you do not want to work there.
500.
▲
by
kyllo
11y ago
Well it seems like the market is bifurcated. One is the Google/Microsoft/Apple/Amazon/Facebook market where the starting salary is between 100-130k USD/year. My understanding is that Amazon is basically on par with
501.
▲
by
kyllo
11y ago
Amazon is hungry for MBAs, so getting one might be a good idea--if you want to work for Amazon in a non-technical role.
502.
▲
by
kyllo
11y ago
It's also free on-the-job training for your in-house developers, and it probably also helps your company when you're recruiting developers--you can look for potential employees among the other contributors to the same OSS project
503.
▲
by
kyllo
11y ago
Yesod is the closest thing to a Haskell version of Ruby on Rails. Scotty and Spock are both Sinatra-like. There's a lot of good info here: https://wiki.haskell.org/Web/Frameworks
504.
▲
by
kyllo
11y ago
I don't think you're giving Haskell enough credit. I just went to a Haskell meetup last weekend and was very impressed by the attendance and engagement level, it was a very lively and interactive group. A lot of software companies
505.
▲
by
kyllo
12y ago
Well, Ruby is duck-typed with dynamic/late dispatch, so method receivers are not known ahead of time. When I call `foo.bar`, it does a dynamic lookup in the class hierarchy at runtime to see which class implements the `bar` method, and
506.
▲
by
kyllo
12y ago
Thanks for the link, that is interesting. While I don't doubt that it's possible to create something similar to https://github.com/weavejester/hiccup in Ruby and Python as well, I am not aware of existing l
507.
▲
by
kyllo
12y ago
This is the strongest argument for Clojure in web programming. HTML (and all XML-based UI frameworks) are just tree data structures, so it's trivial to represent them as s-expressions and manipulate them using normal Clojure code, then
508.
▲
by
kyllo
12y ago
Well now you're getting into statically vs dynamically typed, which doesn't apply to this conversation because both Ruby and Clojure are dynamically typed. But in a statically typed language like Scala or Haskell, you can use the
509.
▲
by
kyllo
12y ago
I think the biggest reason would be Clojure's macro system. The code itself is an abstract syntax tree that you can rewrite in arbitrary fashion at macro expansion time. There's a good example here of how Clojure's macros are
510.
▲
by
kyllo
12y ago
If you feel Clojure is less expressive than Ruby, you're not good enough at Clojure yet. I'm not saying you have to prefer Clojure's syntax, and Ruby probably has more libraries for a lot of things you want to do. Going from
More ›