skysight-inc/HackerNews huggingface dataset:
I have observed that many people who had never smoked weed (or did drugs, on that matter) have missed on many opportunities to grow up emotionally. They act "normal", but they are boring and immature in many things that are related to how they feel.

They would be a great example of a person who acts "too safe" all of his life not realising that it's his own fear that basically keeps him in his sandbox, when there's a whole world out there (BTW, I am not speaking about anything related to the New Age, as that could be interpreted - just the risks one could possibly take in general).

Two of my smartest friends are one who doped every day for a few years and the other one who practically never did drugs. Both are considered quite weird by the general population, and both know that and they know how they could manage others (but not vice-versa).

Now quite frankly I find that most of the people will never realise that drugs work well when they're done in balance with the other things in life. And the fact that occasional stressing of your body is quite beneficial in the long term, simply because it works just like training your physique.
One advantage of the iPhone 8 over the iPhone X is that it's not a monstrous size. Even though the iPhone X is only slightly larger than the iPhone 7, the screen is still ridiculously larger, particularly since they got rid of the feature where it'll shrink the screen.

I don't know why the market has decided that two hand smartphone usage is king, but it makes me sad. As someone who is frequently forced to use my device one handed and on the move its getting harder and harder to deal with.
kudos with actually using the FBLearner source code in the graphic
Sudden Death During Triathlons: Risks Higher Than Expected
A lot of people out there have been asking me who the
iPhone 8 is for, other than people who can’t or don’t
want to spend $999 or more on an iPhone X.

Well... Jesus. "Only cheapskates buy the 8", apparently.

I pre-ordered the 8 Plus, because:

- It was available a month sooner and I need a new phone.

- The 8 Plus has all the same internals and features. I really just wanted the camera.

- Face unlock seems gimmicky. Maybe next generation.

- $200+ for what amounts to a "better" screen and "cooler" form factor: not worth it.

So I guess I do fall into the "don't want to spend $999" category. Look down on me, pedants!
I'm personally considering the X because I suspect folks will do cool stuff with the new sensors. The dot projector, in particular, seems like it may be useful for 3D mapping of objects - would be pretty cool to wave your phone at something and be able to send the scan straight to a printer.
There's actually a CSS property just for this called `shape-outside` [0].

It lets you define a shape of an image (or other element) that makes it so when it is floated, other elements can wrap up against it correctly.

[1] is an example I just quickly made to show how the linked page could have been done in straight CSS. It works a bit nicer too as the text smoothly wraps instead of stepping like the linked article does (although there is no reason why both methods can't be combined to provide a smooth stepping where possible, and fallback to the approximation they used when it's not supported)

It's browser support is pretty awful right now (only chrome, safari with the `-webkit` prefix, and basic support in firefox behind a flag), but if it makes it to standardization, it's a pretty neat tool to be able to reach for in these cases.

If there were an easier way to see if the website itself was open source, I'd try and give it as a quick patch, but it doesn't look like the website itself is open source anywhere that I can find.

[0] https://developer.mozilla.org/en-US/docs/Web/CSS/shape-outsi...

[1] https://jsfiddle.net/c1ffdpgq/2/
Al Jazeera is the state media of Qatar which exports natural gas, not oil.
I don't think the idea that what we are doing does or doesn't affect another's rights is that clear-cut. What if I'm renting the place out? What about more abstract rights, like, I don't know, not having to smell rotting food you left out? The harm there isn't exactly direct and there's a judgment call as to what is reasonable and what is too far.
Former PS3-controller-controlled weapon operator here. I don't think this is accurate at all, for two reasons:

1. The more technology involved, the more audio/video/telemetry is recorded and stored. If we shot somebody, there was ALWAYS a legal review afterward. Your average grunt doesn't face anywhere near that level of scrutiny (not saying they aren't scrutinized, just not to that extent).

