skysight-inc/HackerNews huggingface dataset:
I'll just say that in Turkey I have worked with many female programmers and different females on the periphery (ones who interact with programmers on a daily basis, but may not be, themselves, programmers) and we do not have that problem here. No one disrespects them or makes advances towards or anything like that.

Not only that, but more and more women are taking Computer Science and getting into programming here in Turkey.

I'm also an American (born and raised) so I'd have to say it's a cultural issue, not an industry one. Fix your culture.
http://workingforwonka.com/5-signs-of-start-up-stockholm-syn...
I'm doing this right now.

- You need more savings. Everything takes longer, and building the tech is only a small part of building a business. I thought I've had MVP 90% done when I left my job, but I underestimated just how many mundane time-eating problems there are (technical and non-technical).

- If you're going to move to a cheaper place, move before you quit the job. Negotiating is much harder when you're effectively unemployed.

- Be very very careful not to overengineer the code before you've validated the product. If you love the tech you could spend infinite amount of time building nice abstraction layers and scalable databases, but the #1 priority is ensuring the business won't die before you even need to scale.
Don't think Amazon would allow developers to name products or is it that their marketing team is just retired developers.
There are always going to be disturbed individuals. The important thing is they are recognized as such and not diffused into the male collective.

The shocking thing for men to quickly realize from all the women speaking out is they are relating eerily similar stories and there seems to be a rather large number of disturbed men than one would have thought.

The problem in tech more than other professions is there are far too many self important individuals who will latch on to anything to think less of others to maintain their inflated sense of self. The whole mythlogy of 10x engineer, genius programmer accentuates this. This is not just a job, its identity.

To these neanderthals the idea that women have brains as good as anyone's has not 'registered' and its convenient to think of women as lesser then them and their place as 'unearned'. They lash out in any way they can, abusive and agressive behavior anonymously, and via politics and put downs in the office. The internet has opened the floodgates for mentally disturbed indivuals to launch persistent and dedicated rampages against individuals with zero risk and consequences.

I think it important to distinguish between normal people and those clearly struggling to come to terms to their social environment. It's even more important for organizations to quickly identify such individuals and get rid of them. Once there are consequences people fall in line. Only zero tolerance works for bigotry.
Yes. That sentence you quoted makes more sense when you replace 'okay' with 'play'.

I do wonder why we exist at all. In that, why hasn't our solar system been consumed by someone else's resource collection process yet.

Maybe we are very lucky. Maybe intelligent life doesn't arise that often. Or maybe it typically self destructs by the time it gets to this point.
This sounds more like encryption than compression and I don't understand how it could save space the majority of the unique data is still needed for each movie.

