skysight-inc/HackerNews huggingface dataset:
> How (learning) Go made you better programmer?

It got me to reconsider how I view tooling, linters, etc, and my work is better for it.

As far as the language design itself, I do not believe I learned anything new from it.
It cool, yet at the same time it's a bit... unnerving.
This is absurd — this mentality can be used to argue against literally every form of abstraction ever. The entire reason we have abstractions is to avoid writing the same redundant code over and over, with the associated likelihood of bugs due to typos.

What makes map more cryptic than literally any of the abstractions already in that example? Make is abstracting away GC-based memory allocation, indexing is abstracting away pointer arithmetic, and so on. Why are those abstractions fine, but "apply this function to everything in a collection" is somehow impenetrable voodoo?

"Simple and straightforward" often just boils down to "reams and reams of boilerplate code", where catching bugs is hard because it's impossible to notice a slight errors in one out of a hundred reimplementations of the same function.
I think they key is that the evidence is beyond circumstantial - they have concrete evidence that he uploaded files that were CP from that computer. It's a bit worrying why that isn't circumstantial (hacked computers aren't a thing?), but maybe the standard for issuing a subpoena is lower than guilt but higher than circumstantial.

Sounds like the only right answer for your password is "I do not recall"
"I'm 40+ and can tell you exactly when things started going down hill: September 11, 2001."

older, 22 Nov '63.
If the primary purpose is utilitarian then it's not art, it's decoration. Art is its own justification. adding a little flair doesn't make you an artist.
I guess we're agreeing on the fact that Go lacks generics. I don't know that I agree that those makes "writing safe and simple code easy". As we both know, simple and easy are two very different things.

Generics do make a lot of problems easy, but I don't think they inherently make problem solving simple. I absolutely miss them in Go - but I also remember how confused my high school programming teacher and I both were about them.

So far, Go seems to err on the side of Simple, if a choice has to be made. And, so far, the proposals for generics in Go seem to force that decision. I'm glad to see how seriously the Go authors take weighing the design and decision to include them.
Which would you rather go down for: destruction of evidence, or what's in your hard drive? I'm asking a technical question, not a legal one. There are many instances where this would be preferable than giving up the data.
Bill Gates Meets with Donald Trump, and No One Seems to Mind
It's not only because of the amount of force used. It's also because of the power it gives to the police.

If they had a mental scanner that allowed to get information out of people's brain without keeping them in jail forever or torturing them, it still be a problem - because without controls on it what the police would do is just round up everyone looking suspicious enough, brain-scan them en masse and use all the information gathered. And of course they would claim "if you're a honest man, you don't have a reason to be concerned".

So it's not only about torture & detention, it's about not giving police the power to own any information they'd like to have just because they want it. We have "due process" because police and state power is huge even as it is, without strict controls on it a private citizen has very little chance to resist any abuse and to correct any error.
Ask HN: Startup that shut down really gracefully, post was on HN recently?
Can't remember the name.

I think it was to do with worker scheduling or temp workers or something like this. They said their v2 product just didn't work - IIRC they'd launched it in December and realized around Feb.
Hear, hear. I've tried on multiple occasions to use Edisons in my projects, and the tooling is awful. Intel's communication with the hobbyist community is even worse. It's hard to understand how there isn't an Intel-supported Ubuntu or Debian distribution for Edison.
> Go is a bold design

What do you find bold about Go's design? (Curious, not looking to start a pointless debate)
My background is not clinical, so I'm not familiar with many of the current trials. Though it does appear that most gene therapies are starting with easier and more accessible targets with a higher risk/reward ratio than a prophylactic against cancer.

Also, though it may seem obvious that having more tumor suppressor proteins like retinoblastoma protein [1], or Brca [2] or p53 [3] should be a good thing, I don't think it is always so straightforward. On the other hand, elephants do have 20 copies of p53 - and they have way more cells than humans without getting a proportional amount of cancer.

Also if you think about 'where' you'd have to target the excess protein with the therapy it would be 'everywhere that might develop cancer', which is a much more difficult target than asking where to put the gene that encodes for hemoglobin.

tldr; we'll get there, but we're starting with more mechanistically determined/constrained problems before we move on to a cancer prophylactic.

[1] https://en.wikipedia.org/wiki/Retinoblastoma_protein

[2] https://serotiny.bio/notes/proteins/brca1/

[3] https://serotiny.bio/notes/proteins/p53/
From my experience, yes, they have covered all of the major airlines in the region.
There is a good place, somewhere in the middle.
It's not as black and white as you make it.

If there is a warrant to search my property, I am obligated to assist if required. E.g. open the gun safe. (Hey, speaking of guns...You know what other antedquated amendment from the Founding Fathers would be really convenient to ignore...)

Now, AFAIK, no one has tested whether that still hold true of a combination safe, where the access substaintivly requires information from the accused.

And a combination safe is very similar to an encrypted drive.
See https://news.ycombinator.com/item?id=4860370 from 4 years ago, it's fantastic
Ivan Sutherland: Sketchpad Demo [video] (1963)
But why does it need to change?

Would NZ really be better off if it got to tax the NZ revenue of Australian companies operating in NZ but gave up being able to tax the Australian revenue of NZ companies operating in Australia?

Given that Australia both NZ's largest trade partner and much larger (and somewhat wealthier) than NZ, isn't it likely that quite a lot of NZ companies earn significant amounts of revenue in Australia?

Would NZ even come out ahead from such a change, even ignoring the (very significant) costs of a massive change to the tax code? Because offhand it doesn't look like it.
https://github.com/poteto/hiring-without-whiteboards
> Closing a FD you are using is a bug.

Sort of, but think of the problem epoll is addressing: having an epoll-registered descriptor is semantically equivalent to having an active read() on the thing. That's sort of the whole point, of course. Calling close() on a descriptor blocked in read() works fine and produces the expected (synchronous EOF) behavior. Doing it on the epoll one produces surprising behavior depending on whether or not it got dup'd somewhere (which can have been somewhere outside your process!).

It's a bug for sure. Not sure it rises to the level of "fundamentally broken", but it's a bug.
That's a good idea, but only provides full protection if all git clients do it. The official git client itself doesn't support that, so people would still be vulnerable if they got a malicious half from github, or a signature on a non-malicious half from github and a malicious half somewhere else.

This protection github is implementing uses a heuristic to try to find collision attempts by just looking at a single file. So it prevents github from hosting any collision attempts.
I don't think github is in a place to change how git itself works. That's Linus and the team's job.
Sitting directly in front of me are two moderately large encrypted hard drives the passwords for which I forgot. If I get a subpoena to produce their contents, I will potentially remain in jail of the rest of my life for the crime of being forgetful.

That judge's behavior and (the laws that enables it) is sickening. You either have enough evidence to convict a person, or you don't.
Obviously Aristotle did no such thing.

However, he laid the foundation for logic, and founded sciences as specialized branches of knowledge with their specific basic principles and methods. People who attack him tend to dwell on concrete-bound mistakes while ignoring the methods he advocated; remember, errare humanum est. The re-discovery of his thoughts, and the return to reason, are the roots of the Renaissance. The remnants of his writings, more than anything else, fathered our world, via the Age of Enlightenment.

As for the future, imagine a Second Renaissance, followed by a Second Enlightenment!
I think you can make an argument some of this stuff rises to the level of a decent-ish sci-fi novella or so. It pokes you in the eye because the medium is typically so narratively impoverished. But both of these, like many genuinely emotionally engaging games before them will be well-forgotten in a decade or so. The Discobolus, Hamlet or Guernica this is not.
OK, go will never have generics (except that it does in "make", "range", "chan", ok whatever...). That's fine with me. But including even just a few suggestions in the parent article would make Go a more approachable language to everybody.

* Pattern matching is intuitive and can be extremely powerful.
* It's pretty clear that Null should not exist anymore.
* Multiple return values, but no tuples?!

The go designers seem to not have a problem with special cases so why didn't they include special cases for an Option<T> and Result<T,E>, two things that, with pattern matching, would fit right into Go's explicit error checking philosophy.
I'm actually in a somewhat similar situation. In my case, the position is remote, so I haven't moved anywhere, but I was lied to about how agile the company is. They do waterfall, but they call some of the phases of the traditional Software Development Lifecycle "sprints."

We're in the analysis and design phase now, and I've been producing documentation for about a week now. As lead engineer, I'm actually being expected to take wireframes a user experience expert has made, transform them into verbal requirements according to a rigid format in Confluence, and then JIRA tasks are created. I am expected to go into these JIRA tasks and link them to the Confluence document with the requirements.

This is now the second project, and on the first project, I felt I did very little of what traditionally constitutes software engineering and instead a grab-bag of tasks vaguely related to the creation and maintenance of software.

Confirmed that this is simply how they do business, I am on the job market again.
Fun fact: her cousin founded wework.
I have talked to literally hundreds of people off the street, coffee shops, etc. about my startup ideas. In all honesty, most of them were a waste of time.

Now, I take a different approach. I talk to my friend's friend's friends until I find the right customers to talk to. I contact my friends and ask who they know and then I ask who they know and so on. Its pretty easy once you get going. And a warm intro is an easy way to get the time you need.

Other resources are LinkedIn, Twitter, Reddit, Quora, etc. Find someone on there that has an interest in the idea you are working on. After you have a short interview ask who they know. Once you get the referrals flowing its very easy to find enough people to talk to.

A great read on this topic is Talking to Humans. A couple of takeaways:
1. Approach talking to others as a way to question your assumptions.
2. Ask for stories. People do a better job telling a specific story about their life, rather than answering hypothetical questions.
3. Look for clues, workarounds, passions, and pains.

- https://www.amazon.com/Talking-Humans-Success-understanding-...
3.84% to 2.08% is a 45% reduction in the amount of people that died. I don't understand your point, there is no obfuscation here, that's just how percentages work.
The basic problem is Google has no idea what good content is. It relies on external 'signals' to determine what to rank. Those signals will be manipulated by people. Once a manipulation strategy becomes widespread enough to impact search quality Google will adjust to compensate. This game has been going on for many years. It's cat and mouse between SEO black hats and Google engineers. I have looked into black hat SEO (a few years ago). Two words of caution: 1) Setting up black hat (or grey hat) can be costly and time consuming. 2) You are assuming the competitor's rank is going up due to black hat SEO. That may not be the case. A few backlinks from top sites can leave you in the dust.
I'm not really convinced by the Go rationale on the lack of generics and other things (like sane error handling). Argument from complexity is weak, because literally every other strongly typed mainstream PL has those abstractions by now. It's like arguing that your language shouldn't have loops and functions sometime circa 1970, because they complicate matters over the good old GOTO.

All in all, my impression of Go is that it's a language designed by the same people who wrote the Google C++ coding guidelines (https://www.linkedin.com/pulse/20140503193653-3046051-why-go...).
If someone released such a tool, the feds would make sure to clone your hard drive before supplying the password to it, or write a patched version of the tool that reads it to remove the disk wiping call.

And then you'd be in really hot water.
An actual forensics investigator will not work on a single copy of any data -- they'll make a bit-for-bit image of the hard drive in question and just work with an image.
Second Measure is hiring designer #1 to help analyze the world’s transactions
Yes. And it should be Lojban. ~
Just finished the first video. Very nicely done. The website is nicely done too, not obtrusive and makes the learner to focus on the video. +1
This reminds me that I need to wipe the drive I was using to test Bitlocker, as I typed in a random password and have long since forgotten it. I can only imagine the Kafkaesque horror of being imprisoned until I decrypt it, spending decades trying to brute force it.
Not quite, IMO -- combination safes can be feasibly opened without the combination.
Millimeter scans only happen in US airports -- they're banned in ~Europe~ the EU and not really used anywhere else.

Also you're very wrong. You can defeat a millimeter scan just by placing the contraband between your palms while your hands are clasped above your head.
It says that other carriers will be informed on Tuesday, so maybe they aren't aware yet. But yes it's sounds a bit weird to ban it on only some carriers...
The NT team had the advantage that they (Cutler et al) had worked on a previous OS and had the opportunity to revisit design decisions in many places. I have no idea if/how VMS solved this problem
And if you care about your radiation dose (some of us do) you will opt for a molestation rather than a zap.
By "stuff that became associated with success", do you mean something like "the mutation that causes the occasionally life saving trait X also causes blue noses, and that's why our noses are now blue"?

I'm no gene expert, but I don't think it normally works that way. There are a lot more genes involved and a lot more degrees of freedom, making the nose color and X independent. Or so I, as a non expert, think.
Go is an opinionated design.

It is very strongly focused on one particular approach of doing things. If you happen to like that approach, you'll find Go smooth and natural. If you don't, you'll find Go annoying and pointless.
We are real idiots.
Yes, two bodies create a gravitational wave that affects other bodies - but I don't see how those variations represent work - and they aren't observable on the two bodies themselves, so one wouldn't expect any effect upon those two bodies. Throw in the other planets and you might have a better argument, for example that Jupiter-Sun waves affect earth. Still, gravity "waves" aren't like water waves, as far as we yet know they don't represent (changes in) the impact of particles. However if you wish to argue that Higg's Bosons mediate gravity (some have, I believe) this objection of mine might be overcome. In other words, though I might be wrong, I just don't think we're at the point where we can deduce friction from gravitational waves, and we certainly aren't at the point where we can empirically measure such friction (as opposed to the "wave" - variation in gravitational field.)

PS, sorry: there should have been a question mark in my previous post asking whether you were thinking about flares.
> Millimeter scans only happen in US airports -- they're banned in Europe and not really used anywhere else.

were.

https://www.nrc.nl/nieuws/2014/04/19/bodyscanners-zo-gaat-he...
Looks really nice. Maybe I'll finally get around to reading SICP, given how often it seems to come up in discussions here. :)

That said, it seems that the font in this version is insanely large. I know large fonts are trendy right now, but 27pt text is just too much for long-form content like a book. (Compare with printed material at 10-12pt.) If the author's trying to improve readability, I'd recommend a higher-contrast font color instead.

On the other hand, the PDF version looks fantastic and addresses both concerns.
> It's just the appearance of curly braces that bothers me.

That sounds easily fixable with a different font. Or make your own. :)
Except local elites have less real power.

