skysight-inc/HackerNews huggingface dataset:
Ask HN: I want to be a 40h/week intermediate developer.How do I stay employable?
Using a throw-away because it is career suicide to express these thoughts so candidly. This post might trigger people with different views on work than mine.

I'm an average developer. I can write decent, legible code, with tests, and solve a business problem according to specs. I didn't study CS and learned it all out of sheer curiosity and passion. I have about five years of experience, all at web startups.

So far, so good.

But here is the thing: I only like to stay for a year or less at a given place and then quit (or get laid off, even better because I get employment insurance). I go on a 1-6 months break to recharge before I have to look for work again.

I'm perfectly fine staying an average developer. I want to do my 40 hours a week, sit out of office politics, go home, and do things I enjoy more with the rest of my time. I have no interest in becoming a lead or a senior dev: the extra stress isn't worth it, the Kool-Aid doesn't taste good, and I'm paid well enough as it is.

It feels like I'm living a lie though because hiring managers would much rather get docile, "hungry", "passionate" people who aren't going to leave after 9-12 months. So I have to pretend while interviewing so I can get my next job and pay my bills until it's time for me to take a break again.

I don't enjoy doing this because it feels dirty.

So this time around, I'm looking at alternatives: how can I work on my own terms and take long breaks in-between while staying employable? Should I look for agencies and only go for 3-6-9 months contracts? Should I give up tech entirely to avoid the broken interview process and avoid burning out at work?

I can't believe I'm the only one thinking this way, I know there are plenty of so-called "clock punchers/pragmatists"[0] who refuse to play the game. So I'm asking you: how do you pull it off? How do you survive? What do you tell your managers and your interviewers?

[0]: https://daedtech.com/defining-the-corporate-hierarchy/
Linux fu: modernize your command line
I guess it's different as I'm not in the USA, but I generally don't mind flying for <4 hour flights.

Security for me is always a breeze, no need to remove shoes here and I just don't wear a belt. If I don't have checked luggage the process is even nicer.

Flying between Australia and New Zealand is about as easy as it gets. I can check in online, and security takes all of 15 minutes, if that. 4 hours on a plane isn't too bad and usually I'm in a 3 set row with only 1 other person. It's nice to have a few hours to unplug from everything and watch a movie or play Stellaris. Customs/immigration on the way in (to both Australia and New Zealand) is so easy, the whole system is electronic, so the only human I interact with is the customs officer who confirms I have no prohibited items.

If it's a night flight, anything up to 8 hours is fine for me. I've never had problems sleeping on a plane, or anywhere for that matter.
Just for comparison....

Microsoft supports .Net Core LTS releases for three years....

https://www.microsoft.com/net/support/policy
The Euclidean Metrics of Trump’s Twitter Account
There are cryptographic ways to compute a set intersection between two sets A and B held by two different parties without A and B revealing the membership of elements of the set.

If set A is the set of users shown ads for Merchant M, and set B is the set of customers at merchant M who purchased something, then this intersection can tell you what percentage of the ads were shown to people who made a purchase without revealing who made the purchase to A or revealing who was shown an ad to B.

There’s probably a way to do it with differential privacy as well but it might be less efficient.
Effectively that's already the case. I gurantee if you live in modern society, eg. drive a car, use a phone, go on public transit, shop online or in stores with plastic etc... your "pattern of life" would be trivial to put together.

[1] https://en.wikipedia.org/wiki/Pattern-of-life_analysis
You would be surprised to know majority of trading companies/exchanges use Java for trading platform. So does majority of companies in finance sector. I have been working in this secor for over 10 years and have interviewed for many of them.
Back in the early 90's the Chinese railway system had some cars set up exactly like this. They were called "hard sleepers" and they had a vinyl cover over a bit of padding with a narrowish (i'm guessing) plywood base.

They looked not promising but they were surprisingly comfortable for even two or three day rides. You could either sit or lie down on them.

A modern airliner probably wouldn't go for plywood but if the safety aspects could be worked out the general design would be a big improvement for long haul flights.
Another alternative to get around geo blocks or paywalls is outline.com.

