Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jewel
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
by
jewel
3y ago
As long as the content resets periodically it's probably fine. Right now it's on the front page but in the near future there will probably be only one person on it at a time, who can send it to a coworker and test out the functio
32.
▲
by
jewel
3y ago
Memory compression (via zswap) has made a big difference for me, on Linux, when on a constrained device. It makes a lot of sense for desktop workloads where most time is spent waiting for user input. For me it was a lot faster than swappi
33.
▲
by
jewel
3y ago
The disk cache is what lets the second one catch up. It would only happen if the copies were started at nearly the same time; soon enough that what's been copied so far is still in the cache. I've observed this same behavior on m
34.
▲
by
jewel
3y ago
Sure! Here's an implementation of nand and a 2-bit adder that uses it: https://github.com/jewel/nand
35.
▲
by
jewel
3y ago
> SQL NULL can't be far behind. SQL's NULL is far more useful though, since NULL != NULL. That lets you do things like join two tables with a column and not have the NULLs match. Consider, for example: select * from user
36.
▲
by
jewel
3y ago
This has been an issue discussed for a long time. See https://news.ycombinator.com/item?id=10178989 , as linked to from https://news.ycombinator.com/newsfaq.html , for some context as to why things are the w
37.
▲
by
jewel
3y ago
I hate caps because they don't reflect the underlying reality of the way the backbone works. I run backups in the middle of the night when the lines are otherwise idle. This is also true of data plans for cell phones which have X GB
38.
▲
by
jewel
3y ago
This is a great capability. I wish that it ran the code in a sandboxed iframe in the browser so that I could ask for things that'd waste too much of the providers server CPU to compute. It'd also be great for those iframes to be
39.
▲
by
jewel
3y ago
Trying to attach a license to model weights seems counter-productive to me. If you argue they are copyrightable then surely they are derivative works of the training data, which is unlikely to all be public domain. Machine learning enthus
40.
▲
by
jewel
3y ago
For those that like this sort of thing, Wikipedia calls them malapropisms [1]. Reddit has a bunch of them at r/BoneAppleTea [2]. [1]: https://en.wikipedia.org/wiki/Malapropism [2]: https://old.reddit.c
41.
▲
by
jewel
3y ago
Ruby's if statements are actually expressions, they behave the same as the ternary operator : ? foo = if bar 1 else 2 end
42.
▲
by
jewel
3y ago
Good question. GP is claiming that because ycombinator (YC) investors have put money into AI, we're going to see a lot of AI posts here for the foreseeable future. That's because YC companies use HN to promote their products.
43.
▲
by
jewel
4y ago
Document everything you've tried so far and then do a charge back through your credit card company.
44.
▲
by
jewel
4y ago
Sorry that happened to you. Using a de-duplicating backup solution (such as rdiff-backup or restic), will let you keep daily increments indefinitely with very little overhead.
45.
▲
by
jewel
4y ago
This reminds me of the noise protocol which lets you communicate securely with a single round trip. http://www.noiseprotocol.org/noise.html#zero-rtt-and-noise-p...
46.
▲
by
jewel
4y ago
On Linux there is zram which creates a first-priority swap partition that just compresses the pages and keeps them in memory. It looks like Windows also has memory compression. I believe that OS X has memory compression turned on by default
47.
▲
by
jewel
4y ago
It's Ruby though, where Array has "size", "length", and "count", all of which are equivalent. The programmer chooses which one they prefer based on the context or their style or the phase of the moon. Rub
48.
▲
by
jewel
4y ago
chatodoro.com is available.
49.
▲
by
jewel
4y ago
It's not the default on my Ubuntu, and I don't even see it in apt or snap. I wonder if perhaps you've confused it with another program, or are running an Ubuntu derivative.
50.
▲
by
jewel
4y ago
The concept has been around for a while: https://en.wikipedia.org/wiki/SunPCi
51.
▲
by
jewel
4y ago
It depends on the bitrate. Let's assume 10 mbps for five cameras. That'd be 16.4 TB for a month's footage. Depending on the application, you could lower the bitrate significantly during times of low motion or low detail (su
52.
▲
by
jewel
4y ago
It would probably make more sense to store the heat of summer into the ground directly, using something like a ground source heat pump. An additional benefit is that the same system cools the house in the summer cheaply. My friend has an o
53.
▲
by
jewel
4y ago
I use the hard drive category on pcpartpicker.com, sorted by price per GB. You can then filter by seller and total size if you have other constraints. https://pcpartpicker.com/products/internal-hard-drive/#sort=..
54.
▲
by
jewel
4y ago
Every company should behave this way. At least in the US, trademark requires active enforcement to not become generic and useless. https://en.wikipedia.org/wiki/Generic_trademark#Avoiding_gen... Copyright doesn't
55.
▲
by
jewel
4y ago
A few years ago we played this for a few weeks at the office over Christmas break when things were otherwise slow. We had maybe a dozen players, and played in Survival mode which I believe is infinite with difficulty ramping up. We split i
56.
▲
by
jewel
4y ago
I've been using this magnetic USB-C adapter on my laptop to reduce the wear and tear on the port: https://a.co/d/4JCadfi . I've been using it since March with no complaints. It'd be great if manufacturer
57.
▲
by
jewel
4y ago
The article makes me wonder what the maximum range for a horse would be if carrying its own meals, never grazing, but drinking water along the way as needed. Seems like it'd sort of be like the rocket equation, but more forgiving.
58.
▲
by
jewel
4y ago
Sometimes called YAGNI, or You Ain't Gonna Need It. I've found that the right level of abstraction is the one that saves time and effort and duplication now, for the features you're currently shipping. If you're thinkin
59.
▲
by
jewel
4y ago
That's fantastic. Since Go has gone all-in on static compiling, it'd be awesome if they made it possible to update a dependency without recompiling (or even having the source code for) the rest of the program. In addition to maki
60.
▲
by
jewel
4y ago
If the software improves beyond a certain point, insurers would be willing to take on the risk of this aftermarket approach, making it viable to run a business installing this on cars. Regular consumers wouldn't have to be hacker type
More ›