Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
lrossi
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
31.
▲
by
lrossi
6y ago
You are right, the sleep functions apply only to “this_thread”. What confused me is the comment for the two functions, which refer to the thread as “t” and not “this_thread”; which also matches the naming used for the “is_joinable” function
32.
▲
by
lrossi
6y ago
A little disappointing. I was hoping to see lightweight thread behavior or other lessons learned from Go. The ability to pause a thread from outside is interesting, but it doesn’t seem very useful in general. It also comes with risks. What
33.
▲
by
lrossi
6y ago
It’s terse, but sounds fine to me. > Please respond to the strongest plausible interpretation of what someone says, not a weaker one that's easier to criticize. Assume good faith. https://news.ycombinator.com/newsgui
34.
▲
by
lrossi
6y ago
> Use application-level locking primitives, rather than relying on the database for purposes of getting consistent output from things like LastInsertRowId You mean for generating unique primary keys? Why would last insert row id be slow?
35.
▲
by
lrossi
6y ago
This blog post gives a nice example of how that could be implemented: https://levlaz.org/sqlite-db-migrations-with-pragma-user_ver...
36.
▲
by
lrossi
6y ago
That’s nice. But I didn’t really take it literally. Do you have some benchmark results by any chance? Although it’s a bit of a can of worms, and I would understand if you didn’t want to get into it at this time.
37.
▲
by
lrossi
6y ago
The negative value in the cache size pragma seems a mistake, but it isn’t. Negative values are used to specify a cache size that is a multiple of the page size (more or less) and the sign is discarded. Not a great choice of API IMHO, but it
38.
▲
by
lrossi
6y ago
Upside: At least they used a different name. On other occasions, they just hijack the name. Like they did with dstat.
39.
▲
by
lrossi
6y ago
Indeed. After 30 years of Linux, we should have got better at naming things.
40.
▲
by
lrossi
6y ago
> Another obstacle comes from companies like Facebook and Google, which banned the sale and advertising of N95 masks If this is true, these companies are responsible for thousands of deaths, and should be prosecuted.
41.
▲
by
lrossi
6y ago
What you describe is actually worse than the mafia. They would offer protection to some extent against third party rip-off.
42.
▲
by
lrossi
6y ago
You could also call this TDD.
43.
▲
Solid: A web where users control how their data is accesed
(inrupt.com)
1 points
by
lrossi
6y ago
|
0 comments
44.
▲
by
lrossi
6y ago
Potential. The gaming market is very profitable since the pandemic started.
45.
▲
by
lrossi
6y ago
> a superior UX to Adobe I have a couple of years of experience working with that, and I strongly disagree. It’s also quite buggy. I’ve hit crashes several times while working with large drawings. There are better examples of desktop OSS
46.
▲
by
lrossi
6y ago
> So my new approach is “fuck you”. None of the Wayland detractors have a clue. Nowadays I think even Microsoft is more friendly with its users than Linux desktop developers.
47.
▲
by
lrossi
6y ago
On iPad, it’s impossible to see the bottom of the page. It scrolls back up by itself. There’s a blink as well when it happens. Also, please block double tap/triple tap. They trigger zoom in, then it’s impossible to zoom out.
48.
▲
by
lrossi
6y ago
That’s exactly how I read it as well!
49.
▲
by
lrossi
6y ago
Reddit is overly moderated, to the point that many communities do not seem friendly at all. The programming ones are a mixed bag. But others are worse. I was browsing recently a medical subreddit which was a support forum for a certain clas
50.
▲
by
lrossi
6y ago
Neither. The programmers will still have jobs to debug the apps as they are not handling correctly 1% of the inputs. The managers will come up with all the necessary processes to maintain oversight of the new activities and keep their jobs.
51.
▲
by
lrossi
6y ago
Sorry to hear about your startup. Translating between natural language and SQL is a reasonable idea. I was thinking about this as well, but I didn’t try anything as I don’t have an ML background. I spent some time looking at the SQL side of
52.
▲
by
lrossi
6y ago
Duolingo is pretty bad to learn any language.
53.
▲
by
lrossi
6y ago
Some of these problems might disappear if Google would introduce a payment scheme for Chrome extension developers. Then authors might not be tempted to sell them to scammers.
54.
▲
by
lrossi
6y ago
Or a certain temperature scale used in Liberia.
55.
▲
by
lrossi
6y ago
This is laudable, since I think recent apps like slack or teams are partially responsible for the increase in disruption. Older ways of messaging, like IRC, were not focused so much on notifications and having a full message history that yo
56.
▲
by
lrossi
6y ago
He is not an ex Oracle PM. He’s an old time chrome engineer who switched to management, he said it himself on the thread. But this kind of corporate robot attitude is common for Google. It’s always the same story with them: they deprecate s
57.
▲
by
lrossi
6y ago
The response of the Director of Engineering towards the slackware package maintainer comes off as very arrogant. I guess this is the end of the open source project. Chromium was never truly open source, more like free source, but now it’s n
58.
▲
by
lrossi
6y ago
> People who stress over code style, linting rules, or other minutia are insane weirdos Cannot agree with this one. For example, different indent size can be misleading and has introduced many bugs that are hard to notice during review.
59.
▲
by
lrossi
6y ago
> huge pressure on the virtual memory (VM) subsystem due to extensive dirty page writeback and page steals. The VM subsystem is constantly modifying page table entries (PTEs). This PTE churn results in frequent translation lookaside buff
60.
▲
by
lrossi
6y ago
Right, somehow I missed the time “theft” part. He thinks of his people as if they’re criminals. This is like a textbook example of manager red flags that you should check for and avoid when joining a company.
More ›