https://outline.com/http://www.latimes.com/nation/la-na-pol-...
That's a good answer, but it doesn't sound like a reasonable threat model for corporate single sign on.

Thanks for taking my feedback to your group. I hope it helps.
Probably really old teams that had their scope change over time, with decades of technical debt, whose large controlling entities are too slow-moving to afford any kind of large refactor or rewrite in a more suitable language.
Scientists identify protein that may have existed when life began
Using your miles to upgrade to business and save some sanity probably trumps using them for a family vacation where you could probably get something on discount anyways (unless you have to travel to India or Australia for family a lot).
If you are a professional writing Java code, nine times out of ten someone in your org will be responsible for volume licensing.
I think you mean first. Business class would run at 1.5-3k. At least for Emirates; and that's pretty long flights.
Or you really want to go to city X, but the price difference is rent for a month (or more).
I don’t think this is necessarily new for credit cards...the deal has always been that cards have perks in exchange for them gaining valuable profiling info (e.g. “1% cash back on restaurants!” and in exchange they have a good idea how people spend at restaurants).

The problem is, and always has been, that in exchange for some paltry “rewards” you have no idea just who gets sold what, or for how long, etc.

And this is a major new problem primarily because of how big and pervasive Google is, and how they’re into every business. This means I’m no longer sharing a few silly restaurant purchases with buyers of that data in the restaurant business, I’m enabling a crazy machine-learned madness that is hyper-connected to literally everything else I do. This should be illegal but our laws are too slow to catch up with powerful tech.
There are cryptographic ways to compute a set intersection between two sets A and B held by two different parties without A and B revealing the membership of elements of the set.

If set A is the set of users shown ads for Merchant M, and set B is the set of customers at merchant M who purchased something, then this intersection can tell you what percentage of the ads were shown to people who made a purchase without revealing who made the purchase to A or revealing who was shown an ad to B.

There’s probably a way to do it with differential privacy as well but it might be less efficient.

This is like the fourth time this story has hit the media. Google really needs to publish the full transparent details of their protocol and let the academic community analyze the, if only to avoid misinformation and speculation.
Personally I would build it in something like Go. I've done a lot of work in Rails and I would probably have the signup/profile/interface built in Rails 5.2 but use a high performant go framework for the really intensive stuff.

I've been considering building my own but getting an up and running gossip protocol to have it share data between nodes isn't the easiest thing in the world to code.
But does it scale? They only have a few first cabins. So maybe there is room for more but only a couple more. Not the whole plane.
The intelligence is in another castle. Convincingly mimicking someone's voice using a computer is now possible and therefore is not AI.
Spying on citizens.
i guess its a really bad idea :-D
Up until around 2008, clock speed was increasing rapidly and the bottleneck to systems performance kept changing. Software was being obsoleted in a mater of years. Then things started changing; evidenced perhaps by Windows upgrades suddenly becoming a lot less relevant and Apple starting to steamroll more modular computer builders like Dell.

Mark my words, there will come a day where continuously upgrading software will start to have a clearly higher cost than old, boring and stable. 2018 to me is the first year that a software platform can have had a true decade to stabilise in an environment that isn't constantly shifting and changing at a hardware level.

Maybe trends like in graphics cards will shake things up, but I believe the advantage is going to move to stable, slow upgrading, well supported platforms with large bases of well trained developer. Reducing LTS windows will be a disadvantage for the Java ecosystem.
I will definitely code, but without the pressure of making money or scaling or using the latest JS framework.
There’s always some hint in the name, and this time I’d bet on a truly round Apple Watch. They were probably using the iPhone X to test their ability to deal with weird screen curves.
Google Cloud Vision API+Python finds “organism” analyzing the classic Mars photo
At what point will any of the self-professed "friends of science" -- the majority of HN posters for that matter -- sack up and allow themselves to even entertain the possibility that, in modeling disparate outcomes between ethnic groups, that the genetic term is almost certainly non-zero?