I hate to say it and I would love to be proved wrong, but my theory is that it was a hoax (an impressive one as he was able to convince big names) and I think he did it with encryption. Here's what I think: what's fairly established is that Sloot used "shared resources" which each user of the system was required to have in order to decompress/view the movies (here's a picture of the box with the shared resources: http://www.nethwork.nl/images/kastjesloot.jpg).

Now this box had one or multiple storage devices which stored encrypted copies of the hundreds of movies that he used for the demos (with perhaps some RLE to save space). The chipcard contained the secret key for each movie and here is how I think it worked:

1. The chipcard (8 KB in size) containing a secret key is inserted into the machine.

2. The source code is decrypted using the key and compiled for each run (this would explain why no one was able to get their hands on the source code).

3. The movie is extracted/decrypted from the shared resources by following the sequence provided by the secret key.

In other words, he got away with storing the full sized movies on the disks simply by saying that they were shared resources.

Once they got a few days away from the release the realization that he be exposed, caused the stress that lead to his unfortunate death.
Since both AWS and azure some free tiers for a trial period, what other way do you see for them to ensure you aren't abusing the service and just creating a new account every month? Tying it to real financial accounts is unfortunately the easiest way to make that work.
Yeah this sounds more like an example of human stupidity than ingenuity.
> Rust with its ownership type system goes one step towards more proofs.

Does it really, though? The ownership system only talks about ownership, which you only need to reason about due to the artificial choice of avoiding garbage collection. So yes, you get closer to proofs, but only to proofs of properties that are not necessary to prove for Java, say.

You might use the ownership and lifetime system to derive must-not-alias guarantees that might help with some verification tasks, but I'm not sure how much it would help.

I'd love to see a deductive verification system for Rust, but I wouldn't expect it to be the silver bullet for verification.
I would say it shows that this is a place where the compiler could help :D
They weren't getting the latter, they specifically went in there looking to mitigate what a theoretical content injection attack could do.

> In a relatively unique project, we asked Cure53 to assess what an attacker could do, assuming a content injection bug in GitHub.com
Does OpenAI have a page listing all of their published papers?
'a', 'the' etc seem to be from comments, not 'actual' code

(click them and you can see examples of how each word is being used)
Point of order: this comment has been downvoted into greyness. My understanding is that we should downvote when a comment is low-value, not when we disagree with it, but i suspect the latter has happened here. Could anyone who has or is tempted to downvote this instead make a comment to present their critique?
If you need something right now, consider imagemagick or graphicsmagick.
I don't get see steps 4 to 7 (not claiming that you don't see it)
Name brands pay for premium shelf/fridge space.
Why nobody's getting laid in Silicon Valley
I can second that, I think switching from Arch -> NixOS was far too much complexity at once. I've been considering using Guix as a package manager on Arch, but it would require a fresh install to avoid conflicts.
Well Python also doesn't have a Match/switch flow. So that would bump ifs up
Meitu: Hot New Chinese Millennial App – That’s Stealing All Your Data
from all the code i've seen javascript developers have more troubles with explicit "this" and bindings than ruby developers have with implicit self.
Can you expand on the threat model here? After noodling a bit I can't think of an attack that CSRF prevents that an origin header wouldn't, but obviously that doesn't mean there isn't one. Be real curious to hear of one!
Use a steam link. They're cheap, and work as advertised.
Needs more profanity. The whole syntax is profane.
- Ruby makes it possible to write in a much more functional style than Python. OR Ruby developers like to develop more in a functional style than Python developers.

I instinctively think you might be right (at least with your second statement), but what are you using as your metric here?
Im somewhat confused on that as well: cloud services is not the EC2 equivalent. VM is.

Also, if you run VMs, you most definitely are on the hook for patching.
As a mathematician I may be the wrong benchmark but back in primary/elementary school (I do not know how you call it in the US) in a completey normal class at the age of 12-13 everyone understood the "two column format" and everyone used it. I guess maybe 10-20% of the class coudn't solve equations like this on the fly writing on the board in front of the class. And they were just slower and needed more time than the rest. This was shortly after the fall of the iron curtain in Western Europe.

I remember at the age of 12 being once in a math camp with a kid who used to live in the US before and he told us that the american kids in his class could not calculate the sum of 5 and 6 in their head. I thought this was just a mean joke. Until now.
Java: funny to see that "if" is used a lot to point to "visit oracle.com if..."
Why Live Chat Is Winning the Customer Support Race
Did you talk to a bank or someone who could lend you the $34k?
"Cloud services" should not be named "Azure IaaS" because Azure IaaS is named Azure IaaS.
I liked the Fedora Interface, but it lacks several packages that I use (Kodi comes to mind, but there were others) SE Linux is always reporting security issues and makes enabling any networking feature a royal pain. Worse, when something doesn't work there is a fraction of the support articles and posts on the Internet. They also changed the package manager from Yum, so a lot of new things to learn since I last used 17. At least they seem to have fixed the network management. Anyway, the recent upgrade to 25 killed my display adapter, and after spending way too much time trying to sort out and reinstalling, I switched back to Ubuntu for desktop. I still use Debian for servers/beaglebone. I also like having a common package manager and config files for both systems.
YMMV....
I find it unnecessarely bloats code and in most cases makes it harder to read due to redundant text, e.g.