2. Despite common preconceptions about military members, exaggerated by Hollywood and not a few knuckleheads, the majority of us are regular people. We have families and a dog, and we don't like to kill people. We do it because we believe it's our duty to keep you safe. Years later, we still cry about it. It's a heavy burden. The X-Box controller doesn't change that.
Just let me know where to sign the class action.
I even get that in Belgium. And the occasional cashier that double-checks the terminal's ticket/output because they suspect the transaction is invalid because "as far as they know contactless doesn't work".
They probably added auto-aim.
> All iPhone cameras support slow-mo video and Burst Mode shots, and all iPhones now include Touch ID fingerprint sensors.

All except one. ;- )

> its never-look-back approach to software compatibility.

You mean no approach to software compatibility? Is walking down the street an approach to eating ice cream?
Riding the Waves of Confidence
I applaud your sense of fairness -- wanting to pay the hotel for the chargeback.

But on the plus side, maybe it will motivate the hotel to implement a more secure payment system?
> writing a good code

AND

using good code.

If a "Expert" have the option between use something that solve more problems better than other, is NOT a expert to not use it. Is just masochist.
I often get invited to events through Facebook. Without Facebook, I would miss out on a lot of events.

For this reason I'm basically stuck with Facebook, but I've unfollowed most of my friends, so this reduces the burden to some extent.
Just trying to get a more rounded view. Again, I appreciate it.
Yeah populism in third world counties. What do you call whats happening in the US and Europe.
This seems sorta silly. Better tooling prevents more bugs. That is the Crux of the claim. Yes. It should.

Better static analysis is almost certainly going to prevent bugs. Type checking is the fashionable static analysis nowdays.

My bed with it is that it requires rewriting. Which, itself, will introduce bugs. Or just be expensive. Using other tools are likely to give similar benefits. With the side benefit of keeping the working code you have.
Sorry I am probably ignorant here but, don't these guys just use mag stripe reader? They often just ask to see your credit card, lean down, swipe on their own device.

They aren't 'cracking' Key Injection Facility or messing with protocols. They just add a simple card reader? The reason they hit gas machines is the volume and most don't take chips (US).

https://www.amazon.com/dp/B01N4L19CR/ref=asc_df_B01N4L19CR51...
> I like this change from three sizes to just two.

Oh, come on...
It's a response to people with crass, Reddit-like usernames, like BloodyDickFart. Sound comment or not, I'd rather not engage in that type of conversation. I don't expect people to use their real names, a username is fine, I said novelty names.
Nitpick: Some probably should be merged, like these Honda bikes:

CBR 1100 XX Super Blackbird (11)
CBR 1100 XX Superblackbird (1)
EMBEDDED SYSTEMS UNLEASHED: INTERVIEW WITH AN EXPERT
Nice! Do you have a plan to add feature to specify location of object?
Holy crud! That's so hidden
That's a clever solution! There's an experimental way to do this in CSS - but it's not well supported yet:

https://developer.mozilla.org/en-US/docs/Web/CSS/shape-outsi...

And likely this can be done with SVG as well.
Two Major Telecommunications Focuses for the Future in Afrika
You see exactly how long I've been here. Are you new?
Show HN: A sublime like command palette for Eclipse IDE
This is why corporate taxes are a dumb idea. Firms should not keep one set of books for management accounting and another set that they use for tax purposes.

When money is paid to an individual, tax it as income tax. Very simple. Don't give firms an incentive to act as tax shelters or tax avoiders.

Think about all the legal fees that have been spent by the firms on that list to avoid and reduce corporate taxes. It's outlandish.

Not only do the complicated tax avoidance schemes waste lots of money getting created/maintained, they also drastically reduce transparency and make auditing the company (by regulators, shareholders, etc.) far more subjective and complex.

There is no issue of fairness, since all the firms can conceivably do any of the avoidance schemes any of the others are doing if it offers positive ROI. The issue is that so much time, money, and energy is spent on corporate taxation that should be spent on things that benefit society.
That's actually closer to the voiced retroflex sound which Indians often use as their 'hard D', articulated further back in the palate, with the tongue rolled back a bit.
Defamation occurring and proving a case are notably different events, never mind the difficulties of proving damages (many businesses fold or make no profit in the first year even without defamation), and the cost of litigation.
This is because some corporations make a lot more profit than others.

