skysight-inc/HackerNews huggingface dataset:
"The flipside of easy-to-learn is there's no payoff for getting better with the language. Your code will always be exactly as tedious as novices' code because they'd rather conserve compiler cycles than spend them to amplify programmers' work."

In my years of experience with the language, this is, bluntly, untrue. Go, used properly, is slightly more verbose than most comparable code in Python or Perl. If someone is writing code that is shot through with boilerplate in Go, then I would say that they may be using "Oh, Go just needs lots of boilerplate" as an excuse.

The problem isn't that Go lacks abstraction mechanisms; the problem is that you need to learn how to use the ones that are there and not sit there pining for the ones that are not. I find this to be almost exactly like learning Haskell; you need to learn to use what is there, not sit there pining for what you don't have. Also like Haskell, there are some particular points that it all comes together at once and hurts you, but, then again, there's some places in Go where I've had big wins using the language features too. It does cut both ways. (I've done some fun things with interfaces, and the pervasive io.Reader/Writer support, while not necessarily a feature of the language, can make certain things amazingly easy to do while still retaining incredible flexibility.)

As one example I went through personally, while by the time I learned Go I had a lot of non-OO experience, so I wasn't as stuck on inheritance as someone who only did OO-languages for the last 10 years would be, I still had to adjust to using a generally-OO language (by my standard of the term) that did not support inheritance. It has now been literally plural years since I missed inheritance in Go. (In fact, quite the opposite; I miss easy composition in my other OO languages! Yes, Virginia, it is possible to miss features Go has when using other languages, despite what it may seem like if you only read the criticisms.) But my first couple of months were a bit rougher before I internalized how the composition works and affects the design of your code.

Complaining that Go code is all boilerplate is like someone who tried Haskell but complains that it's just an especially inconvenient imperative language and you end up doing everything in IO anyhow. Nope... you have not yet gotten past your "Writing X in Y" phase. That's fine; there's a ton of languages and platforms and libraries in the world. If you didn't get a short-term payoff from using it, go ahead and move on. But you haven't attained enough mastery to go around slagging on the language/platform/library yet.

(And, again, let me say that, yes, it is somewhat more verbose that Python or something. If you've shrunk your Go down to that level, you probably went too far and are doing something ill-advised. But I find that in practice, for most tasks, it is not that much more verbose. There are exceptions, like heavy duty GUI code or (IMHO) scientific code; the solution is not to use Go for those.)
Maybe somewhere there are CEO/Workers salary statistics by country in 2018?
I'm found only this[0], but 2014 years.

[0] https://www.statista.com/statistics/424159/pay-gap-between-c...
Your link makes it more clear that this regulation is 99 articles across 11 chapters. Anyone familiar with the practice of law could tell you that the interpretations of various judges and bureaucrats will multiply the material to consider. It's true that most law in most nations is like that, but even if I don't completely understand the laws where I live and work, I (perhaps foolishly) have the idea that I'm part of a conversation about those laws. If my neighbor is unfairly harmed by a law, I'll know about it and will adjust my behavior and politics accordingly. When I have lived and worked overseas, I have understood myself to be a guest and have taken particular care not to violate local norms.

This thing is not like that, because it is a regional regulation intended to have global consequences. The Podunk Gazette of Podunk AL has no idea how EU regulations work or whom to lobby to get them changed. You're probably right that EU doesn't care about this newspaper, but they do care about e.g. LAT or WSJ. Where is the cutoff? Who knows?

This is true even if we stipulate that GDPR has the wonderful properties you claim, which I doubt. No one running a business wants to assume something like that.
Check Out Apple’s Giant Cafeteria Doors Opening
Finally. I hate (most) social media. Everybody ought to go back to email, phone, and in-person. Much more human and much less "how many likes can I get with this glammed-up photo".
If Wayland is the "Linux desktop" then all the advantages are gone.
You do know that Wayland's design effectively destroys any choice and customization right? Wayland's protocol is basically an isolation prison that requires "big DE's" and destroys choice. The protocol moves everything into one central place called the "compositor" this machinery must provide:

- the window manager
- the hotkey daemon
-the compositing effects
-the windowing server
-screen reading tools
-screenshots
-screen casting
-magnifying glass tools
-global dictionary tools
-etc etc etc everything.

Wayland's design makes it impossible to write a portable hotkey daemon for instance. Supposedly for "security reasons". Wayland is a GNOME dev's dream, it kills the ability of people to control their own system. If you're actually excited for Wayland you either thoroughly misunderstand what it brings and just like it because it's new or you're a drooling GNOME-lover who hates customization.
Remember when Hushmail backdoored their client-side applet to capture unencrypted emails and passwords?
> Using FAANG comp is definitely relevant if you have FAANG-level credentials and can get an offer from a FAANG.

Then why bother interviewing at IBM at all?
So What? There is nothing new under the sun. Be glad you are good enough to be copied and imitated.

C
Also: copy 80% of a successful product and innovate/improve another (core) 20% is a very smart business approach.

Kudos an good luck to the Chinese for the attempt to disrupt monopoly in this space.
This is like saying web developers aren't responsible for thousands of websites getting hacked through some plugin, because the authors of a plugin simply said it was cool, and they advertised it as such and the devs got some affiliate kickback every time they implemented it on a site.

The analogy doesn't work 100% but pretty close :)
>Wouldn't narrowed views in org-mode accomplish the same?

No. Narrowed views only let you see a subtree. This is about gathering nodes from different parts of the tree and putting views into them under another node.

Let me give some detailed examples - starting from some basics.

In Leo, if I open a .cpp file, it will make a node out of each function. If I edit any node and hit "Save", it will update the cpp file with the change. In Org mode, you can copy/paste code from an existing .cpp file into an org document, but the two are now distinct. A change in the org file doesn't affect the .cpp file. The best you can do is use tangle/weave - but that would involve a fair amount of work to convert your whole project/file. And probably won't play as well with the rest of your coworkers as Leo will.

A trivial example: I've cleaned up many of our .cpp files where we had multiple classes in one file, and the methods were all over the place. Since each method was a node, it was easy for me to group together all methods of each class so they are not scattered around the file. It was absolutely trivial.

Now to the bug example. You have a bug you need to explore. You have a Leo project that has all your source code. At the top level, you'll have a node called "Code". Under that, each file will be another node. Under each "file" node you'll have a node for each function. Back at the top level, you have another node called "Tests" - also hierarchically structured by type of test.

So now you create another top level node and call it "Bug". You can put in notes (e.g. Bugzilla ID, or copy/paste relevant portion from the bug text here). So now what you do is find all parts of the code that you think are involved in the bug. Make a "clone" of their nodes, and put them under your Bug node. So now those functions appear in two places - under the "Code" node, and under your "Bug" node. A clone is basically a "view". If you edit the text of a cloned node, all of its clones get updated. So you can now happily edit code under the Bug node, knowing that your files are getting updated. You can also clone relevant tests and again put them under the Bug node, and fix your tests. When you're done fixing the bug, just delete the "Bug" node.

A simpler example: My work involves some rather large classes that are essentially singletons (i.e. a hack to use global variables without calling them that). This causes headaches. So sometimes I need to know all the possible places in my code base where one of its members is updated. In Leo, with one command, I can tell it to search all the nodes for that string, make clones of them, and put them under a top level node. So now under that node I have all the places the variable is touched. Easy to quickly examine. This really sped up the rate at which I would understand unfamiliar parts of the code.

BTW, you can get deeper than the function level. I've often taking a long function and split it up into nodes. So some of my code explorations involve nodes that are parts of functions. It is quite easy to break up a function this way in Leo.
"I think this study has the same problem as the argument that hedge funds are a waste of time because hedge funds don't make money on average."

Maybe they are a waste of time, on average?
Ask HN: Which stack is the most prevalent in remote employment in 2018?
How do I become a US boss ?
I have zero trust in Proton<anything> after learning, that the free ProtonVPN service is provided by a data mining company from Eastern Europe[1].

[1] https://news.ycombinator.com/item?id=17258203 (please turn on "showdead" in settings, to see the entire thread)
messenger lite doesn't annihilate your battery like the full-featured messenger does, either
For anyone like me who was interested in how he beat roulette https://en.m.wikipedia.org/wiki/J._Doyne_Farmer#Beating_roul...
This is only the 350 highest paid CEOs in the US -- there are >50k enterprises of substantial size in the US. The median pay for CEOs per the government is less than many medical professionals. Some CEOs receive lavish compensation but most work for wages of a Silicon Valley software engineer.

I'd much rather work as a software engineer than a CEO.
Ask HN: What made you learn Python?
It would still be economical post, its only regulation that prevents that.

Nuclear was the right answer before and it still is for Japan. Its by far the best option for them in the short run and in the long run.

One time cost are one time cost and changing everything because of one incredibly unlikely event is nonsensical.
"No idea what the answer is."

Unions?
> not sure what have suicide rates to do with guns

The most important public health action to reduce suicide is to reduce access to means and methods, especially the most lethal methods.

Guns are particularly lethal.

> but I guess it could shave at least few percentage points from suicides by gun

It's closer to 50%.

There are 20,000 suicide deaths by gun in the US each year, out of a total of 45,000 suicide deaths.

The US has decided that those 20,000 deaths are a price worth paying for the fun of playing with their guns.
My boss made me. I'm glad he did, though.
Suddenly, #metoo vanished in a puff of logic.
Performance is orthogonal to this. To me the less you juggle with pointers and malloc/free the safer your code will be from memory leaks, misuse of unallocated memory, NULL checking issues, and easier to inspect/reason about.

Struct embedding helps with this quite a bit. And it's not possible without exposing the struct definition.

Performance gains are possible, but that's secondary.

> If one already accepts that the object should be dynamically allocated

It can still be allocated on heap, but in one continuous chunk of memory as a part of the larger struct. Hiding the struct definition would prevent this.
> It's ludicrous to claim that the constitutional form of government violates the Constitution.

It's not ludicrous to claim that the Constitutional form of the federal government would, if replicated in the states, violate a constitutional restriction that applies only to the states, which the Equal Protection Clause does.
My comment didn't mention the publication venue. Failure to understand that the SEC deals with insider trading is fatal to any credibility the author or the alleged whistleblower might have had about such an accusation.
If you can change out the JS payload, you can probably also swap out the HTML which supposedly "secures" it.

If the users had the option of "locking" a JS version with the Subresource Integrity attribute that they are currently using, it might help.
I feel for him.

But couldn't they reasonably argue they are not a service for securing this kind of thing?

If i leave $224m in my car and park it in car park at my local shopping centre are they liable for $224m?

I'm not saying they're not liable to some extent.
You contradict yourself: at least 50%+ of things you purchase with your hard earned money is made in china. I suppose you dont purchase anything useful then.
That there are gray areas (groceries vs restaurants) that can be difficult or because the math is slightly more challenging are not persuasive arguments, to me. As universal as a "flat" income tax having deductions are sales taxes having exemptions, so they also are never "flat" in practice either.
This is long, insightful, and brilliant. I had a new "wow" moment at least three times just skimming through it.

Saved for later when I have time to read it in detail.
The tooling around OCaml is nowhere near F#, let alone Rust. The standard library situation is less than ideal and they're still working on getting multithread support.
That's because there aren't enough people working in 'open-source' to really care
This solves a different problem. Say actor A makes a website and uses CDNs provided by actor B. This protects users from actor B changing their scripts, but not from a malicious actor A. In this case I'm presuming ProtonMail is actor A.
If I’d had that job, I probably would’ve ended up buying a mountain cabin stuffed with MRIs and guns. Dunno how you could look at all that stuff and not basically say “welp, we’re fucked”.
Instagram has a nice one where you can take screenshot's with the camera feature via a desktop browser using the mobile user-agent.
Things is not as simple as it looks. Some Chinese say the founder of 'Redcore' is officiallings. There cound be some
collusion between the referee and the athlete, when he get his fundraising.
So why single out the app and the natural birth control method if the same problem (people using it incorrectly) applies to condoms as well?
> under Turkish rule

You mean Ottoman. Ottomans are usually considered Turkish but Turks weren't even the biggest group that lived under the Ottoman rule.
Because they are a well known company, and OP assumed they could pay competitively?

It happened to me personally with another company: well-known in their field, everything they communicated implied they're aware of my current offers and looking to make a competitive counteroffer. Everything goes well...

Then BAM, their offer is 20% less than my lowest outstanding offer, which they knew about.

Total waste of time. So I understand OP's frustration.
> As your own link shows, the main problem with condoms is people failing to use them properly

This just shows that condoms have a UI problem.
Thanks to WSL and this, I'm very hopeful that my next development laptop can be a windows device
I can't imagine myself being able to continue preparing lines of cocaine and inhaling them for ~7.5 grams on end!? thats 75 of the larger lines or ~214 of the smaller kind of lines.

I could try my best but I am pretty sure I would simply fail to sniff 75 average lines. It seems impossible to succeed.
It's more he parked it at the dealership, and the dealership made a stranger a spare key to get into the car.
Yup.

It’s obvious that some level of inequality is tolerable, all stable countries today handle a certain amount of it. I wonder what’s the point of inequality where democracy, or maybe even society itself, just falls apart?
No, because the provider would be in the position to change the SRI hashes. Sub Resource Integrity protects you against malicious CDNs and so on, but needs a non-compromised HTML page to provide correct hashes.

You could however probably provide a signed entry point via a webextension or so and a an audit trail via a trusted distribution plattform, like addons.mozilla.org. Are there apps which use a mechanism like this?
> “The tree of liberty must be refreshed from time to time with the blood of patriots and tyrants. It is its natural manure.”

That quote from Jefferson, and many others of his, I always find very strange. Jefferson was a slave owner. It would appear that he desired an end to slavery but was incapable of doing it himself, which of course is disappointing.

This wiki entry appears to make the case that Jefferson’s own debt prevented him from freeing his slaves, because he still saw them as property on a balance sheet. https://en.m.wikipedia.org/wiki/Thomas_Jefferson_and_slavery

In the end all of his slaves (minus the few known children of his and Sally Hemmings and others of her family) were sold to pay off his estate’s debts, most likely breaking up families in the process.

In some ways Jefferson possibly hoped for a rebellion to overthrow the status quo in the South, and free all the slaves. Ironically though it wasn’t the slaves that rebelled and brought about that change, it was the Southern white confederates who felt they needed to protect their right to own slaves, and throw off the oppressive North (like western mass vs. Boston). They rebelled, and then Slavery was made illegal...

Although we all know that the rights of those former slaves have never truly be equalized across the entire US.

The point is, I always find Jefferson to be an interesting character, because he clearly understood the plight of those who were oppressed, but he lacked the conviction to overthrow his own life comforts to correct the greatest injustice of the founding of the US.
The US is awash with guns. There are multiple guns for every US citizens. Despite all these guns the US, as you say, is also a very violent crime ridden country.

Can you see how the guns aren't working?
In my mind the value of the iPhone SE isn't in being a "budget" phone but in its form factor: it's a 4 inch phone. Consider the tasks for which I normally use my phone: iPod (music), messaging, camera, maps. For those tasks the 4 inch size is awesome. It's compact and powerful.

I don't care if they remove the headphone jack, I've been using bluetooth audio for years now. Wireless charging would be awesome, but it's not necessary. Really the only problem I'm going to run into is storage: when I bought my SE the most storage you could get was 64 Gb. Now they offer 128 Gb. If I could have gotten 128 Gb then I would have bought it. That would last me for years.

Which brings up my final point - some of us aren't interested in having the latest-and-greatest iPhone every 1-2 years. I want my iPhone to be on a 5 year upgrade cycle like I do with my iPad (I typically run my Macs for 8 years). That's why I don't tend to mind paying the "Apple tax" - I run my hardware for a long time and so far Apple has been supporting that.
How the stock moves is not of relevance to the daily operation of a company; stock loses its direct benefit after the point of first sale. Actually I see that one could argue that stock becomes a negative benefit if executives become obsessed with watching it e.g. Mr Musk
Add "elegant" onto that list and I think you've hit the nail on the head.

These words aren't descriptors, they don't explain anything or give any further context about the nature of a library.
I incorrectly thought the article was about a veterinarian and euthenasia of animals/pets.
Literally a single person could stop the vast majority of organized armed conflict in the world today.
I have no doubts, and I'm so thankful of the research that MAPS is doing. I haven't even been thru any trauma and MDMA pulled me out of depression and greatly reduced my anxiety. It was an absolute miracle for me. It disgusts me that the stuff is illegal while cigarettes and alcohol are not. AMA.
This article is an ad
We need to get rid of GDP as a measure of progress. There are better measures like genuine progress Indicator. A measure that improves with pollution, disease and war must not be used for the sake of all.
BlackEye – The Most Complete Phishing Tool, with 32 Templates +1 Customizable
This is FUD. One of wlroots core goals from day one has been to promote the standardization of cross-desktop protocols that allow for these features. We have already addressed two of the points you brought up, namely screenshots and screen casting, via these protocols:

https://github.com/swaywm/wlr-protocols/blob/master/unstable...

https://github.com/swaywm/wlr-protocols/blob/master/unstable...

There are several more protocols we have written and are working on to address similar concerns: https://github.com/swaywm/wlr-protocols/issues

3 delegates from wlroots, including myself, who together represent 8 distinct Wayland compositors, are joining 3 delegates from KDE at XDC 2018 to discuss the standardization of these protocols and propose them for integration across the whole ecosystem.
> sounds like the author doesn't understand the difference between IBM and a startup. Anyone who expected stock options from a company that is over 100 years old with hundreds of thousands of employees just doesn't understand with whom they were interviewing.

You don't have to be a startup to offer RSUs. FAANG have just as many engineers as IBM, and offer them.
Yeah, that's a thing I should learn to do. When I last tried, about 10 years ago, the OpenGL drivers on my then Windows system used to decide to make my app take 20 seconds to start every now and again. The OpenGL init function would just block for that long. That was a show stopper for me. Also, my machine uses the graphics hardware embedded in the processor. That shares system DRAM. The DRAM bandwidth is already the bottleneck with my CPU routines, so it's not clear how much performance benefit the GPU would offer (although there could be power savings, I guess). But basically, my CPU based rendering code is already fast enough and I'm pretty sure it's simpler than getting the GPU involved and easier to debug and more portable (to, say, an Amiga 1200). Therefore I consider writing a fragment shader to be a form of premature optimization. I realize this makes me a mad man :-)
Chinese firms'innovative'software to beat US rivals using parts of Google's code
Probably why new hires are "only" offered $100k and not $190k like this person was expecting.
Dependency Injection using Decorators
> I don't think environmentalists are nearly as capable of throwing a wrench on nuclear energy development as you say.

Maybe in terms of their organised political power. But their lies and propaganda have essentially become common knowledge and are basically capable of always mobilizing a group of uninformed people to protest anything.

> Seems to me like the real issue here is that if nuclear energy is pushed as the go to modern day energy source, than global politics would be that much harder for the develop nations that "rule" the others.

Its the opposite, those nations that can produce and sell nuclear power stations can gain huge leverage one everybody else.

> There is even specialized cyber weaponry designed exclusively to sabotage nuclear enrichment equipment.

Yes. That is one of the larger problems, but not a show stopper.
The headline sort of negates the "secure" adjective.