Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
justsomeuser
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
15 ms
·
91.
▲
by
justsomeuser
5y ago
I already have a JSON query language - it’s JavaScript. > Queries are 80% shorter than imperative code From the examples they look the same length as the corresponding JS I would write, maybe slightly longer. What are the advantages to u
92.
▲
by
justsomeuser
5y ago
OP means you are looking at both the structure of the DOM (JSX) and the CSS (className). The “tailwind” effect is due to fast feedback and iteration - there is no jumping between two files (DOM file and CSS file). Of course this also leads
93.
▲
by
justsomeuser
5y ago
I like it. Most websites split your focus into a million visual things showing at the same time. This forces your focus to a single element. It’s quite calming compared to other news sites. I only speak English though.
94.
▲
by
justsomeuser
5y ago
It references the function return type: Colored = Promise<T> Colorless = T In "colorless" async/await, async functions are implicit (no async keyword), and when called, the compiler auto-unwraps the promise, so everythi
95.
▲
by
justsomeuser
5y ago
I think the issue is that you cannot test 100% of your SQL queries the way you can with a compiled language. What if there is an “if” branch taken 1 in 1000 times? You would not encounter the error during development.
96.
▲
by
justsomeuser
5y ago
Well, Google is an AI.
97.
▲
by
justsomeuser
5y ago
I upgraded from a 2014 MacBook Pro (dual core), it is at least 2x faster for both full and incremental Rust builds.
98.
▲
by
justsomeuser
5y ago
This is how I keep feedback loops short: - IntelliJ tells me any type issues instantly (I find this makes up some of the time for not having a REPL). - Small tests kind of work like a REPL. - watch.sh running in a terminal, re-compiles and
99.
▲
by
justsomeuser
5y ago
Can I connect using an SSH tunnel (without the SSL cert)?
100.
▲
by
justsomeuser
5y ago
I eat these daily. How would I know my risk of this?
101.
▲
by
justsomeuser
5y ago
Sure they don’t need to know how to schedule their computations on CPU’s as another team member can handle it, but I think the reality is that if you work in software you have to constantly be learning.
102.
▲
by
justsomeuser
5y ago
https://www.amazon.co.uk/Kettlebell-Simple-Sinister-Revised-... “Simple Sinister” is a program with kettle bell swings and Turkish get ups - it is a good basic program for general core strength when you have limited time. L
103.
▲
by
justsomeuser
5y ago
I also think that the rifle can “set the frame” for the character or scenario. E.g. that the character is the kind of person who owns guns. It does not go off or get used, but the viewer will use that as input to make a judgement about the
104.
▲
by
justsomeuser
5y ago
(McFlurry)
105.
▲
by
justsomeuser
5y ago
All those franchises are just making a flurry outta nothin
106.
▲
by
justsomeuser
5y ago
With stored procedures you run your code inside of the SQL server process. With SQLite, your entire application IS the process, and your SQLite data moves from disk to your app processes RAM. I think the SQLite model is much better as you g
107.
▲
by
justsomeuser
5y ago
Blocks of magnesium are not fire hazards are they? Magnesium only ignites easily when in thin strips?
108.
▲
by
justsomeuser
5y ago
My understanding is that cell based life never stops evolving - it is a constant feedback loop with the environment to build organic tools to extract resources from the environment. It always makes me laugh when people have the concept that
109.
▲
by
justsomeuser
5y ago
Not making a lot of moolah but here is the current iteration: - HTTP API: Rust, type checks are really useful as web apps are often just messaging. Not being able to cleanly assert JSON structure in dynamic languages started to become an is
110.
▲
by
justsomeuser
5y ago
Opinion: Don’t put your business data in s3 objects! It can work if all you will ever need is a key value store, but as soon as you need SQL-like queries (joins, filtering, transactions) you will be stuck reimplementing a sql engine in your
111.
▲
by
justsomeuser
5y ago
It is possible that the db is shared between many processes with potentially different types
112.
▲
by
justsomeuser
5y ago
Would you not have unique code per customer regardless of if the code is SQL queries or C#?
113.
▲
by
justsomeuser
5y ago
Nice. What kind of business logic are you using SQL queries for?
114.
▲
by
justsomeuser
5y ago
I think strong types actually make this easier. I often build systems, then break them up to take the working parts out, then put a subset back together. The type system is like magnetic Lego that lets you snap pieces together. With a dynam
115.
▲
by
justsomeuser
5y ago
Why BRScript?
116.
▲
by
justsomeuser
5y ago
It was deprecated because it was difficult to write a standard spec for the existing SQLite code (but a key value system is much easier to specify as there is no SQL language).
117.
▲
by
justsomeuser
5y ago
I thought that line was a mistake too. Your software is just a tiny amount of code (relative to the whole system) making up the control plane between all the pieces. I think the author probably meant that to personally write less code you n
118.
▲
by
justsomeuser
5y ago
Which language did you use to encode these types?
119.
▲
by
justsomeuser
5y ago
I think you are ignoring the fact that people have different brains. Sure, persist through mild discomfort. But would you advise people who are hallucinating to do the same?
120.
▲
by
justsomeuser
5y ago
I think the title implicitly meant “good”, as in “you think it’s a good idea until you press it against the grindstone that is reality”. Also I think these issues arise at the database because that’s were the write concurrency is pushed.
More ›