Corruption or "real motives" of a global elite aside, I look at it as the difference between monolithic code bases and well designed separation of concerns. One is less prone to catastrophic failure and easier to repair when failure does occur.

Joseph Tainter I think hits the troubles with centralization right on the head.

https://www.youtube.com/watch?v=G0R09YzyuCI
On the A16Z podcast someone made the great suggestion that as the news cycle shortens the news gets more negative. Good things and progress tends to happen on a longer time down but in the long run wins out. Imagine a news paper that gets published every hundred years. Yes, it would certainly cover the world wars, 9/11, probably the cold war. However, massive increases in life expectancy, decrease in poverty, decrease in violent deaths from crime or war, incredible scientific progress would overshadow almost everything dreadful we are concerned about on a daily basis. It probably would be mostly uplifting to read such a news paper. Our news cycle instead is down to a point where it's hard to imagine it could get any shorter.
mmm this poses an interesting question: what if a defendant/suspect cannot remember the password? Does anyone know if there is any comparable precedent regarding forgetting things?
No. Millimetre wave (and backscatter x-ray) imagery won't penetrate skin and certainly won't reveal the presence of contraband inside a human.

There's commercially available penetrating X-ray human body security scanners, but afaict those just have been used in prisons, not in airports (yet!).
I have a two year old son. As you can imagine he cries a lot. Lately we have been applying some EQ lessons we've learned and have tried to teach him to be aware of how he feels when he cries. You'd be surprised he's actually pretty good.

