Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
alex_smart
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
by
alex_smart
11mo ago
From the article, individual video segments were 2-6 MB in size and SQS and Kinesis have a 1MB limit for individual records so they couldn’t have used either service directly. At least not without breaking their segments into even smaller c
32.
▲
by
alex_smart
11mo ago
It's an omz thing.
33.
▲
by
alex_smart
1y ago
So goalpost moved from “libraries can solve visibility problem with package level visibility” to “libraries should not try to solve the visibility problem because it is not even a problem at all”?
34.
▲
by
alex_smart
1y ago
Compare with the functionality offered by async job systems of other full stack frameworks - eg django with celery and rails with solid-queue. It’s not even close. I am on the latest version of Spring Boot.
35.
▲
by
alex_smart
1y ago
> Many libraries can solve visibility problem with package level visibility The only way of doing this would be to put all classes in the same package. Any nontrivial library would have hundreds of classes. How is that a practical soluti
36.
▲
by
alex_smart
1y ago
I was making exactly the point that you can use your own libraries along with a batteries included framework like Spring Boot. I don't even understand what the source of confusion is. I literally said exactly the same thing in the comm
37.
▲
by
alex_smart
1y ago
> you did start this with writing your own I really did not. I only said that if you were to create your own cronService, you can reuse it by creating your library rather than copy pasting code (which is obviously insane). > which is
38.
▲
by
alex_smart
1y ago
> Why are you assuming you cannot write your own library and use it with Spring? I am not. I am literally saying the exact opposite.
39.
▲
by
alex_smart
1y ago
I have a company with ~20 developers only. And already I have an ArchUnit test stating that public classes within "com.companyname.module.somepackage.internal" cannot be used anywhere outside "com.companyname.module.somepacka
40.
▲
by
alex_smart
1y ago
>Directly or indirectly many (or most) projects ended up depending on something which was using an unsupported backdoor API because it provided a marginally useful capability. The module system restricted access to these APIs and everyth
41.
▲
by
alex_smart
1y ago
The use case for modules is to have a unit of organizing code (deciding what is visible and accessible to who) at a higher level of abstraction than a package. It allows library authors to be much more explicit about what is the public API
42.
▲
by
alex_smart
1y ago
All this because I told one guy who asked "what exactly is “cronService”? you write in each service or copy/paste each time you need it?" that they can reuse code by writing a library instead of copy/pasting it? If this
43.
▲
by
alex_smart
1y ago
What if I told you - you can use a batteries-included framework, and still write your own libraries specifically only for things you want your own version of and want to share across projects? The problem isn't that I don't know h
44.
▲
by
alex_smart
1y ago
Why would I write my own database driver or encryption just because I wanted to implement my own "cronService"?
45.
▲
by
alex_smart
1y ago
Why so much hate for modules? They seem to be almost universally disliked by everyone on this thread and I don't understand why.
46.
▲
by
alex_smart
1y ago
You can write your own libraries? My goodness. What a question!
47.
▲
by
alex_smart
1y ago
If you think that that is going to stop the people in China and India from wanting to increase their standard of livings, that is beyond delusional. And did I read the article’s headline wrong or isn’t the article about China actually decre
48.
▲
by
alex_smart
1y ago
Sure
49.
▲
by
alex_smart
1y ago
>you probably don't want "throws SQLException" polluting the type signature all the way up the call stack A problem easily solved by writing business logic in pure java code without any IO and handling the exceptions grace
50.
▲
by
alex_smart
1y ago
Ok please help me understand, what is the difference between - R method() throws L, and - Either<L, R> method() To me they seem completely isomorphic?
51.
▲
by
alex_smart
1y ago
Also very much alive and called that in the Java/Spring ecosystem
52.
▲
by
alex_smart
1y ago
But testing by human is expensive
53.
▲
by
alex_smart
1y ago
> performance above all — has touched every generation of programmers I find it hard to reconcile this with the actual observed trend of all software getting slower and more memory intensive over time
54.
▲
by
alex_smart
1y ago
Better than buying a new but crap product for sure?
55.
▲
by
alex_smart
1y ago
What Apple hardware tax? The macbook air is the best value laptop there is. If the latest version is out of the budget, you can buy older generations used. Even m1 air would be better than any windows laptop at a comparable price point.
56.
▲
by
alex_smart
1y ago
>many results, including https://www.lenovo.com/us/en/d/linux-laptops-desktops/ Many results, including a US-specific page of the Lenovo website. >If buying with Linux is not an option at your plac
57.
▲
by
alex_smart
1y ago
> You first option is to buy a laptop with linux preinstalled I have earnestly tried for >20 minutes trying to find such a laptop with any reputed manufacturer in my country (India) and come up empty-handed. Please suggest any that yo
58.
▲
by
alex_smart
1y ago
As a buyer, how am I supposed to know which manufacturer did their homework and on which laptops? > it's been like this for a decade Again, depends on the definition of "flawlessly". Afaik, support for hardware accelerated
59.
▲
by
alex_smart
1y ago
Issues reported: Link 1: screen only updating every 2 seconds, visual glitches. Link 2: brightness reset to full on screen unlock, fans turning on when charging. Link 3: bluetooth troubles, speakers cant be muted if headphone jack is on
60.
▲
by
alex_smart
1y ago
> You are going to find issues for any computer for any OS by looking things up like this I wasn't cherry-picking things. I literally searched for laptops available in my budget in my country and looked up what was the linux support
More ›