Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
unchar1
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
unchar1
2y ago
I'm not sure if "C++ class" is the right term, but it will certainly compile into a class behind the scenes [1] You can use d8 to check what the class structure ends up looking like [2] --- [1]: https://v8.dev/
32.
▲
by
unchar1
2y ago
Classes generally point you towards writing more performant code. Factory functions allow you to achieve the same performance, you just have to be a bit more careful not to cause a depot :) For example, 1. field declarations [1] make sure t
33.
▲
by
unchar1
2y ago
I also feel this with X/Twitter, where everything feels like a promotion for a course or a book or a new product. Posting things because they are fun to write is a lost art.
34.
▲
by
unchar1
2y ago
The WSL section doesn't really make sense >But what you must know is that WSL has a lot of problems when compared to a full Linux OS. Some packages will not be up to date and sometimes will not be as functional as a Linux distro. AF
35.
▲
Resource Management in Aurora Serverless
(brooker.co.za)
1 points
by
unchar1
2y ago
|
0 comments
36.
▲
How Netflix stayed online during an AWS outage (2011)
(netflixtechblog.com)
1 points
by
unchar1
2y ago
|
0 comments
37.
▲
The Deno Standard Library
(github.com)
46 points
by
unchar1
2y ago
|
14 comments
38.
▲
The sun doesn't shine on me
(web.archive.org)
4 points
by
unchar1
2y ago
|
1 comments
39.
▲
The Christmas Easter Egg That Went Wrong
(blog.shunliang.io)
2 points
by
unchar1
2y ago
|
0 comments
40.
▲
JavaScript garbage collection doesn't work how I expected
(twitter.com)
2 points
by
unchar1
2y ago
|
1 comments
41.
▲
by
unchar1
2y ago
That may be due to a combination of Malware detection + most unix programs not really written to take advantage of the features NTFS has to offer This is a great talk on the topic https://youtu.be/qbKGw8MQ0i8?si=rh6WJ3DV0jDZ
42.
▲
Make your program slower with threads (2014)
(brooker.co.za)
152 points
by
unchar1
2y ago
|
104 comments
43.
▲
by
unchar1
2y ago
It may be useful if you have data that originates from another source or if something outside of our system references your entity. In that case you need to keep some form of an externalRef, so it's usually easier to just use an id tha
44.
▲
by
unchar1
2y ago
Wouldn't a static parse method still allocate memory for the object that it returns?
45.
▲
by
unchar1
3y ago
Typescript's type system is known to be turing complete and people have implemented things such as sorting/tree-walking just using types (i.e. during compile time) [1]. I'd imagine something like this should be possible as w
46.
▲
Static Hermes: Compile JavaScript to speed it up 300x (in microbenchmarks)
(tmikov.blogspot.com)
121 points
by
unchar1
3y ago
|
18 comments
47.
▲
by
unchar1
3y ago
If you inform your manager that doing X could break the site and they still push for it, then it is in fact their fault when it breaks. The point of a decision-maker is to make informed decisions, if you fail to do that, then you fail at le
48.
▲
by
unchar1
5y ago
I first heard that in a talk by Kevlin Henney [1]. I'm not sure if he's the one who came up with it though. [1]: https://twitter.com/KevlinHenney/status/381021802941906944
49.
▲
by
unchar1
5y ago
I can understand that Go has a GC so it (might) be slower. But wouldn't Rust and Zig have about the same performance?
50.
▲
John Carmack discusses the art and science of software engineering (2012)
(blogs.uw.edu)
2 points
by
unchar1
5y ago
|
0 comments
51.
▲
by
unchar1
6y ago
I think the word you're looking for is "tedious". Go is both simple and tedious to write. I'd actually argue it's tedious _because_ of its simplicity.
52.
▲
by
unchar1
6y ago
Curious if you tried this on an EC2 instance in AWS? The IOPS for EBS volume are notoriously low, and possibly why a lot of self-hosted DB instances feel very slow vs similarly priced AWS services. Personal anecdote, but moving to a a dedi
53.
▲
by
unchar1
6y ago
Sorry for the late reply, Yes, I did try this and although I don't particularly need remote editing, the fact that it took me less than 2 minutes to setup a remote editor with auto-complete and other IDE features was pretty amazing.
54.
▲
by
unchar1
6y ago
If you want a resource that's limited and can't be created by central banks, why not use something like Gold/Silver like we used to? While not going trying to debate on whether we should or should not use a limited resource
55.
▲
by
unchar1
6y ago
> They just copy their init.el/vimrc to the server, Emacs/Vim users have been able to do this (coding on remote environments without all the kludges) since forever ;) and personally, I find it superior to vscoce's remote p
56.
▲
by
unchar1
6y ago
> Stateful "functions" is just so asinine I don't even know where to begin I feel like the React team did a bad job at communicating that the functions are still stateless. The functions themselves never hold state, they j
57.
▲
by
unchar1
6y ago
I agree that lua is a good fit here, being a smaller and easier language to embed, with a much simpler runtime to boot. But could you elaborate on why you think JS is an inferior language?
58.
▲
by
unchar1
6y ago
Actually developers built the market. Without that Apps on the App store, the iPhone is worth almost nothing.
59.
▲
by
unchar1
6y ago
The same way that GMail isn't really "free", that 30% tax doesn't come from Apple or the Developer's pocket, it ultimately comes out of your pocket.
60.
▲
by
unchar1
6y ago
>Just to be clear, microservices are not just separate binaries on a network. If you're not following the actual patterns of microservice architecture... you're just complaining about something else So what you're saying i
More ›