Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
xfer
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
16 ms
·
121.
▲
by
xfer
5y ago
Isn't using bottom bit is how most runtimes represent their ints taking advantage of the fact that gc pointers are aligned? This is common practice afaiu.
122.
▲
by
xfer
5y ago
I still wouldn't consider it a bug since we are throwing lots of lsbs anyways. It matters even less when we are talking about Peta/Exa bytes.
123.
▲
by
xfer
5y ago
The real question is why is it a bug to report 1 mB instead of 999.9 kB for human readable output? It seems like a nice excursion to FP related pitfalls, but i don't think this is a problem to get entangled in that.
124.
▲
by
xfer
5y ago
powershell has encodedCommand[0] that does this without needing base64. 0: https://docs.microsoft.com/en-us/powershell/module/microsoft...
125.
▲
by
xfer
5y ago
I think the major ingredient for HN is focus on topics that are interesting to "techinical" people. When you focus on particular set of activities it becomes easier to just say no to a lot of other contents. I don't have twit
126.
▲
by
xfer
5y ago
Yeah, my brief experience and impression with these voice assisted coding is they require $300 microphone and a quiet room to get acceptable level of accuracy. It probably is worth for physically impaired people (but i fear what 6hrs daily
127.
▲
by
xfer
5y ago
> In my line of work, I like the idea of using Rust but realistically the economic sweet spot is something like “Go with sum types” or “Rust-lite”. AKA Ocaml.
128.
▲
by
xfer
5y ago
Game programmers mostly want tight control of object layout and lifecycle. GC doesn't matter much when use ECS all over your codebase. As long as they can run the GC when they want and can layout the objects flat without needing pointe
129.
▲
by
xfer
5y ago
Using 2011 sandybridge motherboard with a xeon-1230 i bought in 2012. I Had to replace 2 HDD + started using ssd for OS partition. It's working great, need to replace my nvidia GPU that is EOL but still working great.
130.
▲
by
xfer
5y ago
Yet decades old dynamically typed language like scheme and lisp are all self-hosted, even their own compilers. I can bet you that quite a few scheme implementations will beat python in performance.
131.
▲
by
xfer
5y ago
Here is a cheap board but with no peripherals: https://www.tindie.com/products/tinyvision_ai/upduino-v30-lo...
132.
▲
by
xfer
5y ago
Not to mention the tools are shit and synthesis takes a long time. If you thought c++ compilers are slow just try using fpga tools.
133.
▲
by
xfer
5y ago
They failed to land it. It was https://en.wikipedia.org/wiki/Chandrayaan-2 .
134.
▲
by
xfer
5y ago
Open it in notepad? You don't install software that automatically build your project and complain that it is doing that.
135.
▲
by
xfer
5y ago
I mean there are people making $1 for 1000s of recaptcha solved. So not sure how a $40 device is not an improvement if your goal is to enforce some rate-limiting against scripts using these services.
136.
▲
by
xfer
5y ago
Not sure about facebook, but google used to(no longer use them) warn me about location change(SMS and e-mail to secondary account).
137.
▲
by
xfer
5y ago
Kotlin doesn't sound like a good language to bet on since most suitable(for jvm) features it has will be integrated by Java now that it has picked up pace. I guess it only has decent marketshare because of google's android support
138.
▲
by
xfer
5y ago
Do you plan to join the bandwidth alliance at cloudflare? Data prices are quite costly. It's the same as GCP/AWS.
139.
▲
by
xfer
5y ago
Anytime you need some parallelism like processing chunks of data independently? Using processes to do it is not very ergonomic.
140.
▲
by
xfer
5y ago
Some software will require a lot of patching because they hardcode locations or has some non-deterministic build process. Other than that you will have to deal with a non-conventional language for which you may need to look at the manual wh
141.
▲
by
xfer
5y ago
Well if you don't need multi device sync(i don't), it's literally as useful as a FTP server that is reliable(i just use backblaze b2 with rclone).
142.
▲
by
xfer
5y ago
Judging the state of affairs there might as well go with ATS. http://www.ats-lang.org/
143.
▲
by
xfer
5y ago
> Yet, our very existence is a consequence of reproduction It's a consequence of evolution. Right now we are limited yes. But nobody knows future. > If we don't experience our existence in geological/cosmic time scales
144.
▲
by
xfer
5y ago
Yes typed racket works the same as typescript. But it's an earlier work. Typescript probably took inspirations from it along with others. Typed-racket has some form of refinement types now as well.
145.
▲
by
xfer
5y ago
I also like the racket contract system, it is very expressible. But comes with a performance penalty that i can't justify for anything inside a loop. Typed-racket might help but i haven't used much so not so sure.
146.
▲
by
xfer
5y ago
Yes, just use C with asan, msan, valgrind and frama-c. Why invest in types?
147.
▲
by
xfer
5y ago
The post is about crazy-new idea. This app is a RDP solution that is not a crazy or a new idea. It all depends on economic viability and marketing to the right people.
148.
▲
by
xfer
5y ago
This doesn't look like an end-user product, so it's mostly can you trust/audit the company? Most of them are already using aws to host their data.
149.
▲
by
xfer
5y ago
Yes, the pre-NLL version makes it clear to see why swapping the assignment lines wouldn't work. EDIT: i think some tooling showing lifetimes for borrows would be very helpful. Can mir do this? I haven't tried it.
150.
▲
by
xfer
5y ago
Would this have worked pre-NLL?
More ›