# 1
def length(self):
return math.sqrt(self.x*self.x + self.y*self.y + self.z*self.z)

# 2
def length(self):
return math.sqrt(self.x**2 + self.y**2 + self.z**2)

# 3
def length():
return math.sqrt(x*x + y*y + z*z)

I prefer version 3 by far. Unfortunately, Javascript decided to take the same path with ES6 classes which forces you to use this in the body. Fortunately, it does not force you to use this in the argument list.
Put differently: leaders are comfortable with conflict, and know how to resolve it when it arises. Silencing it doesn't resolve it.

This requires good management skills, good listening skills, and problem-solving skills.

Great leaders will make sure not only to be comfortable with conflict, but to make the their whole team knows this fact, so they come forward.

Funnily, in my experience the people that say "diversity results in better products and decision-making" (dominant view today) focus on the wrong thing, and don't realize how important conflict is, or that conflict is what leads to better decision-making. Maybe communication and leadership should be taught in schools? Certainly in universities. More great leaders probably means less need for bloated middle management too.
Another one that blows my mind, for a completely different reason, is https://www.shadertoy.com/view/MddGzf . That's a simple breakout clone that stores all game data in a separate render buffer. I love that the author managed to implement a game loop in a system that was never designed to support it.
A couple of minutes ago, we passed two halls dedicated to badminton and ping pong. Here in the park, there’s also an athletics track, a geothermally heated swimming pool and—at last—some visible kids, excitedly playing football on an artificial pitch.

You can't push kids towards healthy activities until you have invested in providing facilities activities in the first place. Youth clubs in draughty church halls aren't enough any more, even if they ever were..
Laravel's folder structure consistently includes files that are to be used in an app as well as logically segregates codes.

OMG WEBSCALE

MUCH FOLDERS

VERY USELESS SEO-BAIT ARTICLE
You mention IntelliJ IDEA and Win10, so I'm guessing you want a Windows based Java dev env. 4Gb RAM won't be enough for that. I use a 4 year old Samsung Ultrabook: i5, 6Gb RAM, 500Gb disk, Win8. I'm building a cloud system with Angular GUI, RethinkDB and Python/C++ servers using Visual C++ and PyCharm. I can't run all that at once. Chrome, especially running dev tools, and PyCharm are real memory hogs. I'd love to switch to a Surface Pro with 16Gb RAM, but it's too expensive. My view: 8Gb RAM minimum for a dev env.
IIRC you can set at most 12 contiguous hours for active hours, and that just doesn't fit for me, I was still getting automated reboots.

There are other workarounds indeed, and I found my own way to deal with it, but it's only doable with a Pro version.

I don't want to fight my OS for trivial things, and that's how I'm beginning to feel with Windows.
> be mad at the widgets, not the pushing-you-to-not-be-awful

I think the point was: be mad at both :)
Samsung concludes ‘irregularly sized’ batteries caused Galaxy Note 7 explosions
I can't find anything about secrets in compose files... Any ideas about this?
This and the fact that the page doesn't filter out comments which may affect results as well.
I used to do that, as in using a minimal linux distro as a sort of hypervisor. CoreOS (when it was CoreOS), Rancher OS, TinuCoreLinux with modified kernel and running everything with rkt.

But then I stopped, because I was reinventing something badly for which there was already a solution.

I switched to NixOS and never looked back.
If you've got good enough discipline to do it routinely, you can always just disable the updates service until you're "free" enough to let it go do it's thing for a bit, at which point you re-enable it until it's done.
For JS, you can do

function length() {
const { x, y, z } = this
return math.sqrt(x * x + y * y + z * z)
}

I think it's pretty short, readable and explicit.

EDIT: formatting
Optional filtering that can filter out either code or comments would be nice.
> You also can't send him an email, since you don't know his address