He starts to cry and then says "I'm crying." We acknowledge that he is crying by saying something like "You seem sad." He generally stops crying at that point and we move on. Its like the signal was sent and received. He feels heard.
>"It's also beyond bizarre that the US trusts Abu Dhabi's security enough to locate its only Middle Eastern Customs/Immigration preclearance facility"

This is not correct Quatar has one as well.

I'm also unsure why you would find this "bizarre" as all of the Emirates are incredibly wealthy.
If you're a politician, "I don't recall" seems to work wonders for depositions.
I tried researching this a while back and opted for the molestation (at least one qualified for that term). I recently went back to zapping out of cumulative annoyance. Any good resources that review the radiation type and dose?
> is that in the true "worse is better" spirit of Unix, it filled a gap for a better C++ by being only marginally better, taking away space for other, actually better contenders that don't happen have a billion dollar company backing them.

I think it ended up being 1) not sufficiently low-level, and 2) a bit too insular in its ecosystem, to really fill that niche. Which is what allowed Rust to seriously contend for it, and I think Rust is going to be the winner.
Yes, lumping everyone from the same geographic area or ethnic group into one generic stereotype basket can be somewhat irksome.

Note: Not a snarky comeback at your post per se, just that a lot of people tend to be oblivious to generic stereotyping unless they are the subject of it, and I am hoping that others reading this thread may have an "Aha" moment.

