Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Zababa
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
65 ms
·
781.
▲
by
Zababa
5y ago
You're mixing function programming and pure functional programming. > That's only because those languages are not purely functional. If you have state mutations and side effects you're not doing FP at all. You can be doing
782.
▲
by
Zababa
5y ago
I wish people would stop being such zealots when talking about functional programming. JS is mostly an imperative language, with OO and FP features, that you can use when they make sense. From the article you linked: > This is a function
783.
▲
by
Zababa
5y ago
> I don’t really see the value proposition of having a compilation step that also prioritises readability when you have source maps. It's to increase adoption. Some people still remember migrating to coffeescript and away from it. I
784.
▲
by
Zababa
5y ago
So severe obesity would be indeed "almost as bad as smoking" according to your article, which is more in line with what I've heard before. Thanks for the sources.
785.
▲
by
Zababa
5y ago
My (uninformed) guess would be that people with diabetes are followed more closely than people without. Your point about healthier lifestyle is a good one too.
786.
▲
by
Zababa
5y ago
For comparaison, smoking is ~10 years of life expectancy reduction https://www.cdc.gov/tobacco/data_statistics/fact_sheets/heal... . Surprisingly obesity seems to only replace some of your last years with year
787.
▲
by
Zababa
5y ago
I fail to see the problem with this. Especially when it's products made from animals that eat the grass around that place. Or anything soil-dependant really. Wine is very different depending on where it comes from.
788.
▲
by
Zababa
5y ago
> It’s a full fledged language that compiles to readable JS Compiling to readable JS is not one of TS's goals. For example: https://www.typescriptlang.org/play?noImplicitAny=false&targ...
789.
▲
by
Zababa
5y ago
> What is there left to use in the end? Type annotations? That's what Typescript mostly is, that's where its success comes from. Type annotations for existing JS code. The vast majority of people need to type existing JS code,
790.
▲
by
Zababa
5y ago
set on his goals kanye
791.
▲
by
Zababa
5y ago
> The reasons are complex—more than just the appeal of old tunes Are they so complex? Personally I can listen to popular music from up until 2015 and "get it", but after that, what's supposed to be popular music starts to
792.
▲
by
Zababa
5y ago
You know what they say about people with hammers.
793.
▲
by
Zababa
5y ago
> Go has a minimal type system, and is able to do much of Google's internal server side work. Isn't it stil mostly Java and C++? That's what I hear all the time here. Also, I'm not sure what point you're trying t
794.
▲
by
Zababa
5y ago
In the SML/OCaml world there's something like that: there is a difference between types and modules, and functions (from types to types) and functors (from module to module). Work was done on 1ML to unify everything: https:/
795.
▲
by
Zababa
5y ago
If you want to limit something to programmers, I think one idea would be to ask them to run a command, giving a linux and a windows possibility, and copy/pasting the result.
796.
▲
by
Zababa
5y ago
Lastpass. I didn't know it was possible to make a web page that slow.
797.
▲
by
Zababa
5y ago
Concretly, how often do security breaches happen due to timing attack? I can't grasp how severe this things are.
798.
▲
by
Zababa
5y ago
> The killer feature of C++ is “you don’t pay for what you don’t use” In what way C makes you pay for what you don't use?
799.
▲
by
Zababa
5y ago
I would too, but I'd like some hard data on this. For example, how much slower? 2 times? 10 times? 100 times? Is this an initial cost or a cost paid on all features? Is maintenance easier? Harder?
800.
▲
by
Zababa
5y ago
According to google, murder: > the unlawful premeditated killing of one human being by another. According to wikipedia: > Murder is the unlawful killing of another human without justification or valid excuse, especially the unlawful k
801.
▲
by
Zababa
5y ago
Lots of people living in Europe don't consider themselves europeans.
802.
▲
by
Zababa
5y ago
Because there's already Java/C#/Go/Rust/C++ in that space.
803.
▲
by
Zababa
5y ago
Lots of opinions but little facts in the comment. I'd love to see an experiment with people using that and their preferred web stack. Is this really slower to develop? By how much? Is this really unsecure? Is this really simpler, faste
804.
▲
by
Zababa
5y ago
For me it's the opposite, when walking around I'll have a sense where "north" or "home" is, and at some point it will switch (north becoming east for example) and I won't notice it.
805.
▲
by
Zababa
5y ago
I don't understand. If you want to be "an artist", why not work at a regular job doing part-time, and doing your artist stuff part time? Lots of people in STEM have creative aspirations that they pursue in their free time, wh
806.
▲
by
Zababa
5y ago
Looks nice, and reminds me of the ecosystem around Quarkus. I have two questions: 1) Is this compatible with GraalVM? I'm mostly asking this out of curiosity. 2) Is it using "modern" Java features? Records, pattern matching,
807.
▲
by
Zababa
5y ago
> The exact point is "if you can't afford be present-focused in one way, be future-focused in a different way". That would work if Zig was the only language in development in that space. It isn't.
808.
▲
by
Zababa
5y ago
Rust was announced in 2010. Rust in 2016 had documentation in better shape than current Zig, and was past 1.0. The difference seems to be that Zig was announced earlier in development. Considering how much I hear about Zig, I expected it to
809.
▲
by
Zababa
5y ago
What are you talking about? We're talking about the current state of Zig. From this thread of comments, on your messages: > It's important to consider that for zig at this stage, "not having valid documentation" is ex
810.
▲
by
Zababa
5y ago
Why? This doesn't make sense to me, for a few reasons reasons: 1) I'm looking for the best, not the best by programmer hours or growth. Zig has accomplished a lot and I'm impressed by the work of people on it. But it's s
More ›