skysight-inc/HackerNews huggingface dataset:
go is my favorite language period, apps that i write in go seem more stable, easy to maintain because the syntax is quite concise, and the performance of the code seems quite good.

my language history is basic, turbo pascal, c, java, perl, python, javascript, ruby, nodejs, go, swift.

what i really dont like about go or havent mastered yet about the language are error handling and interfaces. error handling forces these oblong parts of code where you check if err is not nil and then do something, that part makes the code look a bit verbose, but i like most other things about the language where i bear and grin.

gobyexample.com is an excellent resource for learning go. i have used go as a restful api backend, a websocket service, and static site generator, all pretty solid code with no errors. i used to run ror and found that not having a good orm at first made programming db apps annoying, but i learned sql syntax long before using orm's and it was just fine.

i have to admit that html templating languages are not that great (ace, amber), but workable.

go apps when written correctly run fast and efficiently.
1mm wavelength is also known as 300 GHz carrier frequency.

The article states they use 30 - 300 GHz carrier with 2GHz bands. Definitely line of sight technology. The graphic shows airplane use with a 30-50 km range. Possibly usable in balloon relays too? (not satellite distances)

Links are in the 30-40 Gbps throughput range.
>Lenovo's malware scandal should certainly give you pause, but do note that it was only installed on its consumer laptops. Thinkpads were unaffected.

And would not matter if you were installing Linux per this thread...
> light to travel a micrometer or so.

The Bohr radius is around 5e-11 m, while the bacteria is around 1e-6 m. That seems like a gulf of difference. What's taking it so long?
https://news.ycombinator.com/item?id=12923444
An interesting contextual point is that Amazon (or perhaps more precisely Jeff Bezos) has an outstanding and tremendously well respected journalism feature whereby the publish original, factual, well-researched articles every day at the Washington Post.
Not necessarily. It could also mean that these functions are more specific, have names that make sense in the concrete context and don't have any unnecessary parameters you need to think about. When it comes to ORMs it's even worse. They are often not libraries but frameworks with tons of non-local settings and state you need to know about (or else...).

Not invented here also means not invented for the specific task at hand but for a much more general set of use cases. In my view it's a trade-off, not a fallacy.
"Actual journalism" Buzzfeed articles are of surprisingly great quality. They fund that quality through clickbait, which is their primary monetization strategy if I recall correctly.

It does make the right hand difficult to believe when the left hand is off being silly - but I'm actually impressed by the level of works produced by their journalism department.
The Senate can't be Gerrymandered but a lot of people argue it's not fair for California and New York to have the same level of Senate representation as North and South Dakota.

And thus demonstrating that they didn't pay enough attention in that civics class because "it's stupid and when am I going to need to know this?", where it was clearly explained why it's done this way. Hint: feature, not a bug.
Do you really want Facebook in this role?

I guess it works as long as you agree with their choices, prioritization, and opinions but as we saw this cycle, there was a collusion between "journalists" and the Clinton campaign. Even if you see no problem with that, would you see a problem if the Trump campaign had done it?
Electoral College: Make Hillary Clinton President on December 19
I have no idea, since I'm an iOS dev, not a web dev. We've seen a lot of these coding exercises btw, but the ones I've done have been onsite, so there is no way someone could of spent more than 2 hours on something. Usually the standard is if your able to complete the exercise, that's pretty good! I've only seen tests written once or twice, mostly because there was no time. You also see a lot of shortcuts due to the time constraints. You go through and explain your code, so you can point out 'this is a shortcut, normally I would do XYZ".

Usually when someone makes something 'too good', it usually means they've leveraged libraries that they already know. If they make a lot of code, I know they probably spent more than 2 hours. By making it a weekend project, maybe they are subtly hinting that better candidates will spend more time on it, which I think is shitty and one of the reasons why I don't like homework questions.