The trends in genomics, specifically ever more powerful GWAS studies on complex phenotypes (e.g. height, academic achievement and yes cognitive ability) are not breaking in favor of this blank slate world view.

http://infoproc.blogspot.com/2018/07/game-over-genomic-predi...
Title 24 itself is broken into 16 climate zones [1], each comes with its' own table of acceptable parameters. The deviation in parameters allows for a wide range of equipment at varying standards.

http://www.energy.ca.gov/maps/renewable/building_climate_zon...
This changed somewhat starting with Java 9. Quite a few libraries broke down due to deprecated classes finally being removed and the version format change.

Java also has a considerable class of libraries and tools that tends to break on every major release: mocking frameworks, dependency injection libraries, annotation processors and everything heavily relying on bytecode generation. I'd say most Java projects contain at least one of these, so migrating to a newer Java is not just a matter of installing a new JDK and changing your JAVA_HOME.
During my travels I was definitely surprised at first just how effective that buying a beer for someone sitting next to you at a pub is for getting all sorts of information. It's definitely the cheapest investment you can make into having a great time abroad.
There is at least half a magnitude in speed benefit from a cache-line-size/alignment tuned B-tree compared to e.g. a red/black tree or similar, if used to 'only' store pointer-size value types, and even more if the value type takes up even less space. A case would be e.g. a float/int pair ordered by floats and used as a priority queue or such. That's an 8-byte-large value type. Though, it might, for that case, need to be doubled up if there is a uniqueness constraint on the integers associated with the floats.
LLC cache pressure can be very real. I highly recommend perf stat -dd and perf top -g -e uops_executed.stall_cycles as well as the -e cycle_activity.stalls_ldm_pending.
The former counts how long stalls happen, including those where instructions like DIV just take long to execute, the second counts stall events, i.e. one stall per load/store, not weighted for how long this stall event actually stalled the core. I'm pretty sure the former ignores cases where just one hyperthread stalls, but I'm not as sure for the latter. On Haswell and newer, unless using branch taken/not-taken profiling, I recommend setting
perf config --system call-graph.record-mode=lbr
before using perf top -g and perf record -g, as -fomit-frame-pointer binaries cause issues otherwise.
Videotext had vector graphics.
Software Foundations: https://softwarefoundations.cis.upenn.edu
I paid cash for this one. I don't have status or miles on AA or BA and probably wouldn't have burned them on BA First if I did. My miles are with another alliance and I'm saving them up for an around-the-world trip with an Asian airline. Cathay/Singapore/Emirates/Etihad are the only first class products worth blowing miles on, IMHO.
I get my number from decades of professional game programming.

In a 7ms frame, you are spending most of that frame doing the work of rendering the actual frame (unless your game is so trivial that the GC is going to be easy / fast anyway). An additional millisecond is going to cause you to miss your deadline and drop a frame. Dropped frames feel really bad.
I’ve been interested in setting something like this up. Are you aware of software that exists for it already?
It's always going to be subjective. If you have people experienced in gc tuning, it's pretty easy to weed those gc outliers out. I am currently doing that for one of the applications for the company I work for. For me, it would be far easier to write a low latency, high concurrency Java app than a c++ app. The last c++ app that I was asked to write works horribly and bleeds memory. But it was not an important app.
ReportingObserver: New look at your code
Can't really believe I'm recommending this here. But for a peek into the world of creative kids who move to LA to launch their budding empires on social media. Check out the Paris Hilton reality show "Hollywood Love Story" on Viceland. It's dark and dystopian. Not a celebration of facile overnight fame at all. There seems to be a distinct "peak" around the 50K followers mark, where no matter how hard you try, you never get past a local maximum of saturation.

This looks like a great series by Atlantic editors and will read at length when I get a moment. But I'd say most creators and influencers are well aware of the demands required to scale a personal brand. For a vlogger to get a free Lull mattress and feature it in a five minute segment is a win-win situation. Cash equivalent is ~$1K or less. They still have to make rent.

