skysight-inc/HackerNews huggingface dataset:
Having worked in Python as a way to pay for food nearing 7 years now, the biggest complaint I have at this point is that, at an enterprise level, it's severely under-equipped to enforce its touted "There's probably one right way to do things" mantra.

People are often introduced first to Python by way of scripting, but the tricks and tools learned while scripting are exactly the sorts of things I've found cause dirty code. Applying clean code principles to Python is hard, because it's so easy to write dirty code, and that's a byproduct of how easy everything is to do in Python. That ever-nagging "but it's working" continues to get in the way.

It's a weird problem. I dunno what to do about it, and currently end many of my debates with colleagues on topics related to the problem without agreement.
So what’s the harm to the families, except bad feelings? Was anyone actually (physically) hurt?
I think their failed product track record should qualify under the category of bad UX e.g. Google Wave (confusing UI, no apparent use case for average users), Google plus (confusing UI conceptual be model when first launched, subsequently failed to get market share to Facebook partly due to obscure UI), etc.
Nothing will be done because it’s not profitable.

More people will die from water shortage in the coming years before starvation.
I heard Reddit was also added to China's blacklist recently, you have to wonder if that is directly connected to the change of ownership / reddit turning into a privacy black hole..
You too are losing your asterisks. Maybe a bit of Unicode can help. The only thing not stripped out by Hacker News seems to be this:

⁎ e2 81 8e
Precisely the point. If you don't count searches for popular libraries and frameworks into their respective language buckets, the results are mostly bullshit, and at best probably reflect the undergrad curriculum.
The increased training around the time of the Snowden-based leaks was largely focused around informing people who hold a national security clearance about the fact that information remains classified even if it has been published on the Internet. There was concern that people holding a national security clearance may use their unclassified information systems to process this (still classified) material, causing those machines to need to be treated at the highest classification of information on which they process (as they are not "periods processing" machines). Additionally the "need to know" principles still apply, and looking at classified information without satisfying that criteria could cause revocation of sponsorship for holding a national security clearance.

The training likely stressed that just the source of the classified information was somewhere "outside" DoD it did not change the classification. This is because changing the classification requires an Declassification Authority to act on it, which is generally the Original Classification Authority -- of which there are very few.
When you click on "Our Fees", you'll be brought down to a box saying "Start with $5 - Start investing in crypto in less than 5 minutes." which is inserted by CSS or alike.

Confidence inspiring?
Very well put. We have the tools to fix this problem, we just need the will.

I wrote a lot more on this recently, with ideas that people on here can use to help influence better outcomes: https://unop.uk/how-to-help-with-a-big-global-problem-as-a-t...