Not true. E-mail addresses of famous people are quite public, and your e-mail to lloyd.blankfein_at_gs.com or billg_at_microsoft.com will get read. Though - like you point out - it will likely be read by a team of secretaries or aides and only flagged to Lloyd if the message is deemed important or you are deemed important enough.
Mobiloitte: Renowned Android App Development Company
>The author would be wise to change it if he wants to be taken more seriously.

Based on the discussion so far it doesn't seem there's a problem on that front. If anything, the connotation will probably help it gain popularity, and that's a good thing.
They could just bake two versions for the two possible views and let you select between them. Or even just always put the enemy team on top.
Ask HN: Best online resources for learning web security
I find myself rather lacking in web security skills. I have a basic understanding of what TLS/certs/CAs/... are, gotten mainly from Wikipedia and blog articles but I often don't know how to make it all work together. What do you think is the best comprehensive online (free) resource to learn the ropes?
Because of CSP
For example in C++ where it's implicit most code styles require adding prefix "m_" or something similar to indicate that the variable is a class member.

So then I expect the same would happen in Python and JavaScript. I don't think it would be better that way.
M.R. INDEPENDENT FILM
JOBLESS AT LARGE
> youtube where I want auto play but not until the tab is focused

Chromium does this by default
I don't know whether I could believe this study as "foo" and "bar" aren't on the list.
Technically "self" could be anything you want it to be called, it's typically "self" by convention. I think it's fine, but that's just my opinion.
I once tried ChanL but it was buggy, and concurrency bugs are the worst to debug.

lparallel on the other hand was solid to me, though I didn't like its API and had to (trivially) build my own message-passing abstractions on top of it.
Ok, it still seem to be in development: https://github.com/docker/docker/pull/30144
Microsoft has never been understandable. I tried to find an overview of dot net on their site, when dot net was at 1.x and was going to cure world hunger, but I wasn't able to understand what they meant by the '.net platform'. Gave up after an hour.
The new command is definitely a nice addition, but I can't say that I've manually ran the other clean up commands in a long time. They were sitting in a daily cron for the last 9 months or so.
I would never go for less than 8gigs of RAM for a dev machine. My current machine sports 8GB and it's often frustrating.
Nice explanation, thanks; your formatting got a little messy right after the code block, though, because things between asterisks are rendered cursive.
OP-32 sound transfer via speaker/mic
Red flags:

- I only have a few $k (even with a product-market fit since day 1, it is going to take you time to generate enough revenue)

- My plan is to build everything myself (do everything alone is not a good idea, you need at least external support for the bad days)

- Levels has been greatly inspiring (it should be your project/product what inspires you, not others project)

- my question is whether there are any advice you can think of (definetly you need a plan before quitting your job)

My advice:

- don't quit your job, you don't need it to launch an MVP and get your first customer. Actually don't even thing about forget your only income until you have some customers in your MVP.

- try to make your first sell even before finishing the MVP (there is no better validation than this one)

- pick a stack you already know very well

- focus on the minimum features that will make your customers pay

- don't read about other projects, yours is different with it nuances and you lose your focus when reading about others

- talk with your customers since yesterday

- do go to meet ups, unless you are planning to get some customers there

- spend at least the same time doing marketing (user research, promoting, measuring kpis, ect) as you spend developing the product

- don't quit your job

- release your MVP yesterday

- do small and fast releases, big releases are a pain to test, small releases mean less bugs in every release and you get early feedback

- focus, focus, focus. Simple services is not a product or project, pick one, sell it, launch the MPV, and if it doesn't work move to the next one.

- sell your product before even having an MPV or write a line of code