"Amazon's corporate income tax bill is so small, though, because its corporate income (aka profit) is so small. Wal-Mart's pretax income since 2008 has totaled $209 billion, Amazon's less than $11 billion. So while Amazon's rise to fifth-biggest market cap in the world on the strength of such small earnings is a fascinating and perhaps disturbing phenomenon, it doesn't necessarily signal a problem with our system of corporate taxation."
Water is a scarce resource.

A market system is the objectively the best mechanism for allocating scarce resources.

(Of course, if you object to a pure market system, the government can regulate the market and subsidize residential tap water.)

Why isn't water priced accordingly?
Mozilla Fellows for Science, Advocacy, and Media
I've lived for long durations in the UK, France and Switzerland I've never seen this happen in any of them. However, I have seen it happen twice while traveling for a few days in Norway.
That's a fair substitution. I like to give a nod to Sartre and existentialism mostly because it's one of the few philosophical positions that's both accessible to those less familiar with philosophy as a whole, and as such it's had significant impact other cultural domains as well--though you are right, if our concern here is providing a list of those thinkers who made the most significant impacts to the field internally Heidegger is a much more important figure than Sartre (Nazism aside) and his thinking has spawned far more work and extensions than existentialism (as far as I know about anyway).
Yeah, looking back I would say Turbo Pascal, Turbo C, Turbo Basic and AMOS on Amiga were the Unity of the early 90's game dev on home computers.

Anything that actually required extracting performance out of the system was straight Assembly, which I why it is ironic that new generations think that C compilers were generating fast code since day one.

I also knew a few people that did it like that, to save money on an Assembler.
> ...the company has permits for two wells to extract a total of 499,918 cubic meters of water per year, or 499.9 million liters. In 2016, the company extracted 78.8 percent of the permitted total.

So the government gave Coke the permits, Coke used under 80% of the agreed amount, and now it's a crisis? It has the markings of some severe utilities planning blunder.

> "The city has been growing significantly since the 1970s," he says in an interview at his office, which has a view of Huitepec mountain, where Coca-Cola extracts its water. "But in San Cristobal, there was no urban planning. And that's been aggravated by public policies that don't pay attention to the Indigenous people of the state."

That sort of gets at the real problem.

There are a lot of questions. Would things would actually get better if Coke were to shut down operations? How many people would stop drawing salaries? How much tax revenue loss does the government face with halted operations? Would the freed up water volume be enough to avert disaster? Does the drought affect everyday citizens or farmers the most? Are there any other environmental externalities that result from the Coke plant?

These are some of the tough questions that we need to answer before we can readily assign blame to megacorps. It's easy to hate large companies, and I dislike my fair share, but boiling this situation down into a headliner shaming corporate avarice may not be the best way to make progress. Maybe they should shut down the plant, or maybe they shouldn't--I don't know, and it shouldn't be for armchair economists thousands of miles away to decide. It just seems more complicated than the solicited visceral emotions may suggest.
I spend easily a hundred on dinner for my family in one sitting. That doesn't mean it props up the economy where I live nor is it a way to justify an argument about an entire economy in a city you visited once.
I didn't find any APIs for the new sensors - are those even exposed to the developers?
I feel there should be a counter-article along the lines of "Unit testing and static code analysis conservatively prevent 80% of the bugs". I've used both Flow and Typescript and imho they're both frequently more trouble than they're worth. They catch the simplest of newbie bugs that are rare in modular, linted, unit-tested codebases. There are static code analyzers (eg. tern.js) that provide hinting without requiring a transpiler. With Flow and Typescript you have transpiler overhead, but when it comes to places you might need them the most - checking and sanitizing data interchange that's so common in modular, service-oriented architecture - they fall flat. Flow or Typescript could have been more useful if the annotations truly were annotations in the form of comments, unfortunately they went the transpiler way.
Amazon decided to "re-invest" all profits back into equipment and etc for the business. Thus there are very few profits to tax.