On the other hand, upside of popular social media presence is opportunity. From getting representation at a modeling or acting agency, to art students just out of school getting that first gallery show or sale. It can be considered de rigeur.
'It's Enrico Pallazzo': The inside Story of 'The Naked Gun' Baseball Game
| 1) Don't go to a "destination" city. Don't go to a city that derives too much of its income from tourism.

This is good advice. Generally the "second cities" of a country gives a better experience. More open borders and intermixing has been wonderful, but it does mean that a lot of capital/primary cities feel very similar.
Find that in writing. Everything I read says jdk 8 is the last free Oracle jdk.
Trump says Amazon, Facebook, and Google represent a ‘very antitrust situation’
JavaScript dives – two string methods
How do I pay with cash on amazon.com?
The TL;DR is that Red Hat and IBM are going to take over from Oracle as primary maintainers of java 8 (in the form of openjdk) after January 2019. That is likely to last through at least 2022.

Going forward Oracle will be primary maintainers of openjdk for each new version of java for six months. Every third version (starting with 11) the hope and expectation is that RH, IBM, et al will take over after those six months are up and continue to support those versions for at least several years.
I am not well-verse in Java world and curious about one thing.

The valuable part of Oracle JDK is the GC. For example G1 is only going to be available on OpenJDK 9. What if there's a new GC being developed, will OpenJDK have the new GC?
I believe the AD and Azure tools work, and the other ones needed for remotely managing Windows Server, although I could be wrong.
British Airways runs about $7,000-$15,000 per round-trip depending on when and where you fly. It's a relative bargain. You probably won't do a long-haul flight on Emirates for anywhere south of $10K, and probably quite a bit more.
exactly my point. Oracle going to come knocking and shaking down enterprises for millions because they still pull jdk from Oracle instead of openjdk
You've been provided two opportunities to cite those articles.
Maybe a simple NYCE debit card? Apparently they are widely accepted at POS.
Im doing my washing today. Run it once with detergent, then again without. The first cycle doesnt use enough water to rinse out the soap. I am running off a solar-powered well. I have a literally unlimited green water supply, but must still suffer a watersaving washing machine. Im tempted to crack it open and disable the relevant sensor.
Similar to tray tables up, they wake you up before landing. It would be no different than the current lay flat seats. Though I guess it would be an issue if there were no seats at all, but I don't see that ever happening (having to lay down the whole time would also be rough!).
where do you do your pushups?
Talk to your manager, if you're planning on leaving regardless what difference would it make if you asked for an extended period of time off?

Besides that maybe think about creating a small business, be a freelancer, or develop a product or service that people want to use.

I feel like we're in similar boats longing for something else, lately I've been questioning my position but I've been here for quite some time and find it very difficult to leave the luxury I have.
i distinctly recall articles much like this one about decapping dram parts in ceramic packages and focussing an images onto them with a lens. once you mapped the address lines to the physical structure, and tuned the aperture and ambient light levels of the chip you could get out a one bit image.
There's the convenience of these tools, then there's convenience of having a small number of non-standard tools to carry along with you, however easy that may be.

For example, for any diff'ing or cat-like need, I find it SUPER handy to just pipe stdout to vim like so:

$> thing-with-output-that-needs-navigating | vim -

I'm not an Emacs user, but my impression is that over in that world, the shell integrations are crazy good.
I've found that some perks, like free cancellation, is only available on the hotels' sites for significantly more than OTAs. Also my CC gives me a 10% on some OTAs.
That's so easy to bypass.

1. Wait for user to sign in.
2. Intercept their sign in.
3. User: "Oh, it didn't work. I'll just try again."
4. User tries again and it works. Attacker is also logged in now.

Alternatively, at that point you could just inject JS into whatever website needed 2FA and do everything without the user noticing anything.
Nice list, but I tend to keep my stuff as close to default as possible. The feeling of not being at home on a new box outweighs the benefits of customizations, in most of the cases.

I do have a huge .vimrc and some bash niceties, but I found it better for me to exercise some customization discipline overall.
Pwned together: Hacking dev.to
I am 6 foot 6. I sat next to my Friend who is 6 foot 9 on a flight from Chicago to Paris. Only 9 hours, but absolutely miserable.
Usually one tends to put it the other way, that economy pays for the trip and business class delivers the profit. Which makes sense because that is how e.g. a low cost carrier operates. While business class only flights are almost non-existent even though that in theory would make more money.
Yep - https://www.youtube.com/watch?v=_tQ-I_qFE0c is a good one, but you should also search for Coastermelt if you've never seen it before.
There is a new GC being developed (ZGC), and it's available as part of OpenJDK under GPL license.

See this thread from earlier today: https://news.ycombinator.com/item?id=17875944
Social Media Mobs
battery life < 1 month?
Nobody is chaining themselves to the equipment and preventing energy companies from building more nuclear plants. Heck, judging by the Dakota Access Line protests, that doesn't work anyways in the long run.

The reason why more plants aren't being built is because they are not cost effective compared to other options. You can argue that maybe the government or whoever could do more research to change this, but every company that wants a nuclear plant in the U.S. has one already. Until the engineering and regulatory situation changes so that it's easier to build a nuclear plant than it is to build a solar one, they're going to keep building the latter instead of the former.
If you consider in aggregate all of the government and corporate tracking and surveillance these days, the only way to opt out is to move to an off grid shack in the Montana woods and live a lifestyle like Ted Kaczynsky.

I am about 85% serious here.
Yes.

http://openjdk.java.net/jeps/333
In music theory context, sharp implies augmentation. Maybe that's why? (No idea)
https://globalnews.ca/news/1249484/safeway-discontinues-club...

"You've been provided two opportunities to cite those articles." That is worded in the most irksome manner. What is wrong with you?
> each of which is one key and one click in Safari

Safari user here. Which key and which click is that?
I do wonder if that will be slowly changing under new ownership. Java 9 and 10 had some pretty risky changes, compared to the prior releases. Take a look at the migration guide.

https://docs.oracle.com/javase/10/migrate/toc.htm#JSMIG-GUID...

Usually you don't see sentences like 'For every tool and third-party library that you use, you may need to have an updated version that supports at least JDK 9.', nor 'Check the websites for your third-party libraries and your tool vendors for a version of each library or tool that’s designed to work on JDK 9 or 10.' as things to watch for in a Java release.
An NDA is a legal agreement. It's entirely possible to organise coordinated disclosures without a legal agreement. The folks pushing NDAs, however, don't seem to be interested in other sorts of agreements.
Its a pain to code. I’ve done it, and I hated every second of it. Keeping data in sync with dynamic data in near real-time is terrible.

I wrote the CDN in Go, with Redis and a smaller go-powered daemon to retrieve assets every 20 seconds, sync them to a local storage drive, and after 5 days retrieve again - or, if there is no requests within 48 hours, clear the unused items.

Then I setup a system that if one edge requests an “unpopular” file, it’ll ping a simple REST API and have all the other edges pull that file, this allowing the edges to stay “one step ahead” of the user load
In most cases they even explicitly instruct you to "disable extra security at sign-on" so their scrapers can login with your password. It's absolutely bonkers.
Yeah, software is always going to be a challenge early on (whether it’s Microsoft or Librem). However much of the web is available already. I think as long as devs are willing to throw their html 5 apps into something then it will be not too shabby.
Not garbage collected languages per se; it's languages where data structures can't be value types[1], consequently consuming large amounts of extra memory because everything sits behind 2 or 3 or 5 layers of unnecessary 8-byte pointers.

[1] https://en.wikipedia.org/wiki/Value_type_and_reference_type
Great work :-) I had fun programming Basic and Z80 assembler when I was 11 as well. I always remember it as being a great time of discovery and passion.
Notably (and unlike NaCl/libsodium), Tink is not portable to plain C.
Thanks for taking the time to respond. Especially as a co-founder it goes a long way! I'm still looking for that net30 D2C product of my own to get started. All the best!