Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jweir
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
61.
▲
by
jweir
2y ago
Everyone uses the same formatter & options (which really should have no options, but that ins't the reality for most languages). The formatter rules - move on.
62.
▲
by
jweir
2y ago
Except for CSS via Sass I have not used a build process in all these years. And recently I rewrote our CSS to use modern syntax and nesting and variables and etc. - no more Sass! It worked great but then customers started to complain and se
63.
▲
by
jweir
2y ago
There are many. My kids read them in fourth grade - this particular one I had not seen before. Lots of fun.
64.
▲
by
jweir
2y ago
This is wonderful – however I feel a bit sad that is a museum rather than an active place people live. So many examples of wonderful architecture in California, but they are museums, and around them are built sub par structures.
65.
▲
by
jweir
2y ago
This is probably a design oversight, a week or two ago, the prices were available for the production releases.
66.
▲
by
jweir
2y ago
No, it is that mocks can hide interface changes. So if you have a mock, then you need to test that the interface works without the mock. And if you are doing that, why not just skip the mock? foo calls x(user, date) foo mock # tests pass
67.
▲
by
jweir
2y ago
Own your process – at best that CDN is spying on your users.
68.
▲
by
jweir
2y ago
I tell my developers that each mock you use costs you $100. Maybe it is worth it, but probably not. No I don't really charge em – but it gets the idea across that mocks have costs that you don't always see up front.
69.
▲
by
jweir
2y ago
sass expands the nesting ie .foo { .bar { color: red; } } becomes .foo .bar { color: red; } The first case modern browsers can handle, but versions of Chrome upto some in early 2023 still can't – and tha
70.
▲
by
jweir
2y ago
Anytime we make a change to a screen we opt to upgrade the CSS template. So, only if we are working on that part of the application. Typically it takes just a few minutes to switch out the CSS. Now, there are a few very complex screens tha
71.
▲
by
jweir
2y ago
Our application has been on an old version of Bootstrap. And for sometime we have been evaluating different frameworks and libraries as a replacement. But they all feel huge and complicated. My CSS knowledge was still stuck in 2010, with a
72.
▲
by
jweir
2y ago
Oklo does not have an approved design. They have applied and are awaiting approval. https://www.nrc.gov/reactors/new-reactors/advanced/who-were-...
73.
▲
by
jweir
2y ago
Elm makes great use of these, for example in the Units package: https://package.elm-lang.org/packages/ianmackenzie/elm-units... Very nice to prevent conversions between incompatible units, but without the over hea
74.
▲
by
jweir
2y ago
“When you’re a carpenter making a beautiful chest of drawers, you’re not going to use a piece of plywood on the back, even though it faces the wall and nobody will ever see it. You’ll know it’s there, so you’re going to use a beautiful piec
75.
▲
by
jweir
2y ago
Ah - all is clear ``` [flagged] [dead] Marc Andreessen Is a Maniac (gizmodo.com) ```
76.
▲
by
jweir
2y ago
This story was on the front page of Hacker News – but then disappeared. Did the original poster delete it or something else happen?
77.
▲
Marc Andreessen Is a Maniac
(gizmodo.com)
109 points
by
jweir
2y ago
|
67 comments
78.
▲
Now they have several planned data centers for AI needing 1000MW each
(twitter.com)
1 points
by
jweir
3y ago
|
0 comments
79.
▲
by
jweir
3y ago
https://archive.is/YvMfx
80.
▲
Why an Oregon small utility is among the biggest polluters: Amazon data centers
(oregonlive.com)
21 points
by
jweir
3y ago
|
5 comments
81.
▲
by
jweir
3y ago
It is very experimental as well. An interesting language, but say good by to tried and true tooling since the code exists as records in database, not files. This could lead some huge advantages, and new obstacles. I played with the languag
82.
▲
by
jweir
3y ago
If you are considering hiring and the hire is a developer or at all involved in research and experimentation make sure you are well versed in Section 174. You could be on the hook for a large tax bill since you have to write off developer e
83.
▲
by
jweir
3y ago
We ban most meta programming in our own code. While the meta programming solutions are fun and clever they are often more code than a functional version and hard to maintain. We do allow the occasional use of “send” but try to avoid it. Dyn
84.
▲
by
jweir
3y ago
Bingo. There is nothing wrong with using NOW(), in of itself, and it maybe the best thing to do. But it may lead to surprising results when say you have an application that has mocked out time for a specific time, but you get db results for
85.
▲
by
jweir
3y ago
When possible pass the time as an argument and create pure functions or methods. Reserve Time.now or its equavlent to jobs, controllers, or what not at the edge of your application. Watch out when using NOW() in your db. Not that you should
86.
▲
by
jweir
3y ago
Since Ruby 3 I would recommend trying again. It is much faster now. Back in the Ruby 2 days we had tools like Zeus to preload our development application because loading was so slow (10-20 seconds). These days we just load the whole app (
87.
▲
by
jweir
3y ago
We kept YJIT off for 3.1, but turned it on for 3.2. I am working from my memory here, but I recall 3.1 not performing well with YJIT.
88.
▲
by
jweir
3y ago
We saw memory go up when moving from 3.1 to 3.2, but we also removed compiling Ruby with jemalloc and used the defaults. We have seen performance increase by about 10% for our web applications. Our forking background processes run about th
89.
▲
by
jweir
3y ago
The entire Midwest Energy Market (MISO) does not use DST, but not by disabling it but by setting their org's timezone to EST. On one hand this simplifies a lot – days are always 24 hours for example. But it does complicate interop outs
90.
▲
The life changing art of making facial prosthetics
(ft.com)
1 points
by
jweir
3y ago
|
0 comments
More ›