Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
sacado2
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
44 ms
·
241.
▲
by
sacado2
8y ago
Anything with successive iterations / optimization phases, like simulation or even simple machine learning.
242.
▲
by
sacado2
8y ago
"Poor naming" is subjective. What is the correct name for a variable that associates a user's name with its configuration profile? userNameToConfigurationProfile? user_name_to_configuration_profile? userToConfig? profiles? us
243.
▲
by
sacado2
8y ago
But then you end up with a non idiomatic coding style, which may be an issue if your code is open-sourced. I'd be very wary of a Java program where variable names are snake_cased, for instance: did they do it for a good reason? Are the
244.
▲
by
sacado2
8y ago
This is not mathematically correct. Those names would be pretty misleading, actually.
245.
▲
by
sacado2
8y ago
It is problematic for readability reasons as long as you are making complex expressions: configuration := NewConfiguration() configuration[word] = parameters[values[line][column]] - parameters[values[column][line]] vs con
246.
▲
by
sacado2
8y ago
I work in a French public lab, and the policy here (and in many if not most other public labs) is to produce FOSS based on our research. It has always been more or less a fact, but this is becoming an official policy, AFAIK: make it FOSS un
247.
▲
by
sacado2
8y ago
As someone who visits Scotland more often than would be reasonable, I can only agree. Beaches there are gorgeous, and you can't see any tourist around, even on sunny days, as there are not so many. Such a great country.
248.
▲
by
sacado2
8y ago
There are frequent bugs where the cat face is at a weird place, so I'm glad nature doesn't let such animals actually live.
249.
▲
by
sacado2
8y ago
> Maybe you are able to book 80% of your time, and you only work 5 days a week, so each year you can work: (52 * 5) * 0.8 = 208 days. So, you never take vacation or get sick? Plus, 80% of days billed seems pretty optimistic, isn't i
250.
▲
by
sacado2
8y ago
The usual advice is to charge per project. If you really want a time-based fee charge per day, that's a good compromise.
251.
▲
by
sacado2
8y ago
Fun fact: you only need $32,400 to be part of the 1%. Source: https://www.investopedia.com/articles/personal-finance/05061...
252.
▲
by
sacado2
8y ago
You first asked for C-style enums, which are not type safe constants (but nothing more than integer constants), then asked for type-safe constants, and then, you say they are not enough either and you want full-blown rust-style enums, whi
253.
▲
by
sacado2
8y ago
I don't say it's equivalent in safety, I say (and defend it with my example) it is even safer . Feel free to provide me with an example where C-style enums are more type-safe than the equivalent go constructs. Readability-wise, t
254.
▲
by
sacado2
8y ago
Provided C-tiers enums are just constants associated with an integer value, go's `const` are already providing you with the same thing, and are even more strongly typed. enum foo {Bar, Baz, Foobar}; void f() { enum fo
255.
▲
by
sacado2
8y ago
This is an NP-complete problem, so performance will be an issue anyway.
256.
▲
by
sacado2
8y ago
It sounds a lot like constraint programming.
257.
▲
by
sacado2
8y ago
Don't know if the equivalent exists where you live, but in France you can work with a contractor that does all the administrative work and just pays you a salary. You don't have to worry about accounting, tracking payments, busine
258.
▲
by
sacado2
8y ago
It's better from the client POV too. As a client, I have work that must be done, I want to know how much it will cost, I don't care whether it takes you 3 hours or 10 hours, and I especially don't want to hear "whoops...
259.
▲
by
sacado2
8y ago
I agree with you. This is all benefit for everybody: - You provide a cheaper solution, - You provide a solution delivered faster, - You can bill more per hour without the client even knowing: "you have solution A, which is exactly what
260.
▲
Ask HN: What are your issues with public speaking?
1 points
by
sacado2
8y ago
|
0 comments
261.
▲
by
sacado2
8y ago
Belgium newspapers tried to ask Google news for money for mentioning their articles. Google then unreferenced them. The newspapers gave up after a few days, as they had lost most of their trafic. It will happen again.
262.
▲
by
sacado2
8y ago
Thanks a lot, didn't know techempower. Go seems to behave pretty well in these benchmarks, though.
263.
▲
by
sacado2
8y ago
If you have a billion € in cash, even in the form of a 1 billion € banknote, how do you store it? It has a cost, for obvious security reasons. You cannot put it on a bank account either, because putting money on a bank account is equivalent
264.
▲
by
sacado2
8y ago
So you have a €100 bund that will yield €4 interest at the end of the year, plus the €100 of the original capital that will be sold back to you (it is a 19-year-old 20 years bund, so it will be paid back at the end of the year), so you will
265.
▲
by
sacado2
8y ago
I've been paying a lot of attention and, in my experience (but also according to the highly biased benchmark game), C#/Java/OCaml/Haskell/Go are in the same league, i.e usually 3-10 times slower than C/C++/
266.
▲
by
sacado2
8y ago
O'caml and Haskell are extremely niche in the web server world, and are not especially faster than go. C# is not blazingly fast either. They all seem to be in the same ballpark.
267.
▲
by
sacado2
8y ago
I made a very simple webapp a few months ago, where students are proposed assignments and can rank them. For that, you need authentication, and DB management: a subject table, a student table, and a ranking table. You have to do all of that
268.
▲
by
sacado2
8y ago
Yes, launching a new server/executable in java is a PITA dur to the JVM warmup (at least it was a few years ago, don't know whether they improved that point or not).
269.
▲
by
sacado2
8y ago
Yes, go has a formal specification, which not only opens the possibility for alternative implementations, but, more importantly, allows for the development of tools like linters. It's way harder to develop tooling for a language which
270.
▲
by
sacado2
8y ago
> for many Go is the only compiled language they ever used That, or it can be read as "in the family of web-friendly languages". The only other "fast" language widely used for the web is Java.
More ›