Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
TakeBlaster16
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
91.
▲
by
TakeBlaster16
4y ago
Oops I didn't explain clearly. Take this code: pub fn abc() -> usize { #[allow(deprecated)] "abc".len() } I want it to complain about the "allow", because there was never any deprecated warni
92.
▲
by
TakeBlaster16
4y ago
There's a nice eslint plugin for disable-line hygiene: https://www.npmjs.com/package/eslint-plugin-eslint-comments I do wish Rust had something like this too
93.
▲
by
TakeBlaster16
4y ago
Zig seems to behave similarly. This compiles: export fn x() i32 { var a: i32 = 1; // okay a = 2; return a; } This does not: export fn x() i32 { var a: i32 = 1; // unused variable
94.
▲
by
TakeBlaster16
4y ago
His suggestion is even counterproductive in a way, because it makes it more likely people will accidentally commit unused vars they have silenced. I _want_ the compiler to help me find unused things... just not yet. Wait until my pre-commit
95.
▲
by
TakeBlaster16
4y ago
I tried Zig recently but I found the unsilenceable lints to be a huge productivity killer. I actually posted a link to the GitHub issue this morning. https://news.ycombinator.com/item?id=32751317 This makes a normal workflo
96.
▲
by
TakeBlaster16
4y ago
If you want to talk about bitcoin, maybe link something more substantive than "price go up" or "price go down"
97.
▲
Zig: Compile Errors for Unused Things
(github.com)
9 points
by
TakeBlaster16
4y ago
|
5 comments
98.
▲
by
TakeBlaster16
4y ago
I think the preferred build system is Vite. Assuming you're looking at https://www.solidjs.com/guides/getting-started , they mention Vite first, and under that is manual setup for webpack/rollup/etc if yo
99.
▲
by
TakeBlaster16
4y ago
I'm 100% sure he knew what he was talking about. That line wouldn't have fit the song if he threw out a reasonable-sounding number for the 90s. > Defragging my hard drive occasionally, when I start to notice drops in i/o p
100.
▲
by
TakeBlaster16
4y ago
Those prices are derived from a site called NiceHash that tries to commodify hashpower. Most people who want to monetize their mining hardware, just... use it to mine, not lease it to a reseller. So both the supply and demand are low. It&#x
101.
▲
by
TakeBlaster16
4y ago
> estimated cost of 51% attack Someone already built that one here: https://www.crypto51.app/
102.
▲
by
TakeBlaster16
4y ago
At a minimum I would group PoW and PoS coins separately, as the incentives for each category are quite different. This site acknowledges that in a way with separate lists at the top for "nodes" and "validators", but unde
103.
▲
by
TakeBlaster16
4y ago
I got the same warning for "hollow earth". I guess conspiracy theories are also NSFW? https://i.imgur.com/oJR84Hd.png
104.
▲
by
TakeBlaster16
4y ago
I feel like people glamorize architecture in general. Sure the Empire State Building was probably fun to design, but 99.9% of architects are just designing bland office buildings or long hallways of apartment boxes. On average it's pro
105.
▲
by
TakeBlaster16
4y ago
If I write some ugly code to get prod back online ASAP, did I immediately become a bad person? Or do I only become a bad person after some number of weeks passes and I haven't refactored it to clean it up yet?
106.
▲
by
TakeBlaster16
4y ago
You've unlocked a memory. Probably 10-15 years ago, I tried a bunch of eye tracking apps and found one that somehow worked really well with my cheap USB webcam. I'm sure it needed to be calibrated first. It was classic developer s
107.
▲
by
TakeBlaster16
4y ago
This argument is almost never useful. Times change. People survived hundreds of years ago without electricity or running water, so it should be perfectly fine if the government shuts off utilities for protestors, right?
108.
▲
by
TakeBlaster16
4y ago
Not sure about this one. You can get both kinds of phones for $0 with a monthly payment.
109.
▲
by
TakeBlaster16
4y ago
I remember the headlines when a bank refused to pay a judgement and the sheriff showed up later to foreclose on a local branch. That might be the next move here. https://www.npr.org/sections/thetwo-way/2011/06
110.
▲
by
TakeBlaster16
4y ago
Mining on earth has the handy benefit of not requiring huge amounts of energy to send payloads through space
111.
▲
by
TakeBlaster16
4y ago
The moon has a mass of 7×10^22 kg. How will wildlife on earth be affected if we mine a billionth of a billionth of a percent of its mass from the side that is never visible?
112.
▲
by
TakeBlaster16
4y ago
As a mediocre developer, I'll gladly endorse this view.
113.
▲
by
TakeBlaster16
4y ago
Yep. And 15:25 is when he said the first factory was in Taiwan. EDIT: Also a bonus mention at 27:35
114.
▲
by
TakeBlaster16
4y ago
https://www.youtube.com/watch?v=OuNPbqsoDus That body language is pretty damning
115.
▲
by
TakeBlaster16
4y ago
GPS is not hard to spoof.
116.
▲
by
TakeBlaster16
4y ago
A major benefit of Rust/Go/Zig is control over data layout. If your language doesn't have value types, the CPU spends a lot of time pointer chasing and trashes the cache. In the worst case a cache miss could have the CPU sitt
117.
▲
by
TakeBlaster16
4y ago
That makes sense, I didn't consider that angle. Thanks for the info.
118.
▲
by
TakeBlaster16
4y ago
I don't follow this stuff very closely - is there any open-source model for text generation that outclasses GPT-3? Stable Diffusion has been released for barely a week and already seems like the clear winner. It doesn't seem like
119.
▲
by
TakeBlaster16
4y ago
To be fair, it started out as a wiki, and they just never changed the name. There's no CSS here but you can clearly see the MediaWiki template: https://web.archive.org/web/20090422103636/http://www.w
120.
▲
by
TakeBlaster16
4y ago
That honestly reminded me of Cuppliance from Black Mirror.
More ›