Wal-Mart decided to what, I guess keep all the cash on hand or something. I didn't look up their 10K or 10Qs, but that's what I assume is happening.

I'm glad Amazon doesn't pay that much in taxes. 609B in tax money per year goes to the US Military, which has been responsible for more death and destruction on this planet than could ever be imagined previously.

So, thank you Amazon for making sure the warmongers don't get too drunk off of your success.
This would work if you would have tons of money, I am looking at Intel case where the evidence is clear and the process is taking years,then someone appeals, some minor issue is found and everything needs to start over, it is hard to fight against a big corporation.
Yeah its Chavez's fault. No mention of sanctions, sanctions. The people who are obsessed with sanctions don't care about the humantarian impact as long as they get what they want.
Thanks! ;-)

Yeah, that's already on my Todo-list and will be one of the next bigger features.
You should not use Fritzing. It is a bad tool. This isn't a vi vs. emacs argument, either: Fritzing is like using a crescent wrench to drive a nail. Yeah, you can do it, but it's the wrong tool for the job.

Schematic capture in Fritzing is, in short, terrible. You can only draw straight lines between nodes in a schematic. Furthermore, the design philosophy of Fritzing schematics is, 'wires between pins' instead of nets between pins. That is, you can't 'tap into' a wire, like you could with a net. It's truly idiotic if you've ever used any other EDA suite.

You can't name connections in a Fritzing schematic.

You cannot rotate a part by right clicking, or through keyboard commands. Rotations must be done through a contextual menu.

For PCB design: the color for the top layer of copper is yellow, and the color for the bottom layer of copper is a slightly darker yellow. Compare that with something sensible, like Red and Green for KiCad, or Red and Blue for Eagle.

Despite conventional wisdom, you can create custom parts in Fritzing. No, I don't mean re-labeling pins on packages, like what the Fritzing tutorials tell you to do. You can create custom parts in Fritzing, but you have to use Inkscape, Illustrator, or another vector design program. Every other EDA suite can create custom parts without an external tool.

Regarding the last point: until very recently, the official Fritzing FAQ stated creating custom parts was impossible. That part of the FAQ has changed, but there are still no links official tutorials for -- or even links to third-party tutorials available elsewhere on the Internet -- on the official Fritzing site. I will assume from this the efforts for support and documentation are effectively dead.

There are several dozen other shortcomings in Fritzing, but these are the worst faults.

Fritzing is a good tool for what it is designed to do: create graphics of breadboard layouts. Unfortunately, that's the only thing it can do well. Anyone looking to design a PCB should look at literally any other software besides Fritzing. Do not use Fritzing.

I believe the authors of Fritzing have never used another EDA suite, and it shows. Recommending Fritzing to someone 'to make their first PCB' or 'to learn circuits' does them a disservice. Fritzing is a piece of software that should be expunged from the Internet.
I used to have that same problem (of not having ideas) for most of my life. Now, I have more ideas than I can ever implement.

I would take a step back from startup ideas and read a book Become An Idea Machine[0]. I read it few years ago and in the beginning, it felt really stupid. Even after finishing it, I felt that it didn't really provide value. But over time, the process of forcing yourself to come up with ideas cumulates and suddenly you find yourself coming up with three ideas before breakfast.

[0]: https://www.amazon.com/Become-Idea-Machine-Because-Currency-...
Uber/luma.gl: A JavaScript WebGL Framework for Data Visualization
Once you harden it sufficiently, do you have any cost savings?

> video game controls are so much fun for a reason

I'm really more of a keyboard guy. Sometimes a mouse.
Creating web apps for InterSystems Caché using Vue.js plugin for QEWD.js
While I support the decriminalizing of drugs, I also have to question how effective it would be if all drugs were decriminalized and became highly regulated.

Example 1: prescription drugs are highly regulated, yet their legal availability has not stopped criminal activities surrounding the illegal trade. Legalizing may solve some social issues relating to the war on drugs, but not all.