- be ready to fail, most projects fail. Set a metric before start the project to decided whether you are failing or not in advance and move on with other stuff as soon as you detect you are failing
Should all countries use the Shanghai maths method?
Javascript 'this' binding behaves in quite unexpected ways if you're coming from something like python on ruby, which is a major source of trouble for people.
Secure your Elasticsearch cluster and avoid ransomware
Thanks, that's the kind of feedback I need. For developing while not travelling I currently use a Macbook Pro 2015 with 16Gb of RAM and I'm happy with it, and I've previously used Windows or Linux desktops and laptops, so I'm OS agnostic, I can be productive with any OS (on Windows I'd just install cygwin with console2, or cmder, or lately Babun which is a preconfigured cygwin with a package manager).

I remember the time years ago when I was programming with 1Gb of RAM (that was the normal for computers at the time) and it was a painful experience with Eclipse and other tools. As computers evolved with Moore's Law, 2Gb was a better experience and I think 4Gb was fine at the time. Then 8Gb should definitely be good and 16Gb is plenty even to run VMs.

Thinking that it would not be for a full time developing environment, just to be able to do some work while travelling in a long trip where I don't want to bring an expensive laptop like a Macbook Pro, I thought 4Gb might be enough, so your feedback is really appreciated.
While the actual application itself is of no use to me, can I just point out how awful that green-on-grey colour scheme is?
I set aside about two months every year to pick up new technology.

I'm 26, have no mouths to feed, and no debt. Losing two months of income in return for better work prospects is not a big deal to me.

I start by building a small project using whatever bit of technology I'm learning, put it up on GitHub, write a blog post or two about it, and do a show and tell at a local tech meetup or conference. This results in a bunch of leads that I can then choose from.

My process works fine for skills that don't take much time to learn, or are in the same lane as what I already do. E.g, going from Angular to React or Python+Django to Node+Express.

However, if I were to move to a completely different field I might have to take a different approach. I haven't done it so I have no experiences to share. I imagine I'd have to take out a bigger chunk of time, perhaps ask somebody from my desired field to mentor me.
And PHP has "div", which seems to be HTML tag name.
It depends on the type of aircraft.

Aircrafts with yoke: normally you hold the yoke with the left hand and the throttle with the right hand. If you are in the right seat then it will be the opposite, but traditionally the pilot in command is always seated on the left while the right seat is for the co-pilot (airliners) or for the instructor in training flights.

Planes with stick:

Airbus airliners - same as above i.e. joystick left hand, throttle right hand, unless you are in the co-pilot seat.

Most other aircrafts with a stick, including fighter jets, light aircrafts etc.: joystick right hand, throttle left hand; the joystick can either be on the right side of the pilot, or between legs, in either case you hold it with your right hand since the throttle is on the left.

The other primary control on every aircraft is the rudder, which is always controlled with pedals. Some gaming joysticks can simulate the rudder movements by twisting the joystick on its vertical axis but this is never the case in real life, so if you want realism you will need rudder pedals.
Ask HN: Primary Web Apps: Ruby vs. Python?
All I want to use these languages for would be Web development, not entirely interested about SciPy, numpy and all of that.

I have tried both of them on Codacademy and can't say I prefer one over the other, I like that Ruby had a lot of ways to do one thing but it also seems a bit harder to learn.

I was looking at the microframeworks for them; flask and Sinatra. So not looking to use Rails/Django unless I really should? - I want to learn either of the languages as a hobby and maybe in the future do some freelance work.

Which one would be best for just Web apps?

Thanks in advance.
summary is the most used word in C#! Only from comments! Amazing. EDIT: it looks like this is reading files that are common to all projects... which is why the sentence "// The following GUID is for the ID of the typelib if this project is exposed to COM" appears 459k times!
That's only 1000 messages per second on average. A single database +app server could handle that load. Assuming a bunch of other stuff is happening 500 servers sounds generous.

Wtf are they doing that each server can only handles one tweet every two minutes?
and the most used word in .cs files is "summary"
I posted it, with a 90% expectation of it going nowhere, and 10% expectation of a few comments that showed the general viewpoint of a community that I felt has some of better elements of humanity in it.

However what we got was, 80+ comments of basically flame war, and over half telling her to 'get over herself'. :(

So based on that, then yes she's right. This Industry is Fucked[1]. And I am ashamed to be part of it these days.

--

[1] And it's not just sexism; The whole industry has been taken over by the suits and wide-boys, who are busily destroying it from the inside out.