135 karma · joined Feb 24, 2014 (12y ago) · 51 submissions
1.
Show HN: UAC-Less Sudo for Windows(github.com ↗)
1 points · by parkovski · 1mo ago · discuss
2.
Show HN: A minimalistic building blocks style C++ coroutine library(github.com ↗)
1 points · by parkovski · 1mo ago · discuss
comment 6y ago · link · parent
comment 6y ago · link · parent
Honestly at this point it doesn't even matter how good Bing is - we've been unconsciously trained to work with Google's algorithm in particular and they just have a de facto monopoly on the mental process a person goes through to formulate a search. Everyone's workflow everywhere will be worse and take more time if they voluntarily stop using Google, that's not what I consider a fair competitive landscape.
comment 6y ago · link · parent
To me, when a software bug shows up in a critical system, that means you actually have a logistics bug. Airplane control software should not be allowed to have bugs. CPUs should not be allowed to have bugs. And OS's should not be allowed to crash (looking at you Microsoft).
When one of these things happens, in my opinion the correct response is _not_ to just release fixes and workarounds and then say "we'll try really hard to not let it happen again." You do that, sure. But the first time you see airplane software malfunction, that means you need to change the way the software is written and released so that the whole class of issues will not ever happen again. You don't stop at a public apology, you don't fire the person that unintentionally wrote the bug. If you have to hire mathematicians to formally prove the critical paths of the software, you do that. If it costs 10x more to release bug-free software, oh well, you do that.
All of these corporate people thinking they can save money by spending less on quality are extremely naive. You can do a financial analysis of this, but they're doing it wrong. Did you ever consider what the cost of a whole generation just not trusting air travel at all would be?
comment 6y ago · link · parent
I don't think you'd want this to be linear either. My feeling is you'd want the pay to stay pretty low anywhere below a 50% support level and climb pretty steeply above that, which discourages the split people down the middle mess the US is in. You'd probably accept that a small portion of people are nutcases so the salary would approach the max at around 85-90% support.
There are some potential exploits that you'd have to try to address but it's a thought.
comment 6y ago · link · parent
comment 6y ago · link · parent
However, ICE will do what they are told and allowed to do and I don't see how this makes any difference. If they're forced off GitHub, they'll just take more taxpayer money to migrate to another platform because those above them in the hierarchy support what they're doing. The anger toward ICE is valid, but just like in medicine, treating a symptom does nothing toward treating the root cause.
comment 6y ago · link · parent
"No magic" is meant as shorthand for "the minimal amount of magic we can reasonably expect given the history of the language and requirements for backward compatibility, and the least magic of any high level language with more than 3 users." Please don't make me do this again for the number 3.
comment 6y ago · link · parent
I think they're missing the point of why people use C - there's no magic. It's pretty much the wysiwyg of high level -> asm. If you want a systems language with magic there's C++. If you want a safe one there's Rust.
Personally if I were going to make C better, I'd add a better macro/template feature so you don't have to write generic code as a define block with slashes all over, something like Go's defer, and some low level stack unwinding support. Maybe tuples as struts with numbered fields, but no magic syntax sugar. And that's it. No crazy operators, type theory things, or anything that doesn't do exactly what the code says. Because then it's not C.
But what do I know?
comment 10y ago · link · parent
comment 10y ago · link · parent
comment 10y ago · link · parent
As far as caffeine goes, I don't think it affects dopamine that much, so it probably wouldn't have that effect on its own. I can't imagine long term heavy caffeine use would be good for you though, I just don't think it would be enough to do the same damage that drugs that directly release dopamine do. Or at least, it would do different kinds of damage - my guess is memory issues due to lack of quality sleep and high blood pressure.
comment 10y ago · link · parent
The scary thing about this drug is that it doesn't really have anything to do with the fact that they were trying to make opiates, it just happens that if you mess up the reaction you get this really toxic byproduct. As governments keep banning new drugs, chemists (amateur and professional, but it's hard to know which is which since this is all unregulated) keep coming up with new not technically illegal ways to achieve the same effects, and it's really just a matter of time before you create something else toxic. And it's entirely possible that some designer drugs that seem safe at first can end up having bad complications later on, since they're not very well researched and understood. At least we know how toxic meth is - with research drugs, especially newly discovered ones, no one really knows what kind of damage they're doing to themselves.
comment 11y ago · link · parent
PowerShell was designed for a Windows/.NET environment, which is undeniably different, and they also took the opportunity to create an object oriented shell instead of a text oriented one.
I also like C# but I do feel it makes a pretty poor scripting/shell language.
I do think SSH is long overdue, but based on the post it looks like the developers have always been on the right track - management just wouldn't let them do it. Really glad this is changing.
comment 11y ago · link · parent
Why is this attitude so widespread?
Edit: oh no guys my internet points! Gimme back my internet points!