Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
sametmax
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
22 ms
·
241.
▲
by
sametmax
7y ago
Most people don't know what a URL is, and you want them to install an OS ?
242.
▲
by
sametmax
7y ago
> The parts I don't like: > + Static linking It's actually what I like in this project. Dynamic linking causes many issues, especially on Linux, where you never have quite the same libs depending of the distro. If I want a s
243.
▲
by
sametmax
7y ago
I don't want a refund. I want to keep my books. "yeah, we take back your transplanted heart but don't worry we will give a refund so it's not immoral"
244.
▲
by
sametmax
7y ago
The part "Case-insensitive comparison requires case folding" says there is an algo for that, but it's up to the language to implement it. E.G: in Python 3, it's recommend to use str.casefold() instead of str.lower() for
245.
▲
by
sametmax
7y ago
Seems fair to me, giving the nature of the language, the inertia of c/c++ and low level stuff, the learning curve of this domain, the popularity of web/scripting and the 4 years I mentioned.
246.
▲
by
sametmax
7y ago
> it doesn't seem to catch up in popularity which I find weird. What's your metric to say that ? After all, it's a system language, not a web one or scripting one, so it's not likely to go to the top trending stats ve
247.
▲
by
sametmax
7y ago
Because you have credibility, while a junior want to reassure.
248.
▲
by
sametmax
7y ago
Or just much less surgeries, or only in support of newbies. Fatigue and speed of execution seem central.
249.
▲
by
sametmax
7y ago
I tried pyinstaller, and never managed to make it work for my projects. Some libs are dynamically linked so it may cause problems. Nuitka worked immediatly, but still dynamamically links libc and doesn't allow this nice rust/pytho
250.
▲
by
sametmax
7y ago
Nuitka can do that. Since it converts python to c, then compile the c code, you can just get the c, and compile it the way you want. PyOxider packages and accesses the python files I think, so they are here and available.
251.
▲
by
sametmax
7y ago
XAR is only for "Linux or macOS", with FUSE installed. PyOxidizer offers a solution that: - works on Windows - can produce executable for Windows, Mac and Linux, but also potentially cross compile from any of those in the future -
252.
▲
Building Standalone Python Applications with PyOxidizer
(gregoryszorc.com)
179 points
by
sametmax
7y ago
|
59 comments
253.
▲
by
sametmax
7y ago
Passwords are not just for websites, same services has different domains, sync is free, autocomplete on mobile, passwords are not the only thing I want to save, etc.
254.
▲
by
sametmax
7y ago
1000x faster than numpy / scipy ?
255.
▲
by
sametmax
7y ago
It helped the trains, not the kids.
256.
▲
by
sametmax
7y ago
It's assuming it's already safe. There is a good chance several armed conflicts of the last decades were influenced by climate chances consequences. Conflicts that also cascaded into other tension rising events, because of immigra
257.
▲
by
sametmax
7y ago
I can imagine many more types of bugs: - fatigue bugs - inattention bugs - typo bugs - unknown unknown bugs - bad merge bugs - upgrade bugs - multiple teams or devs screwing up together bugs I mean, you can always stretch the meaning of &qu
258.
▲
by
sametmax
7y ago
Just because you observe a problem doesn't mean you have a solution. That doesn't remove the value from the observation, as long as it's not a way to just regularly complain at everything without a goal.
259.
▲
by
sametmax
7y ago
You could do that with regular HTML. Google crawling everything would easily let them know if a page is light and easy to preload, giving and incentive to web dev to make it so, instead of creating a lock in solution.
260.
▲
by
sametmax
7y ago
I've started my career as a PHP dev. Even if you consider them equally bad, at least PHP has a stdlib and no prototypal inheritance.
261.
▲
by
sametmax
7y ago
The most famous JS template engine of the early 2000 used to be literally called "mustache" because of it: https://mustache.github.io/
262.
▲
by
sametmax
7y ago
Both are used. Here you can see Steven D'Aprano, one of the dev of the Python stdlib, naming it "splat": https://mail.python.org/archives/list/python-ideas@python.or... I use "splat" all t
263.
▲
by
sametmax
7y ago
It's also about the ability to say "fuck off". People came at Guido relentlessly for adding new features, debating his decisions, trying to change the philosophy and aesthetic of the language. The guy stood up to them for 20
264.
▲
by
sametmax
7y ago
> Well, I tried it out. At least the IMAP is partially mitigated since you basically get a link to a separate web page -- the contents aren't embedded in the email itself. Wow, so it kills your offline productivity as well, and of c
265.
▲
by
sametmax
7y ago
Yes, but again that's the consequence of another bad design: not including spread or another metaprogramming system for this. And not having default values either. Spread has existed in Python forever under the name of "splat oper
266.
▲
by
sametmax
7y ago
Or screen capture, or inspect element, or taking a picture with your phone, or JS injection, or using an extension, or IMAP... The only way for this to work is to restrict the user freedom so much it will: - cost a huge amount of money - lo
267.
▲
by
sametmax
7y ago
It may be logical but: - I know all that, have been programming for 15 years, yet I still would have done the mistake. - Simple unit tests may very well not catch this bug the first time. - The language design allows your brain to ignore th
268.
▲
by
sametmax
7y ago
Certainly not. Creation, customization, maintenance and deployement at the scale of one country is a huge task.
269.
▲
by
sametmax
7y ago
My mother can't. You need a skilled, trained and informed team of technicians to do so. In a dictature killing access to culture and education, it not weird to assume it is hard to breed those so you have a limited pool. So yes, I unde
270.
▲
by
sametmax
7y ago
Hence "mitigates" and not "cancels"
More ›