I'm assuming for all of the things you've just said, it means you are using libraries that make a lot of those things one liners. Like read/write local storage, search a data struct, reactive UX changes, etc.
You can argue semantics of the full quote, but the only way you get to, "Trump called all Mexicans rapists" is: a) ignoring the context of the remarks being on illegal immigration, b) implying examples apply to the entire population, and c) ignoring the remainder of his remarks.

When Mexico sends its people, they’re not sending their
best. [...] They’re sending people that have lots of
problems, and they’re bringing those problems with us.
They’re bringing drugs. They’re bringing crime. They’re
rapists. And some, I assume, are good people.

If you want to argue pure semantics, you have to be concerned that Trump thinks Mexico is sending people, you should be confused about how "they" bring problems "with us", and stuck in a moral quandary about how all Mexicans in the U.S. are drug-toting criminal rapists who are also good people (maybe). You could never get to "all Mexicans" unless Mexico is "sending" 100% of its population.

Or, you interpret the remarks to mean that illegal Mexican immigrants are more likely to be drug-users, criminals, and rapists, with the immediate and explicit caveat that this charge does not imply to all illegal Mexican immigrants, because at least "some" of them are good people.
The only thing bad about Go's version (other than the usual repetitive code complaints) is it's easy to ignore (ie forget) to handle an error.

And really much of the error handling in Go is by convention (ie, `if err != nil { return nil, err }`) rather than actual language semantics.

Honestly it would be nice to be able to always return the error (without special macros or symbols) if there is one unless I've explicitly setup a handler block.
Update Galaxy Alpha to Marshmallow 6.0.1 Custom ROM
A fast JASONETTE-iOS JSON combinator library for haskell
Alibaba beats Singles Day sale record, breaks $5b in first hour
Oh yes! That's what is mentioned in the web page upfront.
"Most of the programs are meant to be compiled, run and to be explained for their behaviour. The puzzles/questions can be broadly put into the following categories: "
that's how Ive been doing it. During the day sometimes Im just goofing off...and then I make up the time at night. Ends up in a wash, but way more fun :)
I never really know how much time to spend on take-home problems. I could spend a lot of time on it and it should be better -- possibly demonstrate more of my skills -- but often that ends in it being over-engineered and ultimately bad or otherwise unrepresentative.

Getting paid could provide the ideal constraints for the problem at hand.
Thanks for bringing that up. I had been unaware since I don't follow twitter much anymore. You are right that is amazingly vile.
Moving forward together: Our thoughts on the US election
So Facebook will be openly committed to censoring certain information for the public good. What could go wrong?
I know a refugee is someone looking for "refuge" because something bad happening in their country, but it's not apparent why I'd want to hire one other than being charitable.

Would I get a tax break? Would I get someone who is willing to work harder and accept lower wages? While the latter might sound like exploitation, it might not be if you're building a two-sided marketplace that gives people chances they otherwise wouldn't have.

People and businesses are very self-serving. What is the benefit for employers other than charity? Unfortunately (in the U.S. at least), businesses aren't charitable. And, even when they are, the charity is often accompanied by self-serving motives. But it's actually a very effective system: companies get tax breaks, public goodwill, and advertising in exchange for helping people who need it. I think you'd need to focus on incorporating those benefits into your message somehow.

Companies posting on Old Geeks aren't being charitable. Some have internal diversity mandates, some are run by older people who aren't allowed to discriminate but are allowed to post on venues promoting diversity. Etc.
I’m a Coastal Elite from the Midwest: The Real Bubble Is Rural America
Yeah, seriously. However you feel about Obama, he not only advocated for climate change efforts, but spoke intelligently about AI and it's risks.

Can you imagine Trump doing that?

Edit: Hell, I can hardly even imagine Hillary doing that.
To which we have to look at ourselves. We continue to set ourselves up for these binary choices. Where are the moderates that appeal to 80% of the population, not 40% at each extreme?
OP here! Started getting a lot of mails seeking answers for the puzzles. Was wondering what triggered all this and learnt about this post.
INSIDE THE 21ST-CENTURY CRAZE FOR REDESIGNING EVERYTHING
Cigarette Smoking in the U.S. Continues to Fall
Except that a software engineer has a pretty set salary ceiling and it is much easier to get a side job at night then get a comparable salary raise. The temptation to perform extra work is just too big.
Neither is any of the other manufacturers and yet, there is a public outcry if a notebook runs only the latest version of Windows.