Addendum: As big as the US is, if you pooled all land masses that have a majority Muslim population, I believe it would dwarf the USA.
Sometimes I think this is going to get to a point where they'll have people remove their clothes prior to boarding and dress a special suit so they're allowed to fly without being considered a threat.
staffjoy.com
Ask HN: How would one detect being monitored/hacked?
yeah i know it seems counterintuitive to come straight out and ask it if that is indeed what is happening.

but let's just say hypothetically that it is happening. what would you suggest?
Sure. Lets tie everything together instead so it can all go down together.
You don't need an MBA to become a product manager
What about immersive theater? If you've ever been to Sleep No More, the entire experience is a work of art. As the viewer, you have a lot of choice in how you experience it. Almost like a video game, in the sense that there's a fixed storyline.

It's very hard to put a box around what is or isn't art, especially from the standpoint of what a given medium is capable of. You can't tell me that Final Fantasy III (Japanese VI) isn't a tremendous work of art. But I can't convince you otherwise either.
I am working on a company for this problem. You're right in that you should be weary of contractor designation as this can lead to legal liability, often in countries you wouldn't expect. You don't want to setup entities and banking and such in every country just to employ one or two people.

If anyone's interested, including OP, would love to talk and learn more about what you're looking for and how my solution can help.
I star githubs just in case I might want to read them later, with no comment implied about what I think of the author or even the content.
Given the FiOS debacle: https://arstechnica.com/tech-policy/2017/03/nyc-sues-verizon... and the way Google has hit speedblocks in its gigabit program: https://www.engadget.com/2016/08/25/googles-fiber-rollout-is... , I'm not optimistic that this will happen in anything like the scope or timeframe planned. Don't get me wrong—I'd like it to—but I don't believe it will.
As another designer + researcher with a varied background and an interest in data viz as well as ML, I am super interested in this as a potential contributor. I have experience creating an interactive visualization interface for simple ML algorithms (which has been used by professors in the life sciences department to understand / get a new perspective on what's happening). I would LOVE to be able to be involved with Distill.

I have actually been meaning to write a paper on my findings and have been looking for journals to write for. However it doesn't quite "fit" with most journals. Distill looks like it's more catered to "professional" machine learning people, at least for now. Is there any way that somebody with my background (design+data viz+development+interest and curiosity to learn ML) could be involved with Distill?
FRP in Rust, still a bit early