polymathist
I'm Alex, CTO & Co-Founder. We've just raised $3M to build a defensive AI AppSec agent to protect mission-critical software from AI cyberattacks.
You'll enjoy this role if you thrive on:
- Variety: building across the stack (mainly with Python), shaping product direction, prototyping new ideas
- Moving fast: we focus on impact, no micromanagement or politics
- Meaningful impact: on AI safety x cybersecurity
- Remote working: collab hours are best suited to APAC and North America + 2 destination offsites a year to connect
Compensation is quoted for US and AU respectively; local adjustments for other countries USA: $150k USD to $250k USD + comprehensive benefits package including health, dental, and vision insurance + equity Australia: $150k AUD to $250k AUD + superannuation + equity
Apply here https://www.harmonyintelligence.com/careers Read more here https://www.harmonyintelligence.com/harmony-raises-usd-3m-to...
Show HN: Elara- A free open-source coding game built with Rust and WebAssembly
I'm excited to share a project that I've been working on mostly solo for the past year! It's called Elara, and it's a free open source game that teaches you how to code. You can play directly in your browser without downloading anything or creating an account. It's targeted toward complete beginners, but if you already have some coding experience, there are optional bonus challenges to really...
Generic interfaces are pretty fundamental IMO. It's something I plan to add to the language before the v1 release.
Local types are an edge case I'll need to spend more time working on. The type-checker won't have any problems; the real question is how to generate the appropriate Go code. One solution might be to move the local type into a higher scope during code-generation. Another might be inlining the relevant generic types in the same scope as the local type. Finally, the best solution might just be to say this sort of thing isn't allowed and the compiler will return an error.
Imports aren't supported right now, but it's one of the most important things I need to work on next. It'll be pretty tricky, but I'm confident I can find a solution.
The fortunate thing about the approach I'm using with Fo is that I have complete control over the parser, type-checker, and code-generator. At the cost of having significantly more complexity, I have the flexibility to tackle these sorts of edge cases without relying solely on existing tooling.
Show HN: Fo: An experimental language which adds generics on top of Go
Eliminating NN will make competition even worse for smaller and medium sized ISPs because the big ISPs have disproportional leverage to extract subsidies from media companies and make all sorts of deals. In some cases, the ISPs even own the media companies (for example, Comcast owns NBC). How can you possibly expect to compete with that?
Yahoo says 500M accounts stolen
Michigan moves to not require human in driverless test cars
> Go supports the := assignment operator, which works like this ... All this does is look at the return type of bar(), and set the type of foo to that.
This is a misunderstanding of the := operator and how type inference works in Go. If you look at the language spec (https://golang.org/ref/spec#Short_variable_declarations), you can see that the := operator is nothing more than a shorthand variable declaration.
x := "foo"
is shorthand for (and functionally equivalent to)
var x = "foo"
Type inference is orthogonal to the := operator and is a little more powerful than the author implies. For example, Go is able to infer the type of literals, including inferring the type of a numeric literal based on the presence of a decimal point or the symbol for the imaginary number, i (complex and imaginary numbers have native support). It can also infer the type when you assign a variable to an element in array, slice, or map or when you receive from a channel. Of course it can also infer types for values inside of a struct, map, slice, or array and for keys in maps. The only obvious difference I see between type inference in Go and Rust or Haskell is that in Go you must always define the return types for functions, but there may be more differences I am unaware of. See this playground example for a demo of a few different ways that types can be inferred in Go: http://play.golang.org/p/8ep340vLky.
(edit: formatting)
Fight Club: Simulated fights via webcam
Go 1.5.1 is Released
Code Golf at Google
If you're at Duke or somewhere nearby I highly recommend checking it out. They have visiting hours fairly frequently. http://virtualreality.duke.edu/
Show HN: A blazing-fast datastore and querying engine for Go built on Redis
The article itself is a great read. I love hearing interesting and honest commentary about the language. But I wonder if comments like "for reasons that appear to be political, does not have integer Min and integer Max functions" are appropriate. Later the author mentions "I get a similar sense of refusal-to-engage — the authors are communicative, to be sure, but in a didactic way." If the go community (or the programming community at large) truly has the sense that the go authors are unwilling to engage with the users of the language, then that's a big problem. However, are these sort of off the cuff comments the right way to start a discussion about it? At the very least, I wish that the author would provide specific evidence for these claims. I'm sure that there is some justification for them, but what the author is telling us is his inference, and I would appreciate an opportunity to read the source material and decide for myself. FWIW I have been programming in go for 2.5 years and made a few trips to the go-nuts mailing list. I don't share the author's impression, but I also haven't read every thread on the mailing list.
That's far from the worst of it, of course. I have read comments calling the go authors arrogant, ignorant, or conceited. If you insist on criticizing the go authors, I would hope that you could at least keep it professional and provide a link to some comment/literature to back up your criticism.
I welcome criticism of go, or of any topic for that matter. I just want to avoid unfair characterization and irrelevant ad hominem comments. Am I being too defensive or do other people share this concern?
Ask HN: Strange Issue: Does Window Visibility Affect Performance on OS X?
While writing some karma tests today for github.com/soroushjp/humble, I noticed something really strange. Sometimes the tests would take a long time to run (3-10s) and sometimes they would run in less than a second. After some experimentation I figured out how to consistently reproduce the results.Watch this screen recording: http://recordit.co/R30bQ3ZowE. I have three different browsers open...