3,880 karma · joined Apr 2, 2013 (13y ago) · 1,322 submissions
comment 2y ago · link · parent
No type checking = no serious job. I have learned enough from Ansible to not ever touch that kind of stuff again.
There has been a time that Python was a fringe language, only known by some hardcore nerds. I thought Joel Spolsky had once mentioned that having Python on your resume was a signal of a quality developer, someone who went off the beaten path.
Times have changed. Python is now the MS Excel for developers. It shines for quick and dirty data mangling. Unfortunately, that is how a seizable portion of people approach software engineering. My theory is that for some having to do abstract thinking and perform a dry analysis beforehand is an impediment. They can only discover what they want while banging out something. They fix the runtime errors they could catch, and slap some more features on top.
Types imply a kind of foresight, and that is what some people really have difficulty with.
EDIT: Might sound negative, so I admit that the quick feedback cycle you can get from an interpreter language like php/python is a feature in itself.
comment 2y ago · link · parent
I would think twice to give my soul to an unregulated tech company on the quest to monetize, and I seriously advise anyone to do the same.
It is amazing how often people let themselves be screwed over in exchange for convenience or quick results.
More broadly, I feel I cannot use AI unless it runs locally and nothing would ever leave my device.
comment 2y ago · link · parent
The problem is that the non-technical founder doesn't have the funds to hire senior developers so he needs to raise money without being able to present a team and alpha version. Also, if there is no buy-in from tech-people, how well are you going to do when that senior developer gets a better offer some months down the line from a different company?
I dunno how well investors value that proposition?
comment 2y ago · link · parent
When do you need voice and video with a big community btw? I can see if you have a group of like 8 core devs having their own communication channel, but that is something else then hosting the whole community.
Also, your boring, regular forum is searchable. Discord is a black hole, so if the value of information is more than just personal, Discord-like things should be a no-no, even if one doesn't value privacy issues.
comment 2y ago · link · parent
True. I don't understand what we argue about.
- Cars in Europe have become more expensive, regardless if it is a Kia or a VW.
- The Chinese state distort the markets.
I guess we both love cheap transportation. The fact that in this competitive market all brands got more expensive tempers the suspicion that there are wild margins. But I also suspect that we do pay those higher prices regardless because we can.
In China there is a price war, precisely because the state funds a massive scale of EV production. Some Chinese EV manufacturers went bankrupt, but the state brought them back to live. Also, the Joint Venture of VW-Siac receives those subsidies, which helps VW to keep prices low in China. The example you gave was a temporary sale, initially scoped to just 7000 cars, but later increased to 17000. But yes, price difference between EU-China is still big nonetheless for this model.
China is a big market, and all players are working hard to get a foot in the door to establish their brand.
I fear that once a brand is established prices will rise. If you look at the phone market, the OnePlus was once a cheap flag ship killer. Now it is just as expensive.
comment 2y ago · link · parent
In Europe this model of VW is imho over priced indeed, and price sensitive people should buy Korean/Japanese cars anyways.
Aside, what most people seem to miss is that the model mentioned in the article is not for sale in Europe and likely will not be (rumours because it does not meet safety criteria). Its bigger brother is, but that one is also a lot more expensive.
comment 2y ago · link · parent
The most brutal few that make it to the top have to spend much of their energy to get there or defend their position. That is not saying they don't have any ideologies, but leadership in these systems rewards obedience and tribute paying first of all. So you get a system that optimizes optics for a hierarchy of overlords.
Contrast that with the chaotic looking processes that happens within free democratic societies. Leadership has a much broader accountability, faces scrutiny from all sides, has to tolerate opposition, are bound to laws and have term limits. This system, with all buts and ifs, allows societies to innovate, learn, adapt and prosper.
Chinese leadership should thank the late Kissinger for the enormous transfer of wealth, intellectual properties, and highly favorable trading conditions from the West. It is still very dependent on it for its economics. Totalitarian states will in the long run not be able to compete with free states.
The collapse of the Soviet Union was inevitable, but that stuff can take decades.
comment 2y ago · link · parent
How long can they afford that: China has a big trade surplus, high youth unemployment, low domestic demand and no accountable leadership. So: very long.
comment 2y ago · link · parent
Cars have become expensive, but their baseline in safety requirements (and luxury) has increased a lot too. This is true for all cars, European or not. Cheap Asian brands have also become more expensive or went away as they cannot meet safety regulations.
comment 2y ago · link · parent
Reminder that Chinese EV Manufacturers are in the end state enterprises operating at a loss, so this is not sustainable long term. As internal consumption is very weak in China, all that production needs to be exported or you are looking at the notorious EV graveyards.
This practice is a sure way to suffocate European car makers, so you can totally expect tariffs somewhere in the future.
comment 2y ago · link · parent
And with all surveillance tech they still fear the masses. During the very rigid covid lockdowns in China people started to become more actively frustrated, prompting Xi to finally reverse his policies.
But the biggest threat to dictatorships is their own organization, as power transfer is often chaotic and violent. The workings of those states are best compared to maffia power dynamics.
comment 2y ago · link · parent
The nasty influence of TikTok outside China has been very clear for a long time. This is part of modern warfare, establishment is only really slow to process this fact. Also because of the misplaced idea that a democratic constitution with a rule of law is something that magically was always there and will forever be there, even if we sit passively down and see people rising that promise to break that constitution down.
comment 2y ago · link · parent
Freedom of communication is freedom to express oneself for individual humans. It is not the right for a totalitarian state to promote itself and weaken democracies.
TikTok works completely different in China vs other countries. Outside of China we have to deal with a highly addictive algo that promotes content of extreme right nuts, anti-vaccination hustlers, and content that over paints any negative information about China.
---
Totalitarian states fear their constituents, as they could rise to take their destiny in their own hands. A rule based order and the existence of successful democracies are always a threat to any dictator circle, because their iron fist is fragile.
comment 2y ago · link · parent
Yes, people are unfortunately highly unaware of what societal ecosystem they depend on, and so cannot prioritize on what is important. These topics don't sell in media shows.
comment 2y ago · link · parent
The concern policy makers have is not about programmers, but about boatloads of other people having no time to adapt to the massive wave these policymakers see coming.
There a strong signals that anyone who produces text, speech, pictures or whatever is going to be affected by it. If the value of labor goes down, if a large part of humanity cannot reach a level anymore to meaningfully contribute, if productivity eclipses demand growth, you simply will see lots of people left behind.
Strong societies depend on strong middle classes. If the middle class slips, so will the economy, so no good news for blue collar as well. AI has the potential to suffocate the organism that created it.
comment 2y ago · link · parent
- Dominance of neoliberalism thought, with its strong belief that for any disease markets will be the cure.
- Strong lobby from big corporates.
You don't want to intervene to early, but you have to make sure you have at least some limits before you let the winners do too much damage. The EU has to be applauded for having a critical look on what effects these developments might have, for instance which sectors will face unemployment.
That is in the interest of both people and business, because the winner takes it all means economic and scientific stagnation. I fear that 90% of the worlds' data is already in the hand of just a few behemots, so there is already no level playing field (which is btw caused by aforementioned dominance of neoliberalism).
comment 2y ago · link · parent
right now we don't have any plans to support bare metal
installs like this as that would imply a bunch of other
mgmt related tooling that would not be present
(eg: start/stop the server, configure networking,
deploy a new one, access rights, etc.) it also breaks
the assumptions we have that it is only being deployed
as a vm which means having to support a ton of random
hardware drivers, nanos is intended to always be ran on
top of a hypervisor of some kind - whether it's public
cloud or something under your own control
(eg: proxmox/vsphere/etc.)
It seems like they make some distinction between true bare metal and somewhat bare metal, which is highly confusing.___
comment 2y ago · link · parent
I can understand why project maintainers don't want to carry the burden of gardening a space, but Zig is not doing itself any favors here. Instead, I would suggest maintainers to open a "vacancy" for an accessible and privacy friendly space, and if it fits the criteria, bless it. Or just start one yourself and hand it over.
Why? From a quick glance, most of the Zig communities are on discord. That means all folks that value privacy would not participate. And even if you are ok to lose out on that demographic, you still have a highly fractured information space. Although in the case of discord, "information space" is too generous. "Information black hole" is a more apt term, because none of it gets indexed by search engines. One cannot do without a bit of leadership to make a project successful.
... and props for your project!
comment 2y ago · link · parent
Aside, I guess nvme-tcp would result in less writes as you only copy files in stead of writing the whole disk over?
comment 2y ago · link · parent
Parties that do not read the database contract will get caught by runtime validation. However, any code that targets the database contract could make use of that contract, e.g. with scaffolding. This might enable tighter integration with type checking in the client program.
What you propose is not a contract, your code doesn't understand it, so now you introduce a new problem. (I think that is why the sqlite author doesn't seem to be too enthusiastic about bolting on strictness checks, as its potential is really limited and it contradicts its design).
comment 2y ago · link · parent
INT
INTEGER
REAL
TEXT
BLOB
ANY
Of course one can program all kind of check constraints, like one can program all kinds of value validations in javascript.Unfortunately, that is not the same as typing. Sqlite lacks typing because, as the sqlite author explains in the docs, flexibility is the goal. He continues with "But other developers are aghast", and so strict tables where born, but you can clearly see this cannot overcome real concerns. Try to look for the DATETIME datetype in that list.
Deep bow to sqlite, its design goal was to be the ini file replacement and it has outperformed itself on that one.
Thanks for the extension link. Although constraints are not reuable type definitions, they would still be helpful in this context. Pity that json doesn't have a type for dates, one has to rely on string formats: https://json-schema.org/understanding-json-schema/reference/...
comment 2y ago · link · parent
There can only be so much nesting before you lose track of what item belong to which parent. Copying some yaml structures over to another level requires care, as the result might look correct, but the white space parser thinks otherwise.
I have lost hours of debugging yaml files when a dash was missing somewhere or when I needed one more leading space. The parser accepts it happily, but half of the typical javascript programs will only detect things are wrong when it has already executed on half of your spec. The other half will just run with input that wasn't intended that way.
I remember writing artillery.io test specs where all those problems pop up.
Now the good thing from JSON is JSON Schema. The latest spec allows you to specify quite advanced validations. Yaml has no such thing.
As to your remark: Yaml for front matter is defensible, as you dont have deeply nested structures. Though, as an obsidian user you want to make sure your front-matter is conforming to your own schema. That would require writing a json spec and then have your yaml internally converted to json before handing it over to the validator.
A spec is worthless if you cannot validate against it. Json and xml have a good story there. I concede that yaml is more human-readable than json without an editor. Correctness is the holy grail though.