The real question is if Apple missed providing drivers or if it is deliberate.
I wish I'd gotten a 2015 and put OpenBSD on it. Oh well :(
Of my 140 orders over the last two years on Aliexpress, only one has been originated in the US (California, to be exact). All but a few of the remainder were from China. I reside in Colorado. Mostly I buy hobby electronic components, chemicals/substances, and the occasional household or automotive item.

I've used Alibaba.com as well, but the payment methods are far different and it's a more risky situation with fewer guarantees. That service I use for high-value orders after a thorough vetting of the seller. Mostly commodity items like a pallet of green coffee beans, or weird chemicals in unusual quantities.

Sometimes an order on Aliexpress will be large enough that I must consider negotiating with someone on Alibaba.com instead. Negotiations happen for me on Aliexpress as well, but the sellers on Alibaba.com seem to have greater latitude in not only price, but also packing, shipping, and handling to destination.
You do realize that you are advocating to actually rig the election, right?
IMHO it's still up there. I don't know about the new ones, but I had a 2015 at my previous place of employment and Windows 10 on BootCamp is a very nice experience. I still haven't seen a laptop from "PC manufacturers" that comes close. I haven't physically used a SurfaceBook though.
Congratulations on your launch and I hope you enjoy running it. It can be a lot of fun and quite the challenge at times. This looks like a very nice spiritual successor to the ai challenge ants contest.
This is not the role of FB in our society.

FB attempted to sway public opinion through censoring and media manipulation. Now that it has failed they want to police misinformation better.

If you are working at FB now you need to take a long look at yourself and your role in this.

FB is a communication platform, not a political tool.

Reddit and Twitter are equal guilty in this regard.
So, circumvent your furnace control logic to burn at max rate when it receives no commands from it remote controller, then go somewhere for a week. Engineers are stupid people, you know.
I wasn't involved in the switch, but having extensive knowledge of the code base at Tumblr (used to work there for 3 years) as well as extensive knowledge of PHP (have been a PHP contributor for ~13 years), I can say that this was likely >95% directly related to the switch to PHP7. Many of the patterns used in Chorus (inhouse framework Tumblr is based on) and in the codebase in general would very much benefit from the changes in PHP7 internals.
I know a slew of people that voted for Trump. Many are in their 20's and 30's and have been treading water since finishing college. Many more are a lot are older and solidly middle class or upper middle class, but are watching their children flounder.
if you're referring to the superfish scandal, that piece of software wasn't developed by lenovo, it was developed by a third party, who paid lenovo to install it on their windows images. so i don't see how buying lenovo is "funding spyware".
I can see that, but a couple of weeks of investment doesn't seem "incredibly high" to me.
Facebook, et al, campaigned to have internet access be considered a utility instead of a luxury. The UN is pushing it as a human right.

If you follow that line of reasoning, the companies who run the pipes and control the flow of information aren't just companies playing favorites. They're potentially influencing - if not outright regulating - human rights worldwide.. which means they should have a much higher level of scrutiny.

And they walked right into that one.
So you could concentrate and think despite that there is another person sitting next to you and waiting when you say something?

This part remains me too much of an interview: somebody sitting next to you and waits in the real time when you say something. It is too much pressure for me, somehow.
This, of all things, is actually only mostly bullshit: https://en.wikipedia.org/wiki/Carbon_capture_and_storage
Why not allow people to specify URLs ? e.g. Swift (what RackSpace runs) can be run anywhere, Ceph can imitate s3 or swift, and Eucalyptus can allow people to run API compatible versions of AWS.

Providers can also add new regions at the drop of a hat.

