HN user

parkovski

135 karma
Posts1
Comments43
View on HN
QBE vs. LLVM 6 years ago

This is surprising for me, I thought LLVM abstracted away platform ABIs.

I hope Epic wins this. I would buy from Apple again if they would open their platforms. I think it's ridiculous that when I was working on an app, the app would expire after a week unless I paid them more money for the privilege of keeping an app I wrote on a phone I paid for. Nevermind software other people made that I should be free to choose to run.

Is it really though? Bing has been consistently worse than Google over the years. Maybe our definition of vendor lock-in needs to change.

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.

This reminds me of a meetup I attended last fall, they were talking about the Spectre/Meltdown issues. I asked the presenters if anything in chip manufacturing/verification processes had changed as a result of that and they seemed surprised.

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?

What about giving them a high potential but making their actual salary a function of approval rating? In order to maximize how much you make you have to work to unify your constituents.

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.

Yeah we totally believe you, you just keep on digging your heels in on this one cause that's how you get people to take you seriously and think you're smart.

Ok imagine that you have a broken leg and the only painkillers we've invented are local, and when you take those another limb breaks just to spite you. That's where we are with this. It doesn't get to be nice and painless while it heals and I can't see anything making any difference unless enough of us under no circumstances vote for anyone that supports this stuff.

The human rights violations that ICE commits should not be considered a political matter regardless of whether one party endorses them. Supporting those that enable atrocities is not politics, it's publicly announcing that you are a defect of evolution.

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.

I don't think optimizations count as magic. It'd be entirely unreasonable for a language to not do them and they don't change the meaning of the program, undefined behavior aside.

"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.

It's very confusing, they start off saying C++ is too complicated and then go basically reinventing C++ with (IMO) absolutely awful syntax.

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?

I'm not an expert on any of this, medicine is just a hobby of mine. I don't think actual Parkinson's is caused by drug abuse though, I think it's a separate disease (or maybe more than one) that ends up doing the same type of damage to the brain so the symptoms look similar. Wikipedia seems to agree, we're not sure how most people affected got it. That seems to be kind of a theme in medicine.

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.

There is. Cocaine and most other hard stimulants cause lots of dopamine to be released in the brain. Generally when you have higher concentrations of a neurotransmitter than normal for a long time, your brain compensates for the overstimulation by reducing the number of receptors. It doesn't work in exactly the same way as this drug but the end result is the same - reduced number of dopamine neurons, which causes parkinson's symptoms.

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.

They didn't reinvent the wheel. Bash was intended for a Unix environment with all the corresponding utilities.

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.

Yeah exactly everyone at Microsoft is so dumb. Literally all 100000+ people that work there are in the bottom 1% of intelligence worldwide. Probably because they don't use Linux. Everyone knows that just typing ls in bash boosts your IQ by over 9000 points immediately.

Why is this attitude so widespread?

Edit: oh no guys my internet points! Gimme back my internet points!

I was in a kind of similar situation recently - I never went to class, ended up dropping out of school, would sleep 10-12 hours a day at odd hours, drank way too much, didn't really have much motivation for anything.

For me the dominant factor was anxiety, and I didn't get help until I started having panic attacks. Like you I started seeing a psychiatrist and a therapist, and I was very lucky to not experience any adverse effects to the medications I was prescribed.

SSRIs are an interesting thing - because they are such a gradual change, a lot of people write them off as not working. For a while, I wasn't even sure if it was doing anything, but at some point I realized that I didn't get the awful dread/despair feelings from normal everyday life anymore. I started reaching out to old friends again, and making new ones. I sleep 8 hours now.

I didn't realize how bad things had gotten, and how much better they should have been. I used to be very against being dependent on drugs, but I eventually came to the realization that I'd rather live till 40 and love it than live till 80 and hate it - even though I don't think that's the tradeoff I'm making, it's the one I was willing to make. So I just did whatever I could.

Don't write off drugs, meditation, exercise, diet changes, etc - try it all, and find what works for you. I mostly wrote about drugs here, but different people are averse to different things, or don't believe in them, when the reality is we still don't really understand mental health very well, and your best bet is just to throw everything you can at it and see what sticks. But you gotta do it. It's way better when you do.

Yeah, I get that, but a lot of people use Windows for some reason or another. I'm not really interested in trying to get the masses to use Linux.

A lot of open source projects at least start out running on Linux and OS X, because they have a lot more in common, and then if someone has the time and desire, they'll port it to Windows. I'm not really happy with that.

This is not as much about technical challenges, since there are obviously Unix layers for Windows, it's more about consumer perception.