Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
devnull3
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
31.
▲
by
devnull3
1y ago
Why not use a different encryption key per session and stamp encrypted ids (or whatever info) to the outside word. This way the DBs can use simple sequence numbers instead of timestamp based IDs.
32.
▲
by
devnull3
1y ago
I am backend dev and dipping my toes in frontend dev for my side hustle. It is a typical CRUD app (like most of them). I like the idea behind HTMX or datastar. I built a prototype in it as well. But then I pivoted to solidjs. Some reasons f
33.
▲
by
devnull3
1y ago
There was a time when my main aim of a choosing a certain ringtone was to appear edgy and cool ... and how annoying and wrong was I! A sample of bad ringtone (auto-tuned baby crying) which was trending back then (2007-2008) was [1]. Thankfu
34.
▲
by
devnull3
1y ago
For me the look and feel of Win XP was breath of fresh air compared to Windows 98. WinXP was more user friendly and I was not a power user back then.
35.
▲
by
devnull3
1y ago
Win XP remains my favourite OS till date. I was in college and getting hands on a pirated copy back then makes me so nostalgic. There was a cambrian explosion of tools to customize the look and feel. TweakXP pro is the one I remember. All p
36.
▲
by
devnull3
1y ago
> He just put the sessionId in the form data instead of a cookie. This does not have the benefit of being usable across different tabs or even closing and re-opening the page. Besides, (a minor point) shoving all the state in the cookie
37.
▲
by
devnull3
1y ago
Not really. DS v1.0 has HTMX like request/response option as well. You might need async if there are lot of concurrent users and each of them using long duration SSE. However, this is not DS specific.
38.
▲
by
devnull3
1y ago
Cookie is what we make of it. For browser, its opaque data anyway. So, when /upload is requested, the backend in response sets a cookie with a random uploadId (+ TTL). At the backend, we tie sessionId and uploadId. With every step whic
39.
▲
by
devnull3
1y ago
With DS (and HTMX) the backend is the source of truth. In the context of the blog post, the state will be made-up of: step no, file content, file path, etc. This can be stored against the session ID in a database. So when opened on a differ
40.
▲
by
devnull3
1y ago
In DS, with SSE you can paint different parts of the page with ease. So in this case, it can update <form> and <label> separately. So instead of one update the backend fires 2. There is not separate marker or indicator for OOB.
41.
▲
by
devnull3
1y ago
> Challenge 2: Passing data down each step Why not use cookies?
42.
▲
by
devnull3
1y ago
This should be trivial with the HTMX alternative: datastar [1] In datastar the "Out Of Band" updates is a first class notion. [1] https://data-star.dev
43.
▲
by
devnull3
1y ago
One of the recent inventions I like: Presstitute Its a combo of "Press" and "Prostitute" and it aptly describes some journalists and media people who clearly take sides and have sold their souls.
44.
▲
by
devnull3
1y ago
This does not talk about the numbering system. See [1] "Lakh" => 100K "Crore" => 100Lakhs [1] https://en.wikipedia.org/wiki/Indian_English#Numbering_syste...
45.
▲
by
devnull3
1y ago
Another one: updation https://www.oed.com/dictionary/updation_n
46.
▲
by
devnull3
1y ago
Prepone is now a word in Cambridge dictionary [1]. It acknowledges the origin to India. [1] https://dictionary.cambridge.org/dictionary/english/prepone
47.
▲
by
devnull3
1y ago
The irony is that these companies will make you sign & enrol trainings for "code-of-ethics" and the same management will indulge into shady practices (like the OP mentioned). Btw, there are other ways to get rid of employees w
48.
▲
by
devnull3
1y ago
Is there any list of games with same focus on being ad-free? Does not have to be free.
49.
▲
by
devnull3
1y ago
The behavior attributed to Indians in the article is universal. Admission to few college seats is a zero sum game anywhere in the world. In SF, see if companies share knowledge if they are after the securing a contract from the same B2B cus
50.
▲
by
devnull3
1y ago
Fun fact: The computer in simpsons is a coleco [1]. On an unrelated note, the short clip is funny as well. [1] https://youtu.be/av4lbel9aIo?t=7
51.
▲
by
devnull3
1y ago
I may have a outdated notion about the trades you mentioned, but I have seen an "apprentice" model a lot. I have seen it with a masonry where the experienced guy was bringing in his nephew and teaching him on the job. A lot of the
52.
▲
by
devnull3
1y ago
Males are under pressure to "sustain" it for 10-15 min atleast (with many people watching). For females, no such thing.
53.
▲
by
devnull3
1y ago
I wonder which other professions or trade ask people to perform infront of them in a simulated env as a filter criteria. Actors for sure with auditions and maybe maybe chefs, male pornstars.
54.
▲
by
devnull3
1y ago
Amazing! This nicely demonstrates capabilities of datastar. I suggest to put a comment on the page to open dev tools and see the SSE event in action. I think people will appreciate D* even more.
55.
▲
by
devnull3
1y ago
If I have to guess the tuning and optimizations: SQLITE: 1. Smaller page size (to be specific: max(disk_sector_size, 512)) 2. Integer primary keys 3. WAL mode 4. Increase page cache size. This is assuming that most people will click in the
56.
▲
by
devnull3
1y ago
Barring the interactivity SPAs will also end up talking to server anyway. So even SPAs will feel sluggish in a high latency env.
57.
▲
by
devnull3
1y ago
I think optimization triggers fundamental instincts in humans: 1. Tracking i.e. navigating through jungles for hunting or find where the bottleneck is. 2. The thrill of the hunt. The joy after finding the hotspot or the bottleneck. It makes
58.
▲
by
devnull3
1y ago
Shouldn't the service daemon upgrade schema and perform migrations on initialisation? Before performing upgrade make a copy of the db file. Also multiple DBs can be inited in parallel. I fail to see why this might be so hard.
59.
▲
by
devnull3
1y ago
> hypervigilant If a tech works 80% of the time, then I know that I need to be vigilant and I will review the output. The entire team structure is aware of this. There will be processes to offset this 20%. The problem is that when the AI
60.
▲
by
devnull3
1y ago
I think an in-between approach could be: 1. Identify top-N tenants 2. Separate the DB for these tenants The top-N could be based on mix of IOPS, importance (revenue wise), etc. The data model should be designed in such a way that from rows
More ›