It's a shame that the big technology companies aren't using their influence and reach to help.
In my city there is a system like this (all buses have gps, you can look where they are at any time http://www.sip.ztm.lublin.eu/Default.aspx?lang=EN ), and on bus stops there are these dynamic timetables http://rpw.ztm.lublin.eu/typo3temp/_processed_/csm_01_01_594...

It's working pretty well, the key thing is the point 4 in the article - the timetables show "in X min" if they know how long it will take for the bus to get here, or just "at XX:XX" if they don't know for some reason (transmitter or bus broke, whatever) so they just show the scheduled arrival.

So you can be pretty sure that if it says it's coming in 4 minutes you won't be waiting 30 minutes.

Clearly marking how sure you are of your prediction is IMHO more important than making very good predictions. I don't care if I have to wait 3 minutes or 6 minutes, I do care if I skip another bus waiting for a more convenient one in 3 minutes that never arrives.
Emergency workers being hired to handle post-Brexit disruption
TRON will deliver speeds up to 200 times faster than Ethereum
Your patch might not fit the projects guidelines, but work fine for what you are trying to do. Maybe it even is a hack, which only works in your case. There's also the possibility of time pressure, or just not wanting to deal with possibily snarky comments.
If your goal is just to get your job done and call it a day, you probably don't care about that kind of recognition.

A lot of people seem to think that having a large "open source resume" is a large component of success in getting software jobs, but that really isn't the case.
I've read that before, and he neglects to mention that appliances used to cost a lot more. It's a bit hard to find pricing, but here's one reference I found with fridges in 1968 at prices between $350-450:
https://www.automatice.org/cgi-bin/index.cgi?showdoc~657~~

In 2018 dollars, that's around $3000. You can get a low-end fridge today for under $400. When a product's price hasn't changed over 50 years, that's achieved by technology, and by cutting materials costs.
They're pretty much the best calc notes I've seen, was very useful a few years ago
Yep, and if you notice every "solution" suggested is just an increase in government power and decrease in liberty. They'll have to explain why investment strategies for nice properties at sea level haven't really changed while they can claim that voting for globally controlled taxation plans is going to cure us.
I'm just stating my opinion; that's essentially what this site is for. I wasn't criticized and therefore was not responding to criticism. It is true that I have little time for codes of conduct etc.
This absolutely can be a problem, because infrastructure needs political approval. Worst case is a ban on renewable generation to protect fossil fuel profits, for example.
Java is just as bad as python. For maintainability, header files make life a lot easier.
HN is doing “filtering” more than “censorship” - there’s a setting that lets you see flagged comments (greyed out), so the filtering is almost completely transparent, it cannot really be called censorship.
Philosophical inquiry
I approached Douglas Husak of Rutgers School of Arts and Science working at the Department of Philosophy. He has a Ph.D. from Ohio State University, and he has taught in nine different departments of the school of law and philosophy. He is the suitable person for my philosophical inquiry exercise because he is not only interested in the issues of legal philosophy but also the intersection of criminal law and philosophy.

Description
The conversation started when I asked Husak about his views on the philosophical question of justifying the incarceration of individuals on drug related offenses. He was very pleased with the question stating that the subject matter is the main issue he has been advocating for a long time. He questions the need for justifying punishment to individuals involved in drug offenses. Through the conversation, he gave convincing arguments that it is not morally justified to imprison people for drug use.

The point that I agreed with Husak is why not all pleasure-producing drugs should be subjected to opposite views where one is subject to punishment and not the other. I also agree with his view that punishment should be subjected to individuals using drug so as to deter others from using them I future. That means that it is without the doubt that the role of the states is to protect the well-being and state of citizens.

Reflection
People view philosophical inquiry from various lenses such as logic, ethics, epistemology, economic and human/environment interactions. These lenses support the philosophical views of people on various subject matters like the case of drug legalization.

Sherry Roberts is the author of this paper. A senior editor at Melda Research in <a href="https://www.meldaresearch.com">non plagiarized essay for sale</a> if you need a similar paper you can place your order for <a href="https://researchpapers247.com">nursing writing services</a>
> This is aimed at people in the tech industry, and is more about what you can do with your career than at a hackathon. I’m not going to discuss policy and regulation, although they’re no less important than technological innovation. A good way to think about it, via Saul Griffith, is that it’s the role of technologists to create options for policy-makers.

http://worrydream.com/ClimateChange/
Juul surpasses Facebook as fastest startup to reach decacorn status
I wonder whether people would be willing to pay for "museum nomads" to live a traditional life, like the museum Fremen in Dune.
> It seems amazing to me that people use toxic to mean "A tiny minority of anonymous people on a world accessable network of people may say mean things"

If that tiny minority are in charge of or prominent in projects you're thinking about contributing to, then that's all that really matters, no?
Kicking off the altcoin season with the Paris Blockchain Day on Oct 10th 2018
while your heart is in the right place, i feel this sort of canned response will only become increasingly inadequate as a means of confronting what the world is going to become and what that means for the people within it.
even the most utopian of the potential futures we face present the sort of existential nightmare to which 'opting out' of these terms and conditions will become an entirely rational response.

>Messages like this are irresponsible and can push people over the edge.

this is a very naive view and one that i would argue, with all due respect, is falsely empathetic without truly understanding the mindset and circumstances of someone who chooses to stop living. we need to have a truly honest conversation about self determination as it applies to the right for individuals to end their own lives and safe/ethical means of achieving that end. anything less is an illusion of compassion and a very cruel one.
Has the music streaming industry gotten the Indian market wrong?
On the other hand, reviewing code is also work. One could argue that if you don't intend you follow the contribution guidelines and work with the maintainers to get the code to a state where it's good enough to merge, you are wasting their time.
refactoring a equivalent Java project is way more challenging. I'd argue.

Refactoring a python project is usually one man's job.

Refactoring a Java project takes a whole department and process management crew.
try to maintain > 10k LOC codebases in Python to understand what I mean.

My previous job we had about 3 million lines of Python and it was fine.
StackOverflow has the data on this: Python for most purposes is entirely static. Python for data science is utterly dominant. That’s what’s driving the stats.
Like someone else said, I personally find that very large codebases written in dynamically typed languages tend to discourage refactoring. You may try to mitigate the issue by writing the whole application as standalone, independent modules, but we all know that a bit of interdependence always creeps inside even the best designed application.

I love Python; that's the first language I've learnt and I can't really live without its REPL. I only think that the industry has a tendency to excessively obsess towards certain languages, even when they are not the best tool for the job.
For instance, I strongly believe that the academia's morbid obsession with Java has crippled a whole generation of new programmers, which are now unable to think and code in no other way but the Java™ Way. I won't say that python is as bad as Java in this regard (it isn't even close), but it annoys me to death when it looks like we're heading once again towards a language monoculture; at least this time the language isn't utter crap.
Protip: If you're mentally tired, do some unweighted squats and pushups, then wait a couple of minutes before getting back to work. Enjoy feeling refreshed!
You're not a parent.

As a parent, I don't have time for this shit, so I did not ban such movies. I banned YouTube, all of it.

People put their trust way too much in free market competition. You know, if consumers were actually conscious of their choices and free market competition actually worked for pruning the weeds, we wouldn't have diabetes or obesity or pollution or global warming.
"If Samsung pulls off the latter the whole smartphone evolution is just done, over, finished."

The next thing will be not to have a phone at all, or a holographic one. ;)
I think your real problem is with duck typing and not specifically with python.

There are efforts to have gradual typing suppprt in python though, and you might be interested in having at least partial typing suppprt.
> Use the 15 minute rule to get started, only agree to do 15-20 minutes of work to see if you are flowing in that project, most of the time once you get started and loaded up the project in your mental space you can easily flow on it.

I used to have a cheap but nice looking 20 min hourglass on my desk for just this reason. When I needed to get started on something, I just flip it and commit to working for just that amount of time. More often than not, before I know it, I only notice the hourglass empty when I'm on a roll with the task.

Inertia works both ways.
I have resigned as the WordPress accessibility team lead
Nuclear isn't feasible within that timeframe - takes years to even build the plants! Not to mention the unpopularity of putting fission plants in the less stable countries of the world.

The other two are even more infeasible.
Wow, it's been a while. Does anyone actually use this stuff after college???
They haven’t been lackluster by objective measures. They still sell a lot with high profit margins.
If I may ask, what position/designation you were interviewing for?
> The caller might turn the element after the (struct header_t ) into something else

Isn't this exactly the issue with this malloc implementation? The pointer returned that points past the header by sizeof(header) may not be aligned for subsequent types.
Sure it does. Under normal circumstances, Bitcoin or Ethereum transactions cost only a few euro cents regardless of the amount transferred, while international remittance businesses always charge much more.

I read somewhere that the top 3 money remittance businesses (WU, etc) make as much profit as we (EU + US) spend in international aid. If those in the diaspora can send money back home without these middlemen, we could all stand to gain.
The benefit of taking that particular avenue to improve oneself might be overshadowed by the potential downsides of having to deal with toxic people to get there. And that's a personal scale-weighing that everyone has to do for themselves. There's no objective right or wrong in that.
oh I thought it was because in 20 years climate change will have set the civilization capable of having cars to null.
That’s not the point. Many JS devs google “Node xxxxx” but still code with JS. Not many people search for “Python xxxxx” and code in C.

Offtopic: I disagree with grandparent, for different reasons.
Framework for Design and Verification of Information Flow Control Systems [pdf]
> They'll just pay a small $10 a month to watch whatever they want, whenever they want, on any device, anywhere.

Unfortunately this doesnt exist. I would gladly pay it. Netflix isnt it either, no matter how much they pretend they have all the content, the movies which I am interested in, I have to torrent, because they simply arent on netflix. Their library is so bad that my first instinct is "oh lets look for a torrent" instead of "lets check netflix if it has it" when I want to watch a movie.
I think this line of argument works for something like a Netflix or Spotify account where you have a monthly fee for unlimited access. The problem OP is referencing is when you buy a specific movie or album on iTunes or Prime for instance. That doesn't seem so clear cut because while the license says one thing the consumer expects that they now 'own' the item forever.
Yes, you can imagine the author of the article saying Nikon is the best for clicking, or that Gordon Ramsey is the best at chopping.
> get your job done and call it a day, you probably don't care about that kind of recognition

Then i don't get what the article is about. "I don't care for what i don't want" is a passive aggressive drivel.
Polar bear populations are fine, sea level had been rising at the same rate for much longer than we've been industrialized, storm rate isn't changing, and where do you live that there are no insects?
Good point about Einstein. It's true that bright minds also go after problems they think are important, regardless of what everyone else thinks.

Haranguing masses can decide what gets funded. Einstein's research didn't need much money, which worked out well for him. What if his genius had been in something that required more capital?
You could look to TclQuadCode for inspiration as it can make Tcl code 66x faster in the best cases.
Probably because, if there's a real bug, the patch is by definition an improvement even if the whitespace isn't to everybody's liking?

The tech community has pivoted hard to an obsession with the superficial in recent years. I'm not gonna do 10 iterations of catering to someone's personal tastes in order to do them a favor. They can take it or leave it.
Writing code ≠ maintaining code someone else has written. Duck typed code relies in general in implicit behavioural assumption on how the values you're receiving should behave, and it's much better to be the one making choices than the once trying to understand them.

I'm not arguing that it's not possible to do it; I just think that it requires a bit of extra steps and care to document which assumptions your code takes and how it behaves that could be more meaningfully described by a statically typed language. But these are just my 2 cents.
One more thing is just as important: Water.

Another tip that worked for me is not eating any fast sugars at all.
This is scarier & a lot more plausible than the Bloomberg/Supermicro story I think
> framework — A product with the business logic removed, but all of the assumptions left in.

© https://programmingisterrible.com/post/65781074112/devils-di...
My mistake, there was a box there with the fee that someone took down today! If you go to /fees you can see a better representation :)
Rocket Lawyer: Millions of Our Clients Will Use Smart Contracts
Yup, it's a complaint that can be applied to every duck typed language out there, not just Python.
Postgres used to benchmark faster than MongoDB as a document store when compared to MongoDB running with a reasonable reliability setting. Not sure if that has changed in the last few years though - Mongo has improved a bit, and Postgres is getting faster on each release.
The problem is that distro package managers are many and often complex to satisfy, which is one of the reasons people don’t develop “real” desktop software for Linux.