Limiting it to pre-defined URLs is a pain, and relies on tools updating for new regions being added.
>At the end of the day, you randomly select say 1% of all the machines and hand count all the ballots inside, making sure the counts and votes match. If they do, then you can be reasonably sure it wasn't tampered with, and if they don't match, then you can hand count all the paper ballots using the old system to verify the computer.

If you're working on the assumption that there's a possibility that the machines may have been tampered with, does it not stand to follow that the procedures for redress may also have been?
You sound like you're either management or the kind of person who's first to cross picket lines.

Anyhow, take out the vitriol and your statement is basically "do you realize that you're supporting the quality of life of software developers?" Yes. Yes I am. I'm a software developer and this stuff is important. I'm opposed to moving towards a negotiated position that gives employers more at the expense of software developers. These are not unreasonable positions to hold.

editing to add in a quote from parent downthread:

>yes, I was in some mid-management level

Keep that in mind as you read comments.
I'm from Kentucky as well. An earmark by Mitch McConnell secured funding for my first job out of university (WKU). He did good work for us in Bowling Green at least.

That said, I don't have any illusion that the future isn't bleak in coal country. My extended family has become substantially poorer over the last two decades -- from middle class to poverty. Still, we're working with what we've got. Every job created changes a life. At the very least it can be a bridge toward more opportunity -- that McConnell funded job was for me.
Pussy Grabbing Monsters- a.k.a. (#notall) men
Build quality. It's difficult to find a computer that matches the quality of a MacBook for fit and finish, trackpad quality, and battery life.

I haven't used the new one, but the 2015 models were among the best hardware on the market - regardless of what OS was installed.
Probably not. What's probably happened is that people of Facebook looked internally and realized they had the power to sway this election and didn't act on it. It's weird because we want Facebook to not sway us and let us build our own belief structure, yet in this case maybe I would want Facebook to do something, and help not spread lies and misinformation may be something everyone can get behind (except snopes).
People are buying more trucks and SUVs and fewer small cars?

I own a Nissan Leaf and a motorcycle that gets 50mpg. That gets cancelled out every year when I hop on a cross-country flight to visit my parents in FL. But I still get to signal my environmental concern every time I drive the Leaf!
dupe: https://news.ycombinator.com/item?id=12923444
Watch Amazing Success Quotes Video by Amir Najam
Yup! that's correct. Later versions of compilers have become intelligent with standard library function and I doubt if this reproes on the current compilers - for standard library functions.
OK, explain how he's not going to deport 11 million people, including many of my friends and neighbors. My son had a play date with one of these folks children just last week. If "ethnic cleansing" doesn't qualify, then pick your own terminology and TELL ME WHAT I SHOULD SAY TO MY KID ABOUT THIS.

Seriously, and in genuine interest here: what do I say? Your friend is getting kicked out? His family are illegals and "we" don't want them? How do I explain this? For the record: I haven't. He hasn't heard the story elsewhere yet, and frankly I don't know what I'm going to say when he does.
Aren't GeekBuying just sourcing from Alibaba anyway?
As opposed to codebases that abuse interface {} and reflection ? I'd take the complexity of generics over this.
I'm not a lawyer either, but I don't think what worked in Sweden will work for the US. Not only is it hard to sue people for libel, but content sites like YouTube fought pretty to hard to make sure they couldn't be responsible for things other people post on their sites (as long as they promptly respond to DCMA notices).
Guess who will likely be his nominee for Interior Secretary?

Hint: Drill, baby, drill!
Trump’s sweep could be a big setback to Tesla and Elon Musk
Chisel isn't that hard.
I'm not a climate scientist and don't play one on TV> It appears that most people who are (and are thus way better informed than me) have a consensus suggesting that climate change is both being caused by humans and lining up to be a problem. From flooding to sea level rises to changes in agriculture patterns and potential international conflicts over food/land. I don't know for sure that the climate scientists are right - it's possible they're all completely wrong. I also don't know for sure that the effects of climate change will be as predicted. I do however believe there is a reasonable chance that the majority of the specialists in this area are probably right. As such, there is a risk of anything from serious damage to an extinction level event. Given that until Elon gets his rockets going, an extinction level event on the earth would be very bad news for the human species, it seems prudent to me to look into ways of hedging and reducing the risk.

Especially given that just as the fears of climate change may be overblown, they may also be underestimated due to previously missed positive feedback loops of which we're unaware.
Misinformation is any information that does not follow the official guidelines laid out by the ministry of truth.
I went there and the first link called President Obama a 'Pussy'. I'm down for discourse and all, but how can anyone take all this machismo name calling?
Sometimes things adapt. Sometimes they go extinct. You don't get a guarantee about which will happen.
Finally tally isn't in, CNN still has Trump as the projected winner of the popular vote.
> If you're doing that all over the place, you're doing it wrong. I've never seen Go code that looks like that in real projects.

Yet it is there in the language. Why is that? how do you justify adding this to a statically typed language?
I already gave an answer earlier in the thread that is true for the two similar polling misses in the UK and my best guess for what happened in the US: differential turnout. Trump supporters voted with higher probability than they had historically (or Clinton supporters voted with lower probability, which seems more plausible looking at the turnout figures). So even if people's preferences for president were completely honest and recorded correctly, the projected "likely voter" poll results were wrong.

This is known to have happened in Britain, because there was a very thorough postmortem by the pollsters' professional body after the 2015 miss.
I also see it as an attempt to put pressure on me, but I know, that there are people who truly like it. So would be interesting to understand their point of view.
The angry workers, mighty in their numbers, are marching irresistibly against the arrogant. They are shaking their fists at the sons of privilege. They are laughing at the dainty affectations of the Leawoof toffs. They are massing at the gates of Mission Hills, hoisting the black flag, and while the millionaires tremble in their mansions, they are bellowing out their terrifying demands. 'We are here,' they scream, 'to cut your taxes.”

― Thomas Frank, What's the Matter with Kansas?

Except in this particular case, they are here to deregulate your monopolies.
Gut bacteria seem to be the phrenology of the 21st century.

I'm sure it will all be debunked in 20 years.
Peter Thiel to enter Trump inner circle as tech adviser
In case I feel like it's time to get out of the country.
You Don't Need
Hey do you have another working link for Public penetration test results: https://ptr.iot.nist.gov/A2L7P9D23345 you posted
a month ago. I had to send a message here because Hackernews does not allow direct messages.
Such a basic UI and concept, but it looks fantastic. I'm going to hop onto this immediately!
Weex is a framework for building Mobile cross-platform UI.
https://alibaba.github.io/weex
Obama is an ethnic cleanser?

"the so-called soft-on-immigration Obama administration deported more unauthorized immigrants during its first six years than the Republican George W. Bush administration did over its full eight."

https://www.google.com/amp/www.nydailynews.com/amp/news/poli...
Sorry Snowflake but It’s Not Over…
Dear IT overlords please alleviate the burden of critical thinking of my fellow people as thinking is too hard for them and they might stray from the golden path.
Nowden Live – With Startpage.com Private Search
I agree, but would add I wish student had to build compilers/interpreters for 3 languages: Forth, Lisp and something like C.
As a student we went right into C: BNFs, lex, yacc, emitting machine code, optimizations, etc. Very interesting but the beauty of simplicity is lost in it all.
Forth at first is baffling - there is no syntax! It's amazing how little you need to get going.
Lisp, to just get right to the parse tree. And you already have intuition on the interpreter part.
And finally C or Java for all the upfront complexity required.
There are no Trump stories on the front page, and I remember a total of 3 (the first two were the same but split to avoid server issues...). This and one other one is on the Ask page. That's reasonable, I think, for such a major event.
You've been caught in an echo chamber giving you biased info like many liberals. In the South, saying you're for Obama or Hillary can get the same results. You also get deleted off many people's social media if you push them on it.

This is one of those things that happens on both sides but the echo chambers tell each it only happens to theirs. Keeps people's attention, ad revenue goes up, and great divide remains strong.
Announcing Newspipe 7.1.2 – An open-source news reader