skysight-inc/HackerNews huggingface dataset:
> # using \ is looking for troubles

Are you referring to escaping and other special sequences (e.g. unicode codes)? Though it is odd-looking I actually find it rather smart that they decided to reuse an existing mechanism for that: aside from delimiters the only magical character in a string is \ rather than have e.g. both \ and $.

> # the useless ()

My beef is more with 1..5 being inclusive and there apparently being no exclusive range.

> # why do we need to be so explicit?

Why would you want syntax which is harder to parse, more magical, and has to be repeated for every addition, instead of an easily marked `extension` block which neatly parallels `struct` or `class` ones?
Swift has Xcode and Jetbrains. There's no need to have an editor war.

https://www.jetbrains.com/objc/
Get them to buy you out for $100k. It's actually a great deal - it's a small enough quantity that they can be expected to actually get it, and it'll become a problem for their round if they don't get it sorted out. From your perspective - real money. Much better than imaginary money.
So it's not ARC (in the Swift sense), it's just RC + cycle breaker.
The world of coding is cynical and this is a much dirtier business than it sounds, you can get away with almost everything.

Apart from startups: in startup, technical bullshit is replaced with business bullshit.
Why not go to Germany, get a degree there (many universities offer english speaking courses) for free? You end up with much less debt (if any) and have some additional experience.

I studied in Germany in English and there were a lot of people from all over the world in my course (only 20% from Germany) but there wasn't a single person from the US. Maybe the Uni wasn't as good as Harvard but certainly better than many colleges you'd find in the US.

What keeps US students from coming to Germany and study there? It shouldn't be a visa problem nor language.
Regarding 2, how do you suggest I avoid "spinning my wheels and learning nothing"? Over the last 6 months I've becoming increasingly aware of this problem with me, but I don't know how to fix it.
> Does anyone else think the Kotlin syntax for array literals is super ugly:

Well yeah, except it's really that Kotlin does not have array literals at all, arrayOf is just a variable-arity function.
And your examples are somehow better readable to "non-tech...company"? How? Better, as compared to...oh wait, not compared to anything, tested on a sample of 20 people. Passing that off as "This is not wishful thinking; it’s published, peer-reviewed research" (your front page) is dishonest at best. And it gets better. Those people in the study were recruited at "local web design meetup groups". Non-technical? How's that for selection bias?

It seems just like Angular to me - and worse, buggy Angular: how does "Born on
time property="birthday" datetime="2014-06-01" 1 Jun 2014 /time" get transformed into "Adam Catlace Born on 1 May 2014"? ( http://mavo.io/docs/primer/ , current Google Chrome, version 58, no extensions, no weird timezone one month behind the rest of the world)

The language does seem nice for the tasks at hand, and the learning curve looks shallow, but you are overhyping it way too much ("no programming", "better readable").
Companies Are Creating So Much Data, It Has to Be Shipped in Trucks
I strongly agree.

However, there are special cases where you are exposed to a new technology which enables new outcomes.

I was fortunate enough to blunder into using the Web in '92 and Java in early '95 and they were tools where the "how" did matter quite a lot...