The new generation of installers (flatpak, snap etc) takes a cross-distro approach that is supposed to result, more or less, in “package once, run everywhere”: you build your app in a certain way and every distro should be able to run it, regardless of package managers. It’s basically a way to offload the compatibility headaches to flatpak developers and distribution builders.

Obviously that approach works only if flatpak does actually get good support in all distributions and becomes a de-facto standard, which is a challenge because there are many competitors (Ubuntu Snap being the most relevant one). If it remains just a glorified rpm (i.e. a redhat-specific tool), then there is no point.
You are correct but if we can get to the point that economics drive green energy the political opponents will have trouble stopping it.

There is a tipping point in there that we could be prevented from hitting, but I really don't think that will happen.
Yossi Appleboum on How Bloomberg is Positioning His Research Against Supermicro
> 50K LOC python/django codebase.

How much of it is generated?
What do you think of mypy? http://mypy-lang.org/
> looks like we're heading once again towards a language monoculture

Isn't that's only true for data science?

What about the JavaScript monoculture :(

And academia still has courses for C java C++ etc. No respectable University teaches a single language!
Depressingly pragmatic. While building resilience is certainly worthwhile, we can still fix this and should try.

I think individual actions can add up, particularly when we use the magnifying power of tech. I wrote a lot on this recently and I can't fit it all in a comment so I'll just link to it.

https://unop.uk/how-to-help-with-a-big-global-problem-as-a-t...

It boils down to a three step process:

- Understand

- Organise

- Amplify

There's a post for each and more to come.
Java is absolute garbage, and it is definitely not the kind of language I've in mind, which is something like Go, Rust, C#, Kotlin, Swift, ocaml... Even C++ is perhaps easier to understand than Java, if not because it tends to have half boilerplate than a similarly sized Java project.
Seems pretty ridiculous to suggest that he can't use such a generic UI..
EU Internet Censorship Will Censor the Whole World's Internet
Most programming languages suffers from lack of enforcing idiomatic coding style, don't you think? Perhaps python more than others? Scientists having learned that OOP is the one true methodology make horrendous code if a language has classes. I've also seen FP coders being a bit too extreme in Python, inlining everything and not using comprehensions.
Yup. Even thought they will never admit it. This has happened with my company before when we were rebranding. They are banking on you needed that specific url enough to pay premium for it.

It stinks but what ya gunna do. They the dogs that own it, you live and play by their rules.
The reason applications spew files all over the place is because that's how you hook into other systems. Want a man-page? There's a folder for that. Want to autostart? Folder for that. Want your program to be runnable without specifying the full path? Put it in path.

The reason configuration sucks is because we use filesystems, which are necessarily hierarchical, when we should use a more general database.

If we had a table where the first column was "thing to be configured" and the second column was "program" things would be much better. We could query by the first column to get e.g. all programs that want to automatically start, or all programs in path. Or we could query the second column to get all configuration for a given program.

Database people have done a lot of work on how to prevent inconsistent state, and we are stupid for not leveraging that.
I actually believe that we can solve this problem for most cases.

Take dart for instance -- it doesn't require any typing as such, but has an excellent type system that supports generics too. The type checker is pretty robust, but flexible at the same time...
How to Clone a Phone Without a SIM Card