Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
javcasas
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
17 ms
·
331.
▲
by
javcasas
3y ago
They are obviously not the same. But, as a founder not coming from a rich family, you may get at best 2 or 3 chances at making a decent business. So now choose: 3 chances of winning 1M at 100% probability vs 3 chances of winning 1B at 1% pr
332.
▲
by
javcasas
3y ago
My point is that all the numbers in a dependency configuration file should be automatically converted to strings, because they are really strings. Yaml doesn't do that.
333.
▲
by
javcasas
3y ago
On a general case, yes. But we are talking about Stack, a system for managing software dependencies. When was the last time you put numbers intended to be real numbers in a dependency declaration file? In different words, when was the last
334.
▲
by
javcasas
3y ago
I don't think going down was a priority. When you are under attack, you want your archers to rush up to the walls, with some extra fighters for good measure, and you don't want them to go down until the enemy has decided to leave.
335.
▲
by
javcasas
3y ago
Enshittification is a very special kind of worsening. Enshittification is the transformation of a platform from serving its users to serving MBAs and middle managers of the owning company.
336.
▲
by
javcasas
3y ago
You understand the data structure. Probably the chaining rule, even probably the monoid in the category of endofunctors. What you don't understand is the existence of it. Monads is a solution for dealing with IO in a strongly typed pro
337.
▲
by
javcasas
3y ago
He doesn't understand them, therefore monads are insane.
338.
▲
by
javcasas
3y ago
Yes, it's goddamn immutable collections and Optionals. People still hate it because it's immutable, therefore you can't do hashmap.add(), and it's hard because they can't randomly return nulls, and it's slow be
339.
▲
by
javcasas
3y ago
> vavr - turns java™ upside down "turn X upside down" are different words for "use X contrary to its original intention and design". You will find very few people willing to let go what people undestand as Java so as
340.
▲
by
javcasas
3y ago
> There isn't all that many plus in their type systems that is not expressible in Java. Thanks to Turing, anything that is Turing-complete can duplicate any other thing that is Turing-complete. So, yes, you can do all of Haskell
341.
▲
by
javcasas
3y ago
The/ide/giveths/the/ide/takeths/all/this/could/be/easier/and/you/know/it.
342.
▲
by
javcasas
3y ago
> Java (and preferably Kotlin) are a lot more serious about making sure your code is robust before it compiles. You are making great points for Rust, Ocaml and Haskell.
343.
▲
by
javcasas
3y ago
That wasn't a flaw. It was a "feature". Can yo you think of a way to increase market awareness of Java other than putting an icon on every computer in the world saying "Your Java needs to be updated" every two weeks
344.
▲
by
javcasas
3y ago
The EU negotiates as a block because that's how blocs are strong: by not having a part that can be "negotiated" (bullied) into concessing. UK decided to be outside the bloc, and now it has to negotiate with the bloc, like eve
345.
▲
by
javcasas
3y ago
> Someone who has money as the primary criterion for where they work. So, a plain old business.
346.
▲
by
javcasas
3y ago
> Why is "how hard it is for beginners to understand a concept without reading a reference" a useful metric for measuring anything? So what if it's hard? -- Spend an hour with the reference document, and your problems will
347.
▲
by
javcasas
3y ago
Here, go and read about the WITH statement https://modern-sql.com/feature/with
348.
▲
by
javcasas
3y ago
Gravity batteries are practical if you don't have to construct most of the infrastructure. Examples would include a bunch of mountains already there to construct a dam and have hydro pump storage, or an unusually nice and straight mine
349.
▲
by
javcasas
3y ago
IE successfully killed Netscape, then proceeded to do nothing for 10 years, not improving, not fixong bugs and vulnerabilities, showing that the only effective way of constructing applications would be desktop applications. I mean, windows-
350.
▲
by
javcasas
3y ago
Random google search for "migrations stored procedures" https://stackoverflow.com/questions/14139445/code-first-migr... shows that EF6 already supports them. And pgTap as an example of testing them http
351.
▲
by
javcasas
3y ago
All right, now assume making a 120m deep hole is cheaper than building a 120m tower. BTW, how many 120m deep holes have you seen in your life? You seem to be expert at them. I have seen a few 120m towers. They call them skyscrappers. Anyway
352.
▲
by
javcasas
3y ago
Ooh, database views! What would be next?? Permissions? Triggers?? Stored procedures?? Go shove your views up yours, you maniac! /s, except for way many more ORM lovers than you think.
353.
▲
by
javcasas
3y ago
No, those are the losers. The clueless are clueless that the pychopaths are using them as a shield against the losers.
354.
▲
by
javcasas
3y ago
> a lot more of it is because the employees are simply not doing their jobs and have to be let go You are trying to find a cheap and good employee at the same time. Those tend to be scarce. Yet you keep scrapping the bottom of the barrel
355.
▲
by
javcasas
3y ago
You know, there is a significant amount of people that don't want to sacrifice anything of their comfort or profits, that expected to die of old age before this happened. But nature doesn't wait for petty plans to complete.
356.
▲
by
javcasas
3y ago
Imagine an authentication endpoint that accepts either a username/password or a SSH key. If you go the optional fields route, your parser will accept invalid combinations, for example password+ssh key. If you go the proper alternatives
357.
▲
by
javcasas
3y ago
I agree to some degree on a basic e2e plus swagger diffs, but > The good news is that you only need one test (or two for bidirectional) for each class. In both large and small companies I've never found this necessary. this tells me
358.
▲
by
javcasas
3y ago
So the plan is code a global try/catch, maybe write an e2e test and hope for the best? Sounds foolproof. I'll continue not doing decorators.
359.
▲
by
javcasas
3y ago
So how do you test that the method, the path and the body parser are correct? I have had bugs in all of these three.
360.
▲
by
javcasas
3y ago
It is not about productivity, it has never been about productivity. It is about power and control. Remote workers can have a life, can see their children and friends, and may even have energy to go chasing other job offers. HR and CxO hate
More ›