skysight-inc/HackerNews huggingface dataset:
Read the article. They choose which warnings are considered fatal.
I just encountered this 2 days ago.

When the company decides to adopt a new (to them) technology stack that is not part of where I see my future self.
For me (and the teams I work with) it's to encourage modular thinking - everything is a candidate module that can be extracted, put in source control and shared.

For tests that go beyond small (unit/spec) level we have a project level tests folder because these tests make use of multiple modules and it wouldn't make sense to place them closer to the code.

Someone else in comments mentioned cohesion - that's another way of thinking about it.
Nah, I mean practical libraries that would actually help our codebase..

In my stack (Android) : started adopting EventBus while Rx was already pretty mature, deep into spaghetti code architecture while it has already been showed that variations around MVP or MVVM would be very beneficial.

I can't go into too much detail here but when there are some very big challenges around this product which faces an enormous memory usage and tons of memory leaks.

I am very practical and don't feel the need to use all the latest toys but here these are cases where the product could have been greatly improved by being a part of the community instead of living in an ivory tower where you are absolutely distrustful of external code to a ridiculous degree.
N64oid Emulator APK File v2.7 Latest Download Free for Android – Android APK's
An effort to fix Bangladesh’s deadly factories has a basic math problem
They do say this at the start:

> Choose with some care which warnings end up fatal. Don’t be afraid to modify your choices as time goes on.

So, my understanding is that they didn't make all warnings fatal. Only the ones they believe are important.
Cool! Didn't knew this existed, sadly my country is not listed there, will contact them for this.
and so fixing a new warning from an upgraded compiler might mean disabling it.
Cost of living in Silicon Valley is not lower than Switzerland...
plzreply@company.com?
I dont think that Switzerland is more expensive than say San Francisco...

While it is true that is one of the most expensive European countries the cost of living is very close to the one in the bay area...
Show HN: IMAP, POP, SMTP Email Settings Lookup and JSON API
At least, today, if you want // TODO or // FIXME - do both :add a ticket number, like: // TODO Refactor for Greater Good #123 (or https://<github>|<jira>/#123.

Filling in issues can feel like "busy work" - but it really is the least bad way to split up work, and keep track of things.

I think fossil has the right idea here, distributing issues along with the source code repository (and there's a few attempts to bring that to git/mercurial - but I've yet to find one that really works).

In general project "meta data" like documentation and tickets needs to be kept in a database, and there needs to be cross-reference between code revisions and ticket state as well as wiki/documentation - but they probably are 2 or 3 "different" projects.
This is true to a degree (reminds me of the old MAD Magazine adage that "MAD was at its best whenever you first started reading it"), though I feel communities usually have a localised version of Eternal September as well. At least if they get popular.

Eternal September on Usenet would hence be different from Eternal September on Reddit, Facebook or Hacker News.
> garbage collection is easy...

Garbage collection isn't the only way of writing mostly safe systems programs.

ESPOL, NEWP are 10 year older than C.

PL/8 was the systems programming language used by IBM for their first RISC mainframe, followed by PL/S.

Mesa used at Xerox PARC.

Modula-2 used at ETHZ and many 16 bit systems.

Object Pascal used to write the first versions of Mac OS and Lisa.

Ada and SPARK used by high integrity systems where human lives can be at risk.

All of them with not even a quarter of C's UB collection.
We've added about 20,000 verified email settings for many domains worldwide, so users can instantly get their email settings for IMAP, POP and SMTP by inputing their email address or domain.
There's also a JSON API that works like this
https://emailsettings.firetrust.com/settings?q=test.user@gma...
Image Correction for Color Blindness
LGBT asylum seekers struggle to find safety – even in progressive Netherlands
Im sorry, but saying someone needs to read the terms of services is BS. If i where to read all the updates i get, i would be doing nothing but read these BS agreements. The way they did this was very ugly, instead of sending a notice, they hid it in a all of text. This is why these agreements should not be classified as contracts and not legally binding in any way.
The site does not work on iOS, no matter the browser.
Forhyre| PHP Developer | PHP, AngularJS, JS | India| Part time | Remote|

We at forhyre.com a freelancing kind of startup developing a great tool which automates the freelancing projects.

We are seed-funded 4-member startup based in Australia but doing most of the operations in India.
We are also looking to raise $2M in coming 6 months.

Searching for early employees.
Interested candidates: mail me at- harsha.nitj14@gmail.com
Why can't we have the Internet of Nice Things? A home automation primer
How will they convert heat into electricity? On earth you have plenty of water as a good medium for the heat and a thick atmosphere that serves as the heatsink. On mars you have neither.
This is misleading advice. Most linters can be configured to fail upon detecting a 'TODO'.

I make liberal use of TODOs when developing, typically for reminding myself to e.g. localize a string I've hardcoded during prototyping or to refactor kludgy code.

A pre commit git hook gets triggered to run the linter when I attempt to commit which helps avoid the possibility of adding code containing 'TODOs'. Obviously I can just add the '-n' flag to not trigger hooks, but this requires intention.

In short, using TODOs appropriately is a massive boost to productivity and the alternative is either to just do those random tasks that pop into your head during the course of writing code or to just hope that you remember to do it later.
>Of course I suppose that reflects on authors profession (being a writer for a web publication)

Far too much of this navel gazing when reviewing products from the tech press these days. Like the iPad being championed as a work device just because you can write up a blog post and a tweet on it and a complete disregard for any profession that isn't accomplished only via tweets and blog posts.

Hilarious a tech blog site being held up as a basic challenge for a web browser. IIRC the early WebKit team had extensive hacks and work arounds to make sure the abysmal code of major sites like this and newspapers actually rendered "correctly".
I don't know what languages you are thinking but firefox is mostly C and C++.

There are no superfluous parenthesis warnings in GCC and MSVC.
I suspect the name was deliberate (look at the site's logo).

Either way, it definitely might struggle to get a bit more traction with that name/domain. It's like a modern day Pen Island or Experts Exchange.
Engineering quality != business value
Preamble: I am not defending the guy mentioned in the article, his only defense could be that he was drunk(not good enough imho).

What about when at a nightclub? What about women who rely on easily misinterpret-able body language?

What if two people have totally consensual intercourse where one has more power over the other one?

The issue I take here is that people pretend like the issue is black and white, while it's incredibly nuanced. The other issue is that when gender comes into play, people become emotional, I would love to talk about this topic as if instead of sex the guy demanded money from the women in exchange for the deal, then I feel we could have a much more rational conversation about this.
>you don't seem to understand what makes HN a cool place to hang out ... the stupid question does a lot more harm than the inartful calling-out

I guess I have a different perspective on HN than you do; because I've never noticed the "cool kids" wasting their time by griping about stupid questions (presumably they just scroll past them), and I've never seen anyone I consider one of the "cool kids" give warning that they were going to leave HN because of stupid questions.

EDITED to add: And I do know smart, successful, insightful people who don't post on HN precisely because of the kind of behaviors that you want to "let slide".
Well yeah, but it's no good lifting weights with muscles that are locked in spasm.
Is that a higher death rate compared to the entire population which includes people who have no need for these blockers? Or compared to just those who need the blockers just as much as the users, but don't use them?
I've written a few articles on it.. one included a tyrant boss I had to escape and the other was simply outgrowing your company.

Check those articles out here:

http://www.confessionsoftheprofessions.com/the-opportunity/

http://www.confessionsoftheprofessions.com/outgrowing-compan...
Most open source software are libraries or frameworks
Long road on the flip side Matthew Calkins managed to get to the IPO with 54.7% of the company stock.

http://www.nasdaq.com/markets/ipos/filing.ashx?filingid=1149...
Also "unfinished jobs" shouldn't be getting merged in the first place. If you see something unrelated to the feature you're working on in that particular commit, make a ticket on JIRA/Other and address it in a separate commit/PR.
It doesn't say that they are spinal surgeons.
Exercises I was given were
lunges - https://www.youtube.com/watch?v=COKYKgQ8KR0
hip raises - https://www.youtube.com/watch?v=fDP6O_aJpDg

Start in a crawling position. The purpose of this is to give you more control of the pelvic position with independence from the chest.
Quote from the PDF:
Start in a crawling position.
Without moving your head and shoulders, roll your hips so that you arch your lower back. Do not push into pain. Only go as far as you feel comfortable with, then relax. Try not to move your upper body & chest. If this is difficult, rest your shoulders, chest and ribs on the couch or bed, keeping your tummy clear. This will help to restrict the movement higher up and help you to localize the movement to the pelvis.

The other thing my physio did was sat with me and showed me what my posture _should_ be like, and made me sit like that for an hour or so. It was then up to me to keep sitting/standing like that outside the office. The first day, I was exhausted after about 2 hours. Now, it's painful to sit slouched.

EDIT: Even though this is a thread about the industry being a scam, I'd still recommend seeing a professional (even just your GP). As other people here have alluded to, you'll probably get some drugs to get you to be able to exercise pain free, but it could also rule out other issues (kidney problems being a good example), and ensure that there's nothing more serious going on.

I'd also recommend taking up a pilates class.
>, Rust has no undefined behavior,

Correct me if I'm wrong but I don't think such a strong universal statement can be true (even outside unsafe blocks) because LLVM has corner cases of "undefined behavior". (And since Rust is relies on LLVM, ...)

Maybe it's more accurate to say that Rust minimizes undefined behavior as a design goal, or it doesn't have intentional undefined behavior.
> Their interest in him was solely because of a GIF that lampooned their organization.

No. For starters, flagging is for breaking HN rules, not for disagreeing with the content.

But to the subject of the matter, CNN was interested in him after Trump, currently the President of the United States, tweeted it. If you read r/the_donald regularly, you'd see that everyday CNN-bashing memes are published without apparent care by CNN.

The rest of your comment is a word salad. But yes, you're right, this is all based "in THEIR account of events". But we have some reason to give them some benefit of the doubt. Because as far as we know, and at this point, CNN hasn't publicly identified the Redditor, even though they, or any news org or blogger, could do so given the Redditor's status as a limited-purpose public figure and the Redditor's own posts that apparently reveal his personal details.

Remember that CNN's purported war is not with Reddit trolls, it's with President Trump. And they'd get more play out of identifying the person and republishing all of his ostensibly racist and anti-Semite comment history and arguing that Trump was careless in using a meme from such an allegedly disreputable person.
It is not much a matter of cost of living but rather cost of the Swiss Franc versus other currencies.

Currently, the swiss Franc is very strong, therefore making any Swiss product expensive to the exterior.

It can become a huge problem for an economy based on trading with neighbors.
As an aside, the Congo and the Amazon used to be the same river before the Atlantic came along...

https://en.wikipedia.org/wiki/Amazon_River#Geology
Blame the Netherlanders, who like all other Europeans had their fair share of Afghans and their deeds. Hard not to get a public opinion when all points to negativity.
"Tools, not policies".

I must say, this page reminds me of how lightyears ahead Perl was/is in terms of tooling.

For example: are you coding a package? Before even starting brainstorming, just boostrap your package with ExtUtils::MakeMaker. Long story short, that package will boostrap a mostly blank (but customizable via various command-line switches) Perl package with most things you will need for development and distribution: a directory structure, a Makefile (for building and installing), some pre-set comments, mostly blank test files etc etc.

This is something that, for example, the Go programming language team has rightfully picked up in terms of directory structure conventions and tooling (gofmt).
So wrap your good encryption in another layer of 40bit encryption. If they call you on it you can prove conclusively that 40bit encryption doesn't work.
> Plus, I wonder where are they going to get batteries from ;)

Maybe here:

http://nordic.businessinsider.com/elon-musks-former-right-ha...
do you have any link to a study comparing Switzerland tech salaries with Silicon Valley?
Perhaps some form of decentralized hosting to offload the costly aspect of hosting an online community to its members? The percentage of people with access to ample broadband connections at home is increasing constantly, and bittorrent proved that distributing large amounts of data amongst peers can be done without centralized hosting.

It would be pretty neat if everyone could simply buy or configure some low-power hardware (like a router in both size, cost, and energy consumption) and have that become their internet 'home'. When participating in a community that supports the protocol used, that device simply allocates an amount of bandwidth and does its share of distributing content to the swarm. All a community would need is a central place to host the data needed to get started. Anyone could set up a new community with a minimum of means.

If technique used is standardized (and open) and gained popularity, service providers could even create hosting packages that do the hosting of your internet 'home' for you for a small monthly fee, so you don't have to bother with setting up your own device (although you could, and should always be able to).

This kind of concept probably exists of course. The challenge lies in getting it both technologically feasible for mass-scale adoption, and simple enough for anyone to participate. Still, doesn't this make sense for a future were we won't be as depended on a handful of commercial silos?
I live in UK and I see loads of Teslas as taxis, which is almost unthinkable considering the cost of the car - and I don't mean luxury taxis, I mean it's common to see a normal curb-side taxi as a tesla. I suspect the fact that it's extremely cheap to run and tax balances off very high leasing cost and makes it worth it. I imagine nearly 100% of those sales will turn into Model 3s as soon as it's available.
I prefer TODOs. At the places I've worked filing an issue was a sure way to bury something to never be seen again. You file-and-forget. At one point we even wiped the tracker just because it had so many issues. Definitely a management problem but still a true story.

How do you know that a function is unfinished if you have thousands of issues? Adding a TODO puts it in your face so pretty hard to miss.
A Short History of the O'Reilly Animals
I'd choose bmw's charger
http://www.bmwblog.com/2017/04/27/bmw-wireless-charging-530e...
> It can become a huge problem for an economy based on trading with neighbors.

Exactly. Switzerland has just 8.5M people living there, while the US has 322M and Germany 82M. If Germany were expensive, for example, it'd still have a sizable inner-country market while Switzerland does not.
Author here, happy to answer questions. :)
Satiety is apparently a complex mix including mental aspects but also chewing. Have you tried chewing more? Either "over chewing" (just keep each mouthful of food in your mouth longer and chew it to a complete pulp) or lower calorie foods that you physically have to work on more to actually eat (carrots, celery, ...)?

Water before eating may help you slow down too, which means your body can realise you're sated at an earlier point through the meal.

Just suggestions, YMMV, IANADietician and haven't fully researched these ideas scientifically (though they are based on research I've heard about in passing).
Quoting sources is very impressive, but you're not making a real point. People are aware of how inflation works - unless you can explain how inflation would counter productivity increases in the general shape of the economy, you're not adding anything to the conversation.
I can confirm. Just moved from Zurich to San Francisco. Pretty much everything except rent is cheaper in San Francisco (food can be up to half price of what I paid in Zurich) but rent being such a major expense, it ends up being similar. Salaries are a bit higher in Switzerland though so one would save more on average there.
yep, animals use medecines also and some poisons target cells growing faster. Good point.
I have some people at work who really want a Tesla. Like they would never ever consider spending 100k Euro on a Merc S class or an Audi A8, but they are willing to take on a huge financial commitment just to drive a Tesla - it's a brand + hype thing. I suspect that most of them will end up getting a Model 3 instead since that's far more into their price bracket.

I still think you are right - if you can "easily" drop 100k on a model S you are not going to buy the Model 3 instead. But if you were saving up for a model S and would have eventually bought it had Model 3 not became available, then yeah, Model 3 has just cannibalized those sales.
Reconstructing Faces from a Monkey's Brain Waves
More specifically I'd say i only see those kinds of classes together with spring.

Can't remember ever seeing them in plain or modern Java EE code.
Hi, I am glad that you like it! In case you haven't noticed it, the demos on the homepage (which is a slideshow with animations) also works without JavaScript, it degrades gracefully into a top-down layout.
Finally a good alternative to qbike, works good too
Sure they are.

> 2) the require/import paths are not like '../../../../../' (which is awkward to reason about)
> or requiring alias resolver configurations (which are environment-specific and fragile)

Compare writing an import path within a test of `import Button from '../Button'` to `import Button from '../../../../src/features/abc/components/Button'`. The latter requires you to count the directories in the path and replace each with '..'. This is a pointless waste of mental energy, and the former solution removes the need to do it.

The other solution as I described is to use things like aliases but this causes you to create complex configuration for your tests [0] which must be maintained and means your test are now dependent on this environment.

If this is just an opinion, please demonstrate that it's incorrect.

> (3) you are not maintaining an extra directory
> structure which could diverge by accident.

You are suggesting to me that `src/features/abc/components/Button.js` and `test/features/abc/components/Button.js` are not separate file-system structures which can diverge?

Because they are separate directory structures it is possible for them to diverge. This is a basic implication from the fact that they are separate structures.

If somebody moves `src/features/abc/components/Button.js` to `src/features/def/components/Button.js` you are telling me that you will not need to make any changes at all to `test/features/abc/components/Button.js`?

[0] https://github.com/trayio/babel-plugin-webpack-alias/issues/...
Chinese plan for “traffic-straddling bus” ended after 32 people were arrested
Good point! I'll have a look into this, thanks!

Edit: Great advice! Works like a charm! I've never really worked with dates in JS. Should have read the docs earlier ;-)
Plugin hybrids do seem to offer the best of both worlds right now.
Acura has the exact same strategy price/model wise as Tesla, and they've done extremely well. They have their nicer-than-average entry-level car that shaped sport compact cars forever in the Integra, which became the RSX, and is now relaunched as the ILX. It was in the same price range as the Model 3 was for the same idea - average people who wanted to stretch to have a nice car.

Then they have the (now current) TLX, RDX normal SUV, MDX luxury SUV, etc etc and their Model S is the flagship Acura NSX.

Yes, Acura is a "luxury" brand, but so is Tesla, even with the Model 3 out.

(Pretty sure Lexus is similar in branding/pricing with the Integra being equivalent to the IS 300 as the entry-level car, with it being a predominantly luxury brand. Obviously both Acura/Lexus are spinoffs of Honda/Toyota for the US/CAN market.)
Diesel engines can be ran on DME (dimethyl ether) with a redesigned fuel system. DME is clean and its's storage requirements are nearly the same as for LPG: pressurized containers at 0.5 MPa (roadbike tyre pressure).

Volvo Trucks has partnered with Oberon Fuels and converted several trucks to run on DME.

http://www.volvotrucks.com/SiteCollectionDocuments/VTC/Corpo...

Also Mack Trucks is looking into DME as an alternative truck fuel.

https://www.macktrucks.com/community/mack-news/2013/dme-truc...

Petrol engines can also be ran on an 70/30 LPG/DME mix.
The article states it has a bunch of things that are no longer up to date, just before the graphic, doesn't it? It says here follows the infographic except this has changed and such and is now owned by this and that.

I didn't really feel like looking too deep into that infographic any more after that. I think it's weird, or lazy, given that this is the meat of the article, why not make a correct infographic then? It already looks like a smudgy 3rd generation copy of a JPG sent through whatsapp, so it could use some cleaning.

It doesn't need to recreate the "funny" clipart figures, just the bar graphs and the correct numbers.

Or they could've just taken the numbers, the correct who-owns-what, and written it as a story, which would've been shorter and easier to grasp than this "keep these errata in mind"-infographic.

I strongly suspect that this article got its upvotes because many people on HN feel it is an important topic to discuss, not because the quality of the article itself is that great.
Ask HN: Best resources for learning Image Segmentation
Hi HN,

For my dissertation at University I will be trying to use machine learning techniques to predict weather formations from satellite imagery. Does anyone know of any similar projects or machine learning techniques (KMeans, Clustering, Image Segmentation ) / resources that could help me with this.

Thanks.
Let's Code a TCP/IP Stack: TCP Retransmission