Example 2: alcohol is legal, easily available, and has a (proportionally) low amount of illegal trade. On the other hand, a lot of people do illegal stuff when impared by it. Perhaps some drugs should not be legal, particularly since there is worse stuff ou there.

On the other hand, you have example 3: tobacco. Reasonable precautions taken, its main issue is self harm due to the impact on health. While there are obvious reasons to regulate its use (e.g. people frequently smoke in environments where it can harm others), do we really want to regulate self-harm?

Perhaps we should be regulating based upon the drug, keeping some illegal, rather than pursuing blanket legalization and regulation.

Edit: an occurance of legal should have been illegal.
>Actual senior developers are much more humble and use all the help they can find.

sure, this is raison d'etre of package managers like NPM.
How Computers Do Genocide
Ask HN: Can I get your recruiter e-mails?
I'm an engineer that does recruiting in NYC and now looking into ways to help recruiters be better.

I am interested in seeing e-mails that engineers have gotten from recruiters (preferably external recruiters, but internal recruiters is fine too). Ideally, I'd like to see decent recruiter messages that grabbed your attention, but if there are not many will take any.

Willing to pay $10 for 10 recruiter threads forwarded to me for the first 50 ppl. Via BTC/paypal/venmo.

my e-mail is david at inboxhire dot com

Not sure if this violates ToS-- if so, I'll delete.
> If the 15% of your bugs are simple type errors, then I'd suspect the quality and experience of your development team.

IME everyone writes bugs, but simple type bugs rarely make it past testing if you have full test coverage. It would be interesting to know what the typical test coverage in the relevant projects looks like.
>They catch the simplest of newbie bugs that are rare in modular, linted, unit-tested codebases.

This can't be repeated often enough.
> Whatsapp is now solid security for user to user.

WA communicates your address book to Facebook.
As a Cape Town resident, I can corroborate all of the above. The city has instituted "Level 5B" water restrictions which mean <87L/person/day and no irrigation or washing allowed using municipal water.
You're thinking of physical dependency. Addiction is compulsive behavior despite adverse consequences.
Water is a tricky thing. Take almonds for example. One almond takes about 4 liters of water to produce. With 1.6 billion pounds of almonds grown per year we're looking at almost 2.5 trillion liters of water. This is just one nut. Pistachios and walnuts use similar amounts of water, so do other things we eat like broccoli.

I blame Coca-Cola and their ilk for the obesity epidemic, but water shortages are more caused by farming and climate change than they are by breweries or bottling plants.
Is there any way to determine how much Amazon employees, contractors, and third-parties have paid in taxes? Even if Amazon only pays 1.4 billion itself, doesn't the company still contribute to government taxes paying employees and buying other goods, which are then taxed in turn?
I think the author is a homer for sure, but his reviews are a lot more practical, more Walt Mossberg than Ars Technica. It's nice to know what's under the hood but it's also nice to know what the phone feels like in day-to-day use, and I think Mr. Gruber covers that well.

And, for anyone who's already in the ecosystem, I think he's really good at relating new products to existing ones.
I totally used that watch to shut off random TVs in public places! nostalgia
I got a noticeable scratch on my Galaxy S6 in less than a week. And it's not even made of glass. I don't expect anything I put in my pockets to remain in "mint condition" for very long.
Show HN: A collection of user interface examples for Unity
Agreed, re-using a good code is one of the most important skills.
I think it will go up for a little while yet, because people are convinced that this is a zero risk investment with guaranteed returns- like real estate was supposed to be. I mean, how could all those companies in the index fund, with all that 401k money pouring in, go down at once? Seems impossible to imagine. That's why it's developing into a bubble.

My worry is that some of these stock prices are being supported by leveraged buybacks at inflated prices, and when the economy goes into a recession, you might see a lot of companies declaring bankruptcy at the same time, being unable to repay those loans, leading to solvency issues with the banks that issued the loans. That's the nightmare scenario.