Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
z3t4
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
52 ms
·
721.
▲
by
z3t4
5y ago
It depends how you manage scope. When there are thousands of global variables it will be impossible, but if the language (like Dlang) allows local scoping of imports it's manageable... If you are very strict about what is an actual de
722.
▲
by
z3t4
5y ago
I've made a web based editor ( https://webide.se/ ) that does automatic indentation. You can copy any JavaScript code into it and it will parse and indent. When using other editors i find it annoying to have to manually
723.
▲
by
z3t4
5y ago
At one point it takes longer to implement a simple feature then it takes to rewrite the whole program, that's when you rewrite the whole program (using a sane amount of dependencies - as few as possible)
724.
▲
by
z3t4
5y ago
Remembering the core syntax and api's are like magic for productivity, you no longer think in words or variables, you think in data structures and how different endpoints and functions interact, your hands type the code via muscle memo
725.
▲
by
z3t4
5y ago
I think it's about the thin client, I imagine something like double 4k displays on light-weight googles and advanced finger tracking sensors so that you can "type" anywhere, even laying down. And plugged into a network cable,
726.
▲
by
z3t4
5y ago
It could be more doable if the games used the same game engine
727.
▲
by
z3t4
5y ago
If the spy camera has infrared leds then you can detect those by removing the infrared filter from a camera, can be done on some smartphone cameras programmatically I think.
728.
▲
by
z3t4
5y ago
I looked at xmpp 15 years ago and found it overly complicated, inefficient and bloated. Maybe it doesn't stand out as so bad compared to todays tech though.
729.
▲
by
z3t4
5y ago
The fun part in web dev is to make sure everything works on the 0.5% non mainstream browser/platforms. Only supporting 99.5% is boring.
730.
▲
by
z3t4
5y ago
I'm looking forward to the day where I can get a 80 inch smart-tv for free because it's financed with ads and in app purchases. Then I will disable the ads and use it as a dumb-tv behind my receiver.
731.
▲
by
z3t4
5y ago
All it takes is someone that downloads an app, then the app connects to the TV and sends the data via the smart-phone internet connection. Could be your neighbor or anyone in range. Better get a soldering pen and remove the antenna.
732.
▲
by
z3t4
5y ago
How do you distribute programs ? For web the program could get it's own web URL or let you download a .htm file. What are the dependencies to run a compiled program on Windows and Linux ?
733.
▲
by
z3t4
5y ago
so it runs Ubuntu which fires up a virtual machine that runs windows. Why not run the VM directly without Ubuntu !? (and without Docker)
734.
▲
by
z3t4
5y ago
If an "allowed signers" file is used, the public keys are known beforehand, and it will be secure. But if the public key is required when verifying the signature, then where ever that key is requested from needs to be a trusted so
735.
▲
by
z3t4
5y ago
Async is hard. But fun when you can do it intuitively.
736.
▲
by
z3t4
5y ago
For signing to work you need to have the public key of the signer beforehand. If you do not posses their public key it will be impossible to know if the one signing is really the one you think it is. So signing only works if you already hav
737.
▲
by
z3t4
5y ago
You could also just hash the file and publish the hash on your web-site which has a HTTPS certificate. Or simply publish the file on your website - no need to sign. My reasoning is that if your website get hacked it wont help if you have si
738.
▲
by
z3t4
5y ago
At least they have filtered out the comment part, so that e-mail addresses and computer names can't be scraped.
739.
▲
by
z3t4
5y ago
Phone numbers are tied to your identity. You cant buy a mobile sim card without showing your id and the phone number will be registered to your id.
740.
▲
by
z3t4
5y ago
sudo zfs rollback mypc/ROOT/ubuntu@tuesday
741.
▲
by
z3t4
5y ago
You don't have to do everything in house, you can for example buy servers with a on site support agreement. Then you just have to buy new servers at regular intervals, you don't need to have a guy that can fix a server with a sold
742.
▲
by
z3t4
5y ago
What do you guys use Cloudflare Workers for ?
743.
▲
by
z3t4
5y ago
If you care about first load time, then the web font will have a significant impact. However there are no "web safe fonts" eg. fonts that exist on The top 95% most common systems. You can choose between sans-serif or serif (non fa
744.
▲
by
z3t4
5y ago
Also you avoid writing CSS and designing like before CSS existed. Its more messy but a bit easier to learn then CSS. CSS is simply too advanced and powerful it takes years to master. Ohh and you can copy/paste components into your spag
745.
▲
by
z3t4
5y ago
Site difficult to brows on mobile. Order button doesnt work. Nice features though, dont have to move around a screen when connecting to a server...
746.
▲
by
z3t4
5y ago
You could also take advantage of economy of scale and host your static web site on a CDN - together with thousands of other web sites. And pick a CDN that runs entirely on "green" energy.
747.
▲
by
z3t4
5y ago
About the same amounts of pests every summer, so I'm not concerned. If the winter comes fast, like 15 C one day and -15 C the next day, many will die and there will be less of them the following spring, but at the end of the summer the
748.
▲
by
z3t4
5y ago
What if we had an object massive enough that gravity could not escape? Would it become weightless?
749.
▲
by
z3t4
5y ago
Css classes will complicate the css it can for example become hard to see what takes precedence when you mix classes and element. And it doesnt help that CSS is also has significant white space as in .foo.bar vs .foo .bar So by practicing w
750.
▲
by
z3t4
5y ago
And that more specific rules override the cascade. And once you feel comfortable - try avoid using classes. (never use id)
More ›