Details
-
Skillspython, linux
-
LocationFrance
-
Github
Joined devRant on 5/14/2019
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
-
@Pickman Reminds me of a student project on distributed computation, where we had to build distributed system for high volumetry.
As an example application, the teacher proposed to scrap the college website pages to collect lots data and apply some random process on it.
Can you guess what happens when a whole group of students create distributed application to scrap a website designed for minor use. Dozen of times to solves their bugs and sometime without knowing what they are doing with their scraper?
The whole network was down with some daemons lost on every workstations, unreachable but still dooming the network trying to scrap the website. -
@joas Not really there is no timing issue. Always the same result. Python makes atomic assignments.
The problem was that when the writing thread create a new array and affect a pointer to it in the variable, it only changes its own variable. The other thread keeps the pointer of the initial array and thus isn't affected.
But strangely with the prints it correctly affect the new array in the other thread variable. -
To conclude this, in the end it seems to be a tricky shared vars and local scopes problem.
I have 2 thread, one writing an array the second reading it.
What seems to be happening is that without the prints, each thread have it's own var (just pointing to the same array at first) and when the writer thread change it it doesn't affect the other.
But with the prints python compiler correctly interpret both as the same variable. -
@endor There was a rumor that ProtonVPN and NordVPN were owned by the same company.
https://news.ycombinator.com/item/....
This rumor was dismissed as far as I know. -
Maybe try a password managers. Then except your master password you will never ever have to type passwords, nor knowing them, nor create them. So no typo anymore
-
Please stop with "change my mind". It makes no sense in the real world. Humans never change their mind with one argument, even a heavily strong one.
Knowledge changes by many small arguments and time.
By saying that you just start a conflict between two narrow-minded people. Why? -
@C0D4 I think there is roughly 4 types of user on Tor:
1) A few criminals
2) Probably some whitehat that don't want to arm anyone but still do illegal stuff.
3) A few journalist / whistleblower that may require it for safety reasons.
4) Tons of regular users that use Tor because they can and care about privacy even if they don't require it. And/or want to protect group 3). -
@root It has already been said, but I strongly disagree with a language that allow you to make anything because it can.
You make code for a result result so yes, who care how it process internally? But to ensure it work well, to improve it, or do any modification: you HAVE to read the code and more over understand it. Tricks are sometimes cool and handy, but in most case I like if there is a single and clear way to do something. If by reading the global structure of a code you can know way it should do because everyone make it the same way you win everything. Also learning the language became simpler and thus cause less error.
However if you have to read every single character while predicting in your mind all the edge cases to get an overview because someone (or yourself) use lots of weird tricks, you will only waste your time and on top of that probably miss bugs.
Censoring what you can do is ad, but restricting how you can write it in order you ensure readability is not. -
@Pyjong Nothing except restore previous session on restart
-
I did't have problems with closed tabs in firefox for a long time. I currently still have tabs from at least 7 months ago. And no problems even with regular hard shutdowns in the past because I had only 4Go of RAM until last month.
-
I don't dislike the tool, but I strongly dislike the way they promote it, the way they try to engrave it into your brain with a jackhammer. The way everything pretend to be users feedback but is prominently just all fake and so just manipulation. That everything seem too perfect to even be possibly true.
And most of all that it pretend to be free while obviously they spend millions to be seen 100 times by any human on earth.
So never ask me to use a tool made by such a fake company. -
Usually one of these: https://youtube.com/watch/...
-
I naively think that laptop manufacturer actually do such hardware protections, without that batteries they would melt much faster like in old times. But however we cannot be certain, so it's likely that this parameter is not of the most crucial importance for them.
Actually 5 years with my Acer laptop almost always charged and its 8hours battery is almost as healthy as when I bought. (and I have installed win and some linux on it, so it's probably hardware) So some of them actually care. -
@noyb I don't know if there is a full list somewhere, however I can advise you to take a look at Framasoft's work, who aims to propose open and decentralized alternatives to most common closed source big services like google docs, facebook, etc. : https://fr.wikipedia.org/wiki/...
-
To my mind the result of this study will be useless... the case a way too simple
There is no such thing like dead or alive, but a continuous probability of harm.
People in the car are more likely to survive an impact, but if the car decide to hit itself on a wall frontally at full speed they are sure in trouble with no chance to escape. While at the same time rushing on another group leave them to rush out if predicted in advance, especially for pets.
We do not live in a binary world, there is a huge number of alternative solutions like where and how to hit something/someone else to minimize damages.
If some binary cases like these are still possible, I'm pretty sure all of car accident will more likely provide lot more solutions than hitting things frontally
And I'm not counting the fact that to my mind most car accidents will be caused by IA failing to recognize the situation or something, in which case these moral choices are just useless. -
According to the test I absolutely prefer fat homeless men...
But it's not my fault if in the exemples I get it's always these groups that break the law or are in front of the car when there is no other argument to apply... -
wtf, why these tags?
-
@vane I only see your first result as my 13th result
-
@vane For exemple DuckDuckGo made a study about that, https://spreadprivacy.com/google-fi...
-
@vane basically yes. However given that there is a infinit possible question, there will be questions where a page a far ahead and the same for everyone, but in general the top firsts shift a little from people to people and places to palces
-
@vane No, different people typing the same thing on google will not get the same response. Their google account will make differences or at least their localization. There was experiments about that, mainly in the US.
But yes your still grouped with people similar to you, but it's always better that no any other random page on the web, we do not now how to read your mind yet, and its far from saying that you make everyone the same, especially when these group are created automatically according to the data, not manually by someone.
But yes even if we don't make every one the same, we are currently making distinct groups of people, especially mass media and social networks that group you with people that think exactly like you. -
For game training I don't really knows, but I don't recommend it as it's the only part of the industry that is overcrowded, so you will work harder for less.
For general programming school:
most schools are private, were you pay a lot for a few courses (mostly web) according to a few friends of mine, so don't expect to be fully prepared without learning some part by yourself, but they have great modern infrastructures in general.
I don't think companies really like them too, but as they still lack of devs, finding a job will not be a problem anyway.
I myself made prepa then ENSEEIHT: nice school. Here too the courses aren't perfect, but it seems pretty well recognized by employers, like most post-prepa schools I suppose.
So it depends on how far you're willing to invest yourself.
It seems to me post-bac schools focus more on specialized training: web or stats or networks etc. while post-prepa are more general.
Not sure thought I personnaly enter only one -
@endor As said
1) We don't know what future is made of. And when you said "could probably address all their needs for at least a few years", I hope it's more than that, when we see the time needed to change from IPv4 to IPv6, we have to think way ahead. Changing the entire internet is not something you want to do every year, it's already so painful to guarantee compatibility.
2) Giving everyone lot of IP, allow him to use use unique un-guessable IP for any device you have, and you can change when ever you want (best advantage at short term for me as I often see some guy in foreign country (usually china) brute-forcing all public IP addresses we have on all port to seek for breaches. The firewall stop them but there is nothing we can do other than hoping it does it's job, we IPv6 address there no way they find these addresses in the first place)
Bonus) you could eventually map all you device ports, to different address -
@Codex404 Yes we have the distinction One/fisrt, two/second, etc. but it's never used for dates, except for 1st (1e) because ... why not ^^
but yes, no "." indeed -
Yeah, it piss me of even if I know that I'm pretty much spared and lucky.
But what I don't understand is that nothing is done against on higher ups. I mean, there is spam filter more and more powerfull, but it just force spams to evolves. And it has taken such scales, that I thing it can't be helped with duct tape.
We must evolves laws or fundamentally change the way emails works, but something must be done for good. -
For me it's more an historical problem. dev is a relatively new job, so yes when companies start seeking a fundamentalmy new technology they don't hire an entire army.
Then for exemple decades ago one dev guy come up in a fully established 20 people car designers team all with their skills but so specialized because the job is well established that they all need to interact to make the job done. While on the other hand, the new IT guy handle its own stack.
Guess who seems lonely
This will slowly change as team grows up, but established stereotypes won't help. -
I'm not sure that saying "devs are lonely because we must work alone to be efficient" is a clue at all.
Yes most programmer tend to work on their own for long period. But the more devs you have the more you will interact. It's just normal to interact less if your the only guy to know your stuff, others couldn't help.
But mainly, I don't think devs are the only ones in this situation. Basically if we excludes job fundamentally correlated to chatting with others, like management. All kind of technical profession will work on its computer alone for long period of time if there isn't other people who at least have the competence to chat.
So for any engineering job, if you're in a reduced team you will have to handle the full stack and may work alone. If your in a bigger team, tasks will sparse between them and thus they will have to work together.
I'm in a 25 people devs team, and there are clearly some of us more lonely than others, but only a few. -
@Codex404 Humm... French doesn't do that neither. And Spanish too as far as I know. To my point of view it's more like only English like languages suffix day numbers in dates.
-
But the first evil IA that will ruin the world... this one may be built in a basement :)
-
@Cultist Hum, if it is was 30 years ago maybe, but now new things this big aren't available to a mere dev on his play time...
Research groups in big labs have: money, time, knowledge, man workforce and ... data.
And this kind of problem are very unlikely to be solved by a lonely guy because he got a good idea that nobody had tested.
Yes, good new idea in IA architecture/learning can show impressive improvement! Like the new openAI text modeling. But without data, high hardware and time, others would already have made better than you even with a weaker model.
(not saying that they are also more likely to have good ideas)