Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
resonantjacket5
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
61.
▲
by
resonantjacket5
5y ago
It's not strictly defined but usually I've heard serving distinct mobile web pages (or layouts) as adaptive design
62.
▲
by
resonantjacket5
5y ago
getInstancesId() would usually mean a singular id corresponding to the group of instances. Only ones with an "s" at the end of the id should return an array if you have the existing "getInstanceId" either that or invert
63.
▲
by
resonantjacket5
5y ago
Lithium ion battery is not the same a lithium fire by itself.
64.
▲
by
resonantjacket5
5y ago
In a simple example that I can think of it could just be a vector of <present, past> aka the current info could be encoded like [<2, 0>, <4, 0>] then rotated to ("y axis") [<0, 2>, <0, 4>] allowing yo
65.
▲
by
resonantjacket5
5y ago
I think it was more of they were already going to refurbish the ship. I doubt extending a brand new ship would make any sense.
66.
▲
by
resonantjacket5
5y ago
Taking a bit overly generous interpretation of redis_mlc's comment I assume they are referring to how SpaceX's reusable rockets brought the cost of rockets too low combined with the demand for rockets actually being much more inel
67.
▲
by
resonantjacket5
5y ago
? I mean are we comparing it to the government's SLS. Or tech industries ability to obey deadlines? Honestly really confused, Starlink hasn't been that behind the deadlines and the Space X launches have brought down space launch c
68.
▲
by
resonantjacket5
6y ago
the DoD budget was around 700 billion, no one is going to spend around 1/10th of their entire military budget on semi conductors at cost. They're going to assume some returns on these fab factories.
69.
▲
by
resonantjacket5
6y ago
Unrealistic given how much fab facotiries cost. Your tariff method would work for say mining copper or say iron screws but not for a fab factory as it can't really be scaled halfway
70.
▲
by
resonantjacket5
6y ago
Not against url-based imports but I don't quite understand why is "no implied dependency on stateful disk in the runtime itself." a big deal?
71.
▲
by
resonantjacket5
6y ago
It seems it compiles down to golang usually? As in the read me they run ``` gop go tutorial/ # Convert all Go+ packages in tutorial/ into Go packages go install ./... ``` It's more like typescript for javascript than a
72.
▲
by
resonantjacket5
6y ago
Can you not use Bigquery or Aws Redshift? On the microsoft blog posts it seems Azure Data Explorer is more price efficient, though I don't quite understand besides that is it doing something special compared to microsoft's existi
73.
▲
by
resonantjacket5
6y ago
It doesn't look like "eks anywhere"is released yet?
74.
▲
by
resonantjacket5
6y ago
It seems they're planning for multi (OS) threads soon, but it wasn't able to make it into 1.0
75.
▲
by
resonantjacket5
6y ago
tbf he does talk throughout the post about what he was missing out by not having a "normal" lifestyle.
76.
▲
by
resonantjacket5
6y ago
if you use double quotes you only need "See them more than my" lyrics. Though if you do "see them more" you get "Further Than the Stars" song instead.
77.
▲
by
resonantjacket5
6y ago
The main problem I see is that the overall SOLID principles while still correct, the original definitions used are too outdated and heavily imply inheritance everywhere. Single Responsibility, honestly I like 'separation of concerns&#x
78.
▲
by
resonantjacket5
6y ago
@drooby yes we've all had to learn about it in class. "Single responsibility" has a definition but I've never seen a person have a good time defining the "single responsibility" part that well IRL when it comes
79.
▲
by
resonantjacket5
6y ago
I meant more as for non-trivial classes when people are deciding when to break up a class the "single responsibility" part is too loosely defined to the point where I've never seen people actually use it as a metric. I agree
80.
▲
by
resonantjacket5
6y ago
I think the push against SOLID is fine. I've never really seen the 'single-responsibility' part ever really followed or used in a way that made sense. I haven't really seen a strong push against unit tests?
81.
▲
by
resonantjacket5
6y ago
I mean if you don't have a drivers license in usa you practically can't buy groceries nor have a job unlike in most other countries.
82.
▲
by
resonantjacket5
6y ago
in general when you don't have it you end up with a mess of nested if statements. Or end up calling some outside script to inject some form of a function. Plus even without turing completeness you can still end up with exponential comp
83.
▲
by
resonantjacket5
6y ago
You can technically wrap the promise and spin lock on it till it resolves. Aka forcibly wait on an async function in a sync function. There are some npm libraries that provide it. I've used a couple times (for some hacky scripts), thou
84.
▲
by
resonantjacket5
6y ago
"does not allow in any way calling promise/async/callback" To be accurate you can wrap your promise with a spin lock and wait on it if you really really want to. It's just a horrible idea for the browser. But yes yo
85.
▲
by
resonantjacket5
6y ago
There are going to be webworkers which will allow you to use more than one thread. (Though it is technically a browser implementation so it'd be up for the browser to implement/allow it)
86.
▲
by
resonantjacket5
6y ago
That doesn't let you merge in someone else's changes easily. Aka two team members make changes to the (local copy of) database and now you want to merge it. I mean sure you can have another database tracking their changes and a me
87.
▲
by
resonantjacket5
6y ago
yeah I agree it is kinda confusing. types and interfaces used to be more separate but now they're kinda converging where its confusing when to use which. I don't think typescript can ever be too strict, there's lots of other
88.
▲
by
resonantjacket5
6y ago
Your comment reminded me about the html over websockets article a couple days ago https://news.ycombinator.com/item?id=26265999 , though the general consensus seemed to be against it. Yeah it is quite interesting how everyth
89.
▲
by
resonantjacket5
6y ago
If you don't have types you still might not know what to pass in. I mean if it says function( id, filePath, newStudent) is id a number or a string. Or say filePath perhaps you have a defined class for that instead of passing in a strin
90.
▲
by
resonantjacket5
6y ago
Accept in this case I don't really see why you'd want a naive o(n^2) parser when it isn't needed. Well besides for slow loading times.
More ›