[NB I haven't touched Java in a dozen years or so]
Sure, the US is not a fast mover in goverment innovation, and it has reasons to be conservative. (For example it's really big and complex [federal republic], and so on.)

But there are smaller orgs (let's say Mexico, or Spain, or Greece, or just a town in Germany), they might try whatever they think helps them.
This is terrible. I too have this phone and it still works perfectly, no repairs have been required. Are we now supposed to buy a new phone every year? Every two years? This is getting absurd.

Also, Windows at least tells you that support for your version is coming to an end. Google/Android has not notified me in any way that my device is not being supported anymore, that new updates will not be coming, what that might mean for me and what they suggest I should do.
That you can learn anything the way you are learning programming - by reading, trying, failing, trying again, debugging, trying again... You want to have a successful software business? Learn business, not just programming! You want to grow your business? Learn marketing / growth hacking!
~13 years in:

Spend your early career, to the maximum extent possible, in well-run organizations surrounded by supportive, skilled teams, so that you can optimize for skill growth and (secondarily at first, but growing over time) for individually attributable impact/ownership.

Honorable mention: AppAmaGooBookSoft hire mere mortals, too, and mid-career salary expectations at them are $300k.
build it to work first, then refactor the code to be pleasant. You often learn so much about the problem while getting even a rudimentary spaghetti code implementation working that you couldn't possibly have designed a comprehensive set of objects/interfaces up front, so get it running first, take what you learned about the problem and update the code to be readable and well-designed.
Modern Linux machines still ship with FS drivers for Amiga filesystems, and have software to play MOD-files from the early 90s, despite nobody creating new music in that sequencer-format any more.

I think MP3 and us are going to be fine for quite a while. This is after, all not a bug that needs to be fixed.

Basically I don't think about this is a "problem" and this I don't agree about the "pushing it ahead of us" metaphor.
Except when you have to wrap it in parentheses and tack a .ToList() onto the end of it, or use something outside the subset that the query syntax supports, it starts looking considerably more ugly than chaining the functions together.
> ignore the error and install anyway

I don't remember how Arch does it, but in FreeBSD Ports you need to actively replace the hash in the text file, there's no easy ignore option. (FreeBSD also mirrors the files on the project's servers, which is pretty cool)
Speaking of voluntarily basis, here is 7.1.1 on the N5:

https://download.lineageos.org/hammerhead
- Use stable tools(language, IDE, frameworks etc) with proven track record

- Use tools and programming language that you personally enjoy, not the one trending on tech sites like Hacker News

- Focus on mastering at least one programming language
Dems Smell Blood
Write some documentation.

A high-level design document of any significant system and subsystem is worth its weight in gold (or: programmer hourly rate * time to get up to speed on system).

This documentation will also help you in a years time when you need to either maintain that system, or need to remember how you built it so you can build something that is 90% similar to it for another project.
>That may be calculated play.

My thoughts exactly. The information they gained is worth orders of magnitude more.

Also, facebook is not fined for breach of privacy. Userdata can be bought, privacy laws or not, so it seems.
VMEDO-An App that provides all medical Emergency Services (http://vmedo.com/)
VMEDO (formerly, Blood For Sure) is an early stage start-up focused on solving Medical Emergency Healthcare problem. Started in the month of November 2014 at Shimoga (a small town in Karnataka, India), with the mission to “Save lives during Medical Emergencies”. In the last two years of operation, we have served more than 3000 people, with over 500 critical emergencies, which included- Ambulance booking, Hospital appointments, Blood donations, First aid and other Medical assistance.

Url for VMEDO app is
https://play.google.com/store/apps/details?id=com.areratech.bloodforsure&hl=en
New to Android O: Quick Settings Bar Renews
Did someone tell people what to name things? All I saw was a person speaking their mind about the choice for a name.
"Today's decision sends a clear signal to companies that they must comply with all aspects of EU merger rules..."

More like:

"Today's decisions sends a clear signal that it costs €110M to escape EU merger rules."
An alternative is to convert the equity to a debt that must be paid over the next 2 years or something.

Investors won't like this as debt has a higher priority in getting paid than they will.

A settlement agreement whereby the employee (you) gets a severance payment, which may (depending on your tax jurisdiction) be paid in installments over a period of time (years even).

Separate to the settlement agreement you sign over all(most?) your shares, and make it "clear" that the shares being handed over have nothing to do with the settlement agreement (of course they ARE related, but legally they must not be, talk to a lawyer about this).

A severance payment spread over years is much more attractive to investors as it means they take higher priority in the event of liquidation of the company.
DevExtreme 17.1.3 Released New TreeList Widget, DataGrid Enhancements, and More
I'm asthmatic so while I've always loved books for their content, I've always feared old paper books for their capacities to give me a runny nose or an asthma attack. !s much as I loved the stories, the physical form of books was the enemy.

And that's why, I love my ereader, it allows me to read books easily, it saves space and allows me to travel with all the books I currently read (that's why I started using ebooks on a palm a long time ago).

However, I don't love DRMs, I don't like the idea of Amazon knowing what I read, so I tend to either buy DRM free epubs or if I have no choice buy a DRM encumbered format and strip the DRMs with calibre.
Survivorship bias is by far my favorite bias
England isn't much cheaper. If you're not from UK or EU you'll pay >$20k per year. Not as much as in the US but certainly not free.
> Same goes e.g. for LINQ, which was influenced by SQL instead of LISP-like collection transformation functions.

This was an explicit decision to make functional programming more palatable to mainstream developers.

Have you read the paper from Erik Meijer?
> are named parameters considered the "default" choice in Swift

Most definitely yes. In fact it used to be that the first parameter was implicitly positional (in Swift 2 IIRC), this was removed to make all parameters named by default.

And do note that you can provide a single label for a parameter, it will be used as both "internal" and "external" names:

func foo(bar: String) {
print(bar);
}
foo(bar: "3")

func baz(qux quux: String) {
print(quux);
}
baz(qux: "4")

> and is using different external names so common

Also yes, it's absolutely ubiquitous, if only because that's the one way to provide "positional" parameter.
I've never seen anything that tried to do intellisense in JavaScript that wasn't slower than molasses. The quickest way for me to get Visual Studio to crash is to open two or three small .js files, watch the memory usage skyrocket, and the editor speed grind to a halt.
> AppAmaGooBookSoft

Interesting... I have always steered clear of such jobs because I felt I would be just a cog in the machine. It seems to me only a select few in those organizations ever shine (and most of them achieved their status before joining AppAmaGooBookSoft). Am I mistaken?
I think this is the problem: People expecting windfalls: "a large amount of money that is won or received unexpectedly."

There exists a reasonably reliable path to success for most people:

- Look at the people whom you consider to be successful who got there mostly through hard work.

- Do what they did, think about the things they think about, obsess over it. Let it consume you. You won't be good at first, but keep doing it. It will take time.

- Don't think you know better.

- Try not to spend too much time or too many brain cycles on recreation or non-work-focused friendships/relationships. (If you choose to do this, that's fine, but recognize that it is a choice that will define your future.)

That's about it.
I've heard of all of these tactics being used at one time or another.

Obviously my advice is not only unqualified, but also criminal ;) It should definitely be ignored :)
I assume Google will try to replace Java with Dart, because they have recently been focused on Flutter [1] [2] and Fuschia [2] development which are (mostly) C++ and DartLang stack.

[1]: https://flutter.io/

[2]: https://github.com/flutter/

[3]: https://github.com/fuchsia-mirror
I'm in my fourties now, started programming when I my parents finally relented and bought me a Commodore at age 10. My point is, when I was 14, things were quite different - mainly because information was hard to come by and it all depended a lot on what the people in your vicinity could teach you. However, I found one similarity to modern programmers starting out:

I wish I had known more about what was actually going on behind the scenes as my code executes.

In my time, I knew my knowledge was lacking, but being poor and relatively isolated I had few options. Today, factors conspire to leave new programmers largely unaware there might be problems in the first place.

Nowadays, we have way better tutorials that teach people how to use effective programming methods, but we're still failing when it comes to imparting the understanding necessary for programmers to make mindful decisions about trade-offs.

I also wish I knew more about persistence and communicating what I'm working on, it's something I'm still trying to improve. When I was just starting out, I was working on a text editor, but gave up because I thought it was superfluous. When I was about 16, I had made a pretty good game (in hindsight), but gave up on it because I thought it wasn't good enough. My life might have turned out differently if I hadn't been so shy and uncommunicative at certain points.
AFAIK they all use electromagnets rather than permanent magnets.
Maintainable and readable is I would say even more important than whether it works or not. If something works and is not readable it can cause more problems than it solves. Because it'll wind up in use somewhere.
Mirage OS 3.0 release
This is my mine gripe.

Google should put some resources into kernel development for a year or so.Get the changes they want into Linux 5.0 and make it the android long-term-release kernel. Then no further changes to the kernel unless its 0.0.1 security patches.
Given that most developers still complain about the state of Swift and its tooling I'm not sure Google's approach is wrong here. Most serious Android developers have been aware about Kotlin for a while, and today it's mature enough to be openly endorsed by Google.
I'm a huge Iain M Banks fan, and yearn to live in The Culture. He tackles some of these issues there, especially in Player of Games - the protagonist's attitude to game-playing resembles our attitudes to work.

But I don't think we can get there without going through a generation of pain and misery as we adjust.
> Agreed. There are plenty of people who work hard their entire career and don't get any kind of windfall.

There's a lot of talk about survivorship bias, but I have to admit, in 10 years that I've worked in game development, I've never seen anyone like that.

Either people change careers, industries or you can see that they're already burned out. I've never seen a good performer with a lot of experience in the same field and career, and ambition for more, who would be stuck.
There is no future in software development as a job. Move to a management position quickly, network, make friends with decision makers, don't spend too much time on crafting your skills, your reward for perfection will be more insane work and crazy interviews where one part not 100% done kicks you out. Work on your appearance, kiss up, lift, dress properly, use anti-aging cosmetics, make cool looking hairstyle, wear objects of power (like rings), work on your voice, make yourself seen by making presentations, even if pointless and/or stupid, do some trendy thing on a side and show everyone, appear confident at all times even if you have no clue what is going on. Demonstrate your skills by getting an MBA, PhD (even if from a crappy university, it doesn't matter) or a respected certificate. Basically, don't hack computers but people around you. Our field has shifted from meritocracy to over-politicized field, if you are a male you'd in addition face 50/50 gender ratio split pressure and given how few women are in our field, you'd compete for less than a half the available spots as everyone now wants to compensate this ratio in their mostly male teams.

If you really need to make software (like I do), make your own company and license/sell your work instead for >500% more than what would be your salary.
Expirations are not really relevant to this. It won't prevent a user from forging new tokens with a different expiration (using a broken algorithm), nor will it somehow magically make the original token unreadable.

The expiration is just an additional value in the payload that the implementation is supposed to check against.
I know several people who cut ties with their toxic family. It's painful, but sometimes it's necessary. They replace their family with friends. Good friends who support them.

In cases where only one or a few people are abusive, it may be possible to gather the rest of the family and continue a healthier family without the toxic people.
Yes. The iPhone 5 has received iOS 10, so it can run all iOS 10 apps in their most recent versions. There are some (mostly hardware) features that iPhone 5 users don't have access to (e.g. 3D Touch) so they might not be able to use all power features, but that doesn't prevent you from using the complete fully updated app catalog.

As an iPhone 5S user, I don't feel like I'm disadvantaged at all from having a phone that is three generations behind.
This encoder seems to have some weird distortions that are most visible in the aerial shots. Compare [1] and [2]. The lines on the basketball court are distorted and curved. If you look closely, there is also curvature added to the sidewalks where there isn't any. In case those links break, I'm referring to the top row of aerial images.

[1] https://static1.squarespace.com/static/57c8be4459cc68c3e3d7b...

[2] https://static1.squarespace.com/static/57c8be4459cc68c3e3d7b...
Too many people go to college these days and too many people choose majors that don't benefit them. We don't need millions of waiters/waitresses with psychology degrees from bottom of the barrel universities. There is a higher education bubble and hopefully it will pop so we can go back to a time where you don't need a master's degree just to get an interview
I am not sure what the upper bound on consumer credit card limits is, particularly on credit cards issued to college kids or recent graduates. However, I gather anecdotally that it's somewhere in the low-mid five figures, which isn't the kind of stratospheric, crippling student loan debt that this discussion implicitly has in mind.

Moreover, to get something like a $20k-$30k credit limit as an 18-24 year-old, you almost certainly need a parent to cosign, as you yourself would not have sufficiently long credit or positive income history. That in turn means they'd be on the hook for the debt in the event of your bankruptcy, and/or your bankruptcy would impact them as well.

If there were an easy way to transfer large non-dischargeable balances into dischargeable form, everyone would be doing it. :-)
First, Google Now/Home is pretty shit. At least around here (Hungary).

Second, if you worry about your file getting in the wrong hands (either now or later), then paying them won't help with that. To provide the services they provide they need to have that file.
I have some hope for HMD/Nokia Android phones. It seems like they're very vanilla android and have been updated with patches on a quick schedule. But only time will tell.
I know a variety of folks there, and their experiences range from "cog in machine" to "really couldn't imagine working anywhere else", and there are a lot of machines you can be cogs in that don't pay $300k (ask the former Japanese salaryman).

The main reason I mention it is so that everyone knows to aim for a package (compensation, skills growth, interestingness of work, life happiness, whatever) which compares to a clearly achievable outcome which tens of thousands of people of similar skill levels get offered every year.
Doubling the work force should not lead to halving wages. It should lead to doubling productivity, or halving the time spent working. The problem is that the extra gains from increased productivity aren't going to the workers, but to the bosses.

Until about the 70s or 80s, salaries of CEOs and workers grew at a similar pace. After that, the salaries of workers stagnated, while that of CEOs rose dramatically. Looks like that's where the profit of the increased labor force went.
This piece is simply breathtaking, I find this version on guitar more expressive: https://www.youtube.com/watch?v=JNEnzNHTkd8
I use PyCharm and refactoring works pretty well there too. Also I really like having an IDE that runs and presents itself just the same on all big three platforms, since I'm always hopping between computers.
+1

When I started out I had a horror of working in a large organisation. Worked for Ericsson for a year, but the size of it appalled me and I left. I've learned since that if you are smart and get shit done then you're probably best off climbing the ladders a big corp has, rather than churning out code for one small shop after another hoping they'll hit the big time
To have read Code Complete (now edition 2). I'd add Clean Code to that list as well.

Looking back 24 years, I'd also add, to be more involved in the local hacking community and participate in hackathons.

Anybody can code, but to make a difference, you need to network ;)
http://www.designworldonline.com/coming-revolution-high-stre... (December 2014) seems to give a wider overview of non-rare earth magnet development: FeN, MnBi, Ce and exchange spring magnets.
Because they can only fine the company, according to the regulation http://eur-lex.europa.eu/legal-content/EN/ALL/?uri=CELEX:320...
Have you seen the f8 video about real-time photo/video enhancements via AI? They very much like to roll that out as soon as it works on most phones.
How to Stay Positive in Life
Rewriting React Native with Kotlin would make a lot of sense. Kotlin compiles to Java bytecode, so you don't need to deal with JavaScript engines, serialization/deserialization, etc. Kotlin will compile to machine code, so it'll be supported with iOS with the same advantages. Kotlin performance is better than JavaScript. Kotlin has async constructions, etc. Kotlin could be compiled to JavaScript for web apps, so code reuse will work.

The only thing that Kotlin misses is XML Tags inside the language, but they could be modeled with DSL API.

That said, I don't think that Facebook would rewrite react native. It's an impossible task and they don't really need it. But I hope that some big player will replicate react native with Kotlin.
Windmills and electric motors don't actually require strong permanent magnets - electromagnetism/induction is somewhat more complex to manage but potentially more powerful and efficient. This is not theory or speculation - Tesla car motors don't involve strong permanent magnets [1] Large wind turbines do not require large rare earth magnets [2]

(Im not saying powerful magnets are not very valuable, but requirements for them can be overrated)

[1] https://forums.tesla.com/de_AT/forum/forums/no-rare-earth-me...

[2] https://www.mathworks.com/help/physmod/sps/powersys/ug/wind-...
I'm running Cyanogenmod on the Nexus 5 with dec/16 patchlevel. It comes as a minimal base over which you can install whatever apps you want. You can also install LineageOS or Sailfish OS. This is better than the level of support Google provides.
Y Combinator's newly announced podcast