skysight-inc/HackerNews huggingface dataset:
Also, btw, the problem need to be solved for the software industry as well, which at this point is starting to resemble the arts: few big earners stoking the dreams of the many, and many, many others fighting over the scraps.

The world today is still kind to the western developer, but how do we solve this problem for developers now so that we don't have to figure it out in the future?
Ask HN: What should be my salary?
I'm a full stack developer, working with Node, React, D3, Html5, css3, Php, JavaScript, Socket.IO and other full stack technologies. I've around 3 years of experience. I'm currently staying in India. I was wondering what should be an ideal salary for any developer like me.
I thought very strange things start to happen at even 10% the speed of light (mass increase, etc.) so 20% sounds impossibly ambitious?

Also the fastest physical object we've ever observed is only 1000 miles per second. A far cry from even 10% of c

Then there is that pesky problem of deceleration.
He probably left the function empty to keep it simple. And with "perfectly valid code" he's probably referring to not having any syntax error's, which is true.
Good idea for my next topic. ;)

For the record, I didn't post my article here, but if I had I would have specified the language.
This is right on. When I saw the pricing I had major sticker shock but after looking at this post and seeing the homepage it seems like certain organizations might find value in it.
Yuri Gagarin: https://en.wikipedia.org/wiki/Yuri_Gagarin
Very easy? I'd say "possible" at best. And now you've got access to a battle.net account. Took a heck of a lot more work than asking someone for username/pass in a live chat, and what you gained access to is worth a heck of a lot less. Plus Blizzard actually does keep backups and records and will be able to fix the situation for the account owner.

I'd be surprised if ever a Blizzard account was compromised by someone sending in a false picture.
The HTC 10 campaigns for the title best smartphone of 2016
What's interesting is that this is moving more and more in the direction of the tried and trusted legacy yellow pages phonebook model.

In that model you got a free listing in a category or two but had to pay to get either additional listings (in other categories) or for an advertisement (of various sizes) in order to get phone calls. The rationale (in addition to making money obviously) was that there had to be a way to determine the serious people trying to hawk a particular or good or service from the casual players. The thinking was that if a person took out a listing or an ad saying they "sold recumbent bicycles" they must be doing that because they were willing to pay to say so. So the theory is if you pay for say something you must be fairly serious about what you are saying (in terms of things you are selling).
>If a class has state, you have to be able to read that state or it's useless. ... That's where getters come into play.

No, having a bunch of getABC(), getXYZ(), getEtc() is a code smell.

If the class has many getters()+setters() or has the equivalent of many public data members, it means that related actions requiring those variables are happening outside of the class/object instead of inside the class. The more getters()/setters() made available means the more the programmer is treating the class as a "dumb struct{}" with exposed members instead of a "smart agent" with knobs & levers to direct a hidden machine. The "knobs & levers" should be higher-level public methods that are not gets()+sets().

For example, let's say we have a TextBuffer object:

With get()/set() mentality:

TextBuffer.setLinecount(0); // reset counter to 0
for() {
TextBuffer.getNextLine();
n=n+1;
}
TextBuffer.setLinecount(n);

With a public method to make the object smarter about itself:

TextBuffer.CountLines();

The method CountLines() replaces gets()/sets() and makes the object more "black box". The "for(){}" loop would be inside the object.

Making objects "smarter about themselves" is a hallmark of good OOP. Less exposed getters() is less coupling and less pollution of classes' internals to the outside world. Refactoring/reducing gets()/sets() means unifying those outside actions acting on object's internals into a higher-level method interface.

I'm not saying all gets() can be eliminated. But the Java practice of having 20 private member variables mirrored by 20 public gets()/sets() is not what OOP is about. It's actually about as opposite from OOP as you can get!
The OOP referred to in this article is certainly a straw man, but the alternative suggested has problems too.

Teams that work well act almost like they're mind-reading one another. High quality orchestration of disparate parts is in tension with encapsulation.

Actor-based programming is highly concurrent but in my experience it's harder to reason about as it scales up. Emergent behaviour of interactions between hidden states is sometimes the goal, and sometimes an unwanted side-effect. Network protocols are tricky to get right for a reason; splitting everything out into a shared-nothing message-passing architecture isn't a panacea.

I lean more towards explicit but immutable data structures, and referentially transparent functions over those data structures. In this world, parallelism can increase performance without observable concurrency. Concurrency is the root of non-determinism; non-determinism should be avoided unless it's inherent to the problem at hand.

OOP is a middle ground in this world, but it's ill-defined. Depending on style, it can be stateful and imperative, functional or message-oriented. OOP is not an absolute bad; with effort, it can be massaged, or herded, into working patterns. But it's certainly not a universal optimum.
[pdf] Explaining the Predictions of Any Classifier
It's been changed to 20 per domain (and 5 per identical FQDN set, i.e. certificates that are exactly the same) recently.
TextExpander Pricing Adjustments
Seeing multiple parallel lines (I'm guessing condensation from the pressure wave?) makes me wonder if the boom you hear is actually multiple nearly simultaneous booms.
This is known as Schlieren imaging. The refraction of the light changes with the density of the air, resulting in a nice way to visualize the shockwave.
HTC announced the HTC 10 premium smartphone today—its entry into the extreme competition for best smartphone on the planet. The device belongs to a category that makes no compromises in exterior presentation and interior performance. Trade-offs are a luxury enjoyed by makers of commodity smartphone models that pragmatic consumers buy.
14 Tools That Raise Web and App Performance
Pumba: A chaos testing tool for Docker
Not enormous, but noticeable. Around 2% time lost relative to earth, I believe.
The conceptual difference between messages and methods to me is that messages implies that it is the object itself that is the arbiter of whether or not it can handle a specific call, and the decision may depend on factors not knowable before the call. While "method" implies to me that it is something that may be applied to the object by an external actor.

E.g. if I do "foo.bar()" in C++, the compiler will simply not compile the code if "bar" is not already defined on the class "foo" is declared as. The object at runtime has no influence on the dispatch.

In Ruby, on the other hand (as well as Smalltalk and other languages with late binding and message passing), regardless of implementation details, whether or not "bar" is not defined when the code is parsed is irrelevant. You can in the general case not know before reaching the call-site whether or not "bar" is defined, and even if it is not, it is not up to the interpreter to throw an error if e.g. a method_missing is defined, and you can't in the general case determine in advance whether or not there will be a method_missing defined when you get to the call site. The object can decide to process different messages depending on the time of day if it pleases.

See also the Alan Kay quote elsewhere in this thread - especially the part about late binding.

You can achieve this with e.g. vtable based dispatch (fill in "missing" slots with thunks that loads a symbol and calls method_missing, and fill in the "method_missing" slot with a generic one that raises an exception), so this can still lead to similar implementations. It's a different way of looking at things, coupled with the dynamism of very late binding.
Is Elm being actively worked on anymore? The last blog post was November of last year, and if my reading of Github is correct the last compiler update was February.

Also, builtwithelm.co is broken.
Either laundered foreign money continues to flow into the country and the bubble sustains itself, or the spigot is closed and there is a correction.
The Four Laws of Software Economics
F8 livestream just started
I thought the same.

I also looked into stuff like bare metal raspberry pi with rust..

But then I realized, that I take very much for granted. Even if I would get a kernel running, I wouldn't have any driver support.
Housing costs are easy to fix.....it's just a matter of building more housing. Current residents don't want to do that though, so it's just a typical case of entrenched interests against newcomers: story as old as time.
Upvoted because you are right. Sometimes we let the work and creative persona of an artist overshadow their flaws. While I still deeply respect Davis the musician (not that he'd care what some white guy thinks), how he treated some of his wives was disgusting.
The Pub – Scotch.io’s Writing Platform
See my other comments in this thread
I remember this! I used it to prototype an HTML layout replacement for a Java GUI. Then I moved on to other companies and projects. Still looks great.
Solar is not a reliable form of power. There need to be 24/7 power sources as well. Nuclear is the best candidate for this, and it is already one of the most cost-effective sources of energy. It could be much less expensive with more companies competing to produce better reactor designs.

There's quite a bit of activity in that area right now, with companies like TerraPower, Thorcon, Flibe Energy, Moltex, and Terrestrial Energy bringing new nuclear designs to the marketplace. Thorcon believes its reactors will produce power for as little as two cents per KWH.

All of these new designs will be meltdown proof, and they don't need to be sited near water.
Banks don't try that hard. One of my bank is happy to resend me a password by snail mail with an account ID reset by phone.

Also, rechecking the ID of a user can be as simple as asking for a new token payment by the same credit card as used by the account. It's not infailable, the CC can be compromised as well, but it should be way better than what we have now.
At 20% the speed of light, time would dilate by around 2%, but that's about the extent of the effects, afaik.

Also: why bother decelerating at all? Take a picture as you fly by.
Maybe. There have been more incidents with "family values" lawmakers in public bathrooms than transgendered folks. Also "family values" states like Utah are often the biggest consumers of porn. Things are not always what they seem.
ML is machine learning.

Magic Systems is anything other than a manually configured (mostly) simple threshold for alerting.
Which part of Switzerland? -- I might actually be relocating to Switzerland for a job. If I do, I would be relocating to the St. Gallen area. Do you know if this is a reasonable area for a dopey American with extremely limited German abilities to get by OK? Is St. Gallen a reasonable place for a young-ish adult to live, or extremely boring? And how do you people in Switzerland get anything done on Sunday when everything is closed?
M3: Scaling Up Machine Learning via Memory Mapping
Just what I was thinking. It seems like the music industry could be a great use-case.

Direct link to the Imogen Heap alpha: https://alpha.ujomusic.com/#/imogen_heap/tiny_human/tiny_hum...
Microsoft and Facebook offers equal pay to women
yeah, psychopaths can spot an easy mark from a mile away.
The Joker came out in 1973 and it's one of the lamest songs of all time in my opinion. Miller's watered-down style just isn't for me.
NeWS was just as "open" (in the bad security sense of the term) as X11 was at the time, and didn't have any protection between clients, but was much more reflective and easier to explore. Once you're in, you're really really in.

Tools that imported EPS could be tricked into doing all kinds of stuff like forking Unix processes, and open files. And being able to open files also meant opening sockets with the %socket syntax.

NeWSPrint was a laser printer that ran NeWS on a workstation to render pages, in a stripped down presumably firewalled environment. But I was able to cause an error in a certain context that left an execution stack dump on the operand stack before calling my code, and inside that stack dump were nested executable arrays of PostScript code that contained an inlined unrestricted 'file' operator. So it was possible to make a PostScript file that would connect to the finger server and print out a list of anyone who was logged in. Or anything else if you can fish out a fork operator!

The NeWS source code is in that indeterminate "not lost but not published" state.

It would be a lot of fun and not so difficult to reimplement clean room NeWS in JavaScript from scratch, using canvas for all your PostScript rendering needs, which would otherwise be the hard part. James Gosling wrote the original SunDew interpreter in a weekend, but the graphics stuff took years to get right.

Gosling's SunDew paper: http://www.chilton-computing.org.uk/inf/literature/books/wm/...

A few years ago I dabbled in writing a spec and some plumbing for NeWS in JavaScript, but haven't had the time to work on it recently. If anyone wants to work on it, I'd be happy to answer questions and put a little more time into it when I can.

Source code: http://donhopkins.com/home/sundew/sundew.js

It doesn't do anything exciting or graphical yet, since I was just working on the interpreter. So far I've classified and listed out all of the operators you'd need to cover, made nucleus classes for the vm, processes and objects, modeled shared bodies for dicts, array and string sub-intervals, stubbed out all of the NeWS primitive and magic dictionary data types, and stopped just short of writing the main interpreter loop in PSProcessBody.run, which will work a lot like ps.ps: http://donhopkins.com/home/code/ps.ps.txt

It still needs a lot of fleshing out, including a tokenizer (but that's trivial for PostScript) and many operators and graphics (but that stuff's fun!).

I'm sure that with some more work on a clean room JavaScript NeWS server, it would be both possible and legal to run a lot of the old NeWS 1.1 demos and apps like psiber, and maybe even later OpenWindows stuff like pizzatool, pretty darn fast in a web browser.
Universities Envision Flying Beetle Swarms; but Crawl Before You Fly
Breakthrough Starshot announces plans to send ship to Alpha Centauri
Just chiming in to say it's fun to see someone mention Zao. As it turns out, I was just listening to them yesterday after not listening to them for years. I used to be a huge fan. I love that band, and they absolutely deserve to get paid.

As someone who works in/with the music industry, it really pains me to see bands put out great work despite so much pain (and drama) to themselves, only to get underpaid.
And the second lesson is "avoid weak passwords". He admitted it was cracked because of a weak password.

But Backups should be everyone's first priority. I'm sure many of the ransomware victims would have simply restored their machines from backup--if only they had them!
Short text on why bots are taking over, why it's not a fad and why it matters:
There is a growing theory that the majority of working middle class retirees will reverse mortgage their homes in retirement in order to supplement their cost of living (and pay inflated nursing home, health care, and end of life costs), leaving their kids with much less than expected inheritance. This would also exacerbate the inequality gap as wealthier families would have no need to go into debt and would rather continue to accumulate assets. Watch for Wall Street and associated marketing channels to put out financial products that make it ''stupid simple'' to qualify for and execute on a reverse mortgage as the start of this trend.
Planning a Perfect Backyard Patio – Mid-Atlantic Home Improvement
Faking ID scans adds a whole layer of law enforcement on top. I'm uncertain about the situation in the US, but in germany the fake itself is punishable by law (up 10 ten years). It also creates more traces to look at and creates work. You'd also need much more information to create a convincing fake id scan of your intended victim. It's all about increasing the amount of work for the would be attacker.
Programmers are the new rock stars.
Evolution of Stack Based Overflows
Agreed, and we're looking to improve this area too.
Young women are asking for (and getting) more pay than men
System Image backup was re-enabled shortly after due to all the complaints. It is still available in 8, 8.1 and 10.

http://www.tenforums.com/tutorials/5495-system-image-create-...
Why punish the other officers? Wouldn't it make more sense to put the offending LEO in jail and/or fire him/her?
https://root.cern.ch/ has tab completion and syntax highlighting. Also scripting support and built in reflection. It integrates with Python and R too, and you can move objects between the languages.
Fukushima was caused by shoddy planning. From a Carnegie Endowment report[1]:

"The original design-basis tsunami for Fukushima Daiichi of 3.1
meters was chosen because a 1960 earthquake off the coast of
Chile created a tsunami of that height on the Fukushima coast."

Assuming that future tsunamis would be no higher than a recent historical tsunami is already silly. But it's worse:

"one compilation of historical tsunamis in and around Japan lists
twelve events since 1498 having a maximum amplitude of more than
10 meters, six of which had a maximum amplitude of over 20 meters."

In 2002 they already knew the seawater pumps were located too low, but took no action:

"Fukushima Daiichi’s design basis tsunami was estimated to have
a maximum height of 3.1 meters above mean sea level. Given this,
TEPCO decided to locate the seawater intake buildings at 4 meters
above sea level and the main plant buildings at the top of a
slope 10 meters about sea level"

"In 2002, on the basis of a new methodology for assessing tsunami
safety developed by the Japan Society of Civil Engineers, TEPCO
voluntarily reevaluated the tsunami hazard and adopted a
revised design-basis tsunami height of 5.7 meters. Yet, NISA
neither updated the licensing documents to reflect this change
nor reviewed TEPCO’s analysis. Given that the revised
design-basis tsunami was now 1.4 meters above the seawater pumps,
such a review should have been conducted."

[1] http://carnegieendowment.org/files/fukushima.pdf
Steve Miller once gave me a $50.00 tip. He's the man!
Sending a swarm of unguided relativistic projectiles across the universe seems profoundly rude.
I wonder if there is a business model that can be built whereby transplant recipients buy insurance in order to pay out the cost of the flight by leveraging other recipients. (Spread out the cost in other words so let's call it insurance).

So the idea would be in a pool of 500 recipients (arbitrary) you buy private jet time of "x miles" (an average) and/or pay out the jet time over time. Any particular purchaser would pay the average cost (not the cost for the longest jet) and also have the advantage of buying power. And you wouldn't need 500 hours (or whatever the hours you get the point) either is my guess (since some kidneys would be located within driving distance).

What do you think (as a recipient?) of that idea?

The advantage is if the jet time could cost anywhere from 0 to $10,000 (depending on multiple factors including not needing it) you pay $3000 as a hedge and are willing to take the loss if you don't need it (to help the group).
It's also worth pointing out that you can have up to 100 SANs in a certificate, so you can technically issue for up to 20x100 (2000) subdomains per week.
Why JavaScript development is crazy
I wouldn't actually say that's true. Maybe Harvard but not MIT. I didn't know anyone, didn't pay (they paid me), and I didn't do anything specific for MIT admission.

What makes you say it's a shit school?
Funny. Indeed, the song is not about the recording industry, but about (loosing) innocence (I think).
Actually there is a quite terrorism proof reactor design.

Thorcon's approach is to site the reactor itself 100 feet underground. Physical security for that type of setup is straightforward.

Waste from the next generation of nuclear reactors (LFRs) is only dangerous for a few hundreds of years. Much less than the lifetime of CO2 in the atmosphere...
Show HN: Life is too short
One long standing issue I have with Arq is that there is no easy way to duplicate backup selections. I would love to be able to easily copy the selections between different destinations, or different systems that are being backed up.

Several years ago, I tried to manually edit the plist preference files, but that was painful and unsustainable hack.
Is retail sector ready for IoT investments?
Customer Service Survival Guide for Your Business
> the chip runs on 5v or similar

How does the chip get 5V, out of interest? Given that it's not allowed to be connected to the non-isolated side?
Same here. Zillow made me realize I should wait too.

I've been following the development of a new area that's going to open up later in the year, but the surrounding neighborhoods are priced at least in the $500k. The likelihood of getting into the new area is not looking good for me. There's affordable housing, but I definitely don't qualify.
Flame-on:
I wish I could blacklist other people's code that don't use semicolons. Perhaps that flagging should be put into a linter. That linter will then update a global list of semicolon-optional code.
Flame-off.
I think it depends on the location. During the last bubble-burst(?) housing in Santa Monica didn't really fall. Activity just kind of slowed down. Also, the last bubble was partially fueled by bad loans to unworthy borrowers. They were leveraged to the hilt, and when their rates reset on their teaser loans, foreclosures went up. This is happening less now because easy mortgages aren't as rampant. I bought a house in LA as a 20 year old with 0 downpayment and 'stated income' in 2002! That doesn't happen anymore.
13,000+ Amazon customers tell Bezos to 'dump Trump'
It would be great if this was automated, like the Suicide Machine. They used to support Facebook, but Facebook C&D'd them. http://suicidemachine.org/
Yeah, from the perspective of them getting easy access to the taxes I've paid, I definitely agree that they got a bailout. Maybe I should have said that they were 1st place in the field of losers that was the American auto industry. And while that isn't particularly inspiring, it may lend support to the notion that I was trying to propose, which is that they have at least some ability to handle potential crises that were evidently easy to fall into (at least for GM and Chrysler, who comprised the American car industry, aside from Ford.)

In hindsight on the whole comment, though, I'm probably just pleased with Ford right now because I'm quite impressed with the Focus RS, but that certainly doesn't prove that their leadership is strong.
Whoa! With praise like this, how couldn't there be more? Thank you!
I guess I'm struggling quite to see the use case here. For web-site providers themselves they would much rather do the conditional logic themselves because then that would apply to all visitors not just those that come via your shorturl service.

I can perhaps imagine someone tweeting something like:
"I've just published a new book, get it here", where 'here' is a link, which might send the user to the correct Amazon page based on their location (eg. amazon.com for US users and amazon.co.uk for UK based users).