skysight-inc/HackerNews huggingface dataset:
Ask HN: What to do on a workshop lesson at a networks and communications class?
I am a student at a network and communications class, at a public institute of Vocational Training in Greece. The Greek ministry of education has not yet released a study guide for my specialty because it was merged from 2 others (A. Networks & B. Communications). It is not clear what we are supposed to do at the workshop lesson and thus we, the students and the teachers are at a point of brainstorming. Bellow are what we already done in previous semesters on the same lesson and also the titles of all the lessons we have already done and will do:

Workshop Lesson (all the following at entry level):
Html/Css, Java, C, SQL

Other Lessons (in Titles):
Introduction to Computer Science
Pascal
Computer Architecture
Operating Systems 1
Data Communication
Electronics and Digital Calculations
Telecommunications
Operating Systems 2
Network Management 1
Computer Networks 1 (Wireshark)
Network Safety
Telephone Centers
Network Management 2
Installation Networks (Structured Wiring)
Mobile Telephony
Computer Networks 2

The workshop lesson takes place at a lab with about 10 computers (2 students per computer) with windows 7 and Ubuntu (with some kind of server connected to them) installed. Also for any addition software we want to install, the administrator needs to come and type his password. Last but not least I don't think the computers could handle VM's.

So far we have come with a few ideas:
Cisco Packet Tracer (Educational)
PHP (But we will lose much time on installation of Apache, PHP, Mysql, etc and we want something more close to networks and communications; we have a general idea of programming and it would be waste of time to learn again the if, case , while, etc)

Truth is we don't have the infrastructure we need to do what we really studying like setup and configuration of networks but we try to work with what we have.

The question is: What would you teach at this class, at the workshop lesson?
You could run Windows on dual boot just for lightroom. I use lightroom myself and I never do any development at the same time I use any Adobe products.
Kites Could Soon Power an Entire Region of Scotland
I would want to know, how do I manage user credentials in AWS lambda. Lambdas are stateless, there is no session, so how do I keep track of which user is executing the current lambda?
Ada Lovelace Draw My Life [video]
Turn off your galaxy Note 7 NOW
People will tell you that believing that it's possible that interest in tech is correlated with gender. However I would point out "Gender Gaps in Performance: Evidence from Young Lawyers"[0] which gives evidence that a different field (law) is a meritocracy and women's relatively poor outcomes in terms of promotion, are caused by their relatively lower focus on their careers.

[0] www.econ.upf.edu/~rferrer/files/PAPER.pdf
It's possible that they put the option in front of me at some point but I don't ever remember it if they did.

I certainly wouldn't ever pick SF/PDT as a timezone.
My conjecture: Scheduling with priority is pretty easy across these systems. The dependency graph transfer would be outside the scope of what they already tackle, and require new engineering.

In Pyret, I prototyped virtual threads at one point, and each thread had the same amount of "fuel" before yielding (at the top of every compiled function in Pyret, there's a decrement to a "fuel" counter, and when it reaches zero, the stack is unwound). That could easily be configured on each start/restart of a thread to provide different amounts of fuel, or to re-order the restarts based on typical thread-scheduling policies.

Whalesong does the same thing with fuel, so I imagine it could be extended similarly.

I don't know how Doppio and GopherJS do scheduling in detail, but here's where I'd start looking:

1. GopherJS looks like it's a simple queue based on the code around https://github.com/gopherjs/gopherjs/blob/master/compiler/pr... (goroutines push themselves onto a list when they pause, then the next one starts up again)

2. Doppio implements a thread pool abstraction, so you can simulate JVM threads in the browser: https://github.com/plasma-umass/doppio/blob/master/src/threa...
The Economist, a great publication, had an issue recently about why globalization gets a bum rap, although as with most of their pieces, there's plenty of nuance spelled out. Here is one of the many thoughtful articles from the issue [1].

1. http://www.economist.com/news/special-report/21707835-econom...
Depends on what you need, but from a startup perspective they are stiffing and offer very little in return, if you're not dependent on the local market you're just increasing costs.
news.arc is open source, however, HN's voting ring and antispam features are not.
Except there is no evidente that anyone would care. They are sharing huge amounts of data on individuals with third parties. People continue to use and pay for the service.
The term freelancer does refer to a business owner, generally a sole proprietorship who does not have employees. As someone who has been in business for 30 years, the difference I keep seeing now is that many contemporary freelancers do not view thwnselves as ownwrs of a business. I have been noticing the uptick in that perception for the past 4 or 5 years. The one positive ourcome imho is that more people now understand the risk,challenges and struggle associated with running a business. But that will only truly happen when the roses realize they are roses and begin to think like one. Much of the conflict I see today is because we have people who think like employees working as sole proprietors.
> We would frequently run into bugs that had been reported on openradar for years without having been addressed.

In over a decade of submitting bug reports to Apple, they've only ever fixed a few of my issues. Most of my reports are easy to reproduce and test. I'm better off spending my time doing clean room reimplementations of whatever their API promises or just scrapping whatever I wanted to do than even wasting time reporting bugs.

"Radar Radar Radar" is all they ever ask. I don't care anymore. The whole process is opaque with no guarantees of a fix or a workaround; it'a unworthy of my time. They have over $100 billion in cash - about time they start testing and fixing more of their own issues.
Oncomfort wins award for helping cancer patients manage anxiety through VR
Welcome to Apple QA. Where system call return values are worthless and radar reports don't matter!
It's not about Russia, it's about smearing the RNC.
Are you suggesting that the immigration system should specifically make it easier for Europeans to immigrate, but not Mexicans/Middle-Easterners? Please sketch out some specific policy prescriptions.
But that message has translated to precisely zero actual change in habit.
I have a credit card for that, but if I have the option, I always use Paypal. There are often other payment options though, like "Sofortüberweisung", paying on account or SEPA bank transfers (the last two more typically for b2b though).
The recall notice only seems to apply to people who bought the phone in America. If you change the "us" in the url of the official notice to something else, like "ca", you get a 404. http://www.samsung.com/us/note7recall/

Is this recall only available in the US? Is the rest of the world basically screwed, unless their own governments put some pressure on Samsung?

From the FAQ:

> 4. I participated in the U.S. Note7 Exchange Program. Is my replacement Galaxy Note7 affected?

> Yes. This applies to all Galaxy Note7 phones _in the U.S._ (emphasis mine)
Ask HN: Pre-ordered an ebook. No updates for 2 years and author is ignoring me
I pre-ordered an ebook on a (rather niche) software development topic about 3 years ago and it was not cheap. I was eager to receive the first version of the book but never did. The last update mail I received from the author is 2 years old now and he claimed that "the book is going nicely" and he would "send some updates soon". Over the past 3 months I have tried to reach the author multiple times by e-mail and through Twitter. Yesterday I also tried LinkedIn but it seems like the author is ignoring me. Through his social profiles I can clearly see he is very much alive.

What would you do in my situation? Obviously the lack of communication and ignoring my messages is what is bothering me the most.
I do agree it seems like an extreme step. The scaled up production and manufacturing set up to make the phone must have cost a fortune. It doesn't make much value sense to discontinue just for the bad PR, so I'm thinking this may be a branding decision and Samsung will come out with another announcement in the near future with a similar phone with different branding.
How I Built This is also available on the NPR One app, where I discovered it. (Guy Raz also hosts the TED Radio Hour, which I don't think is as good.) NPR One is like Pandora for public radio and it's awesome. They really did a fantastic job with the app and the service. More people need to know about it.
Yes, in SQL Server.
> Fuck the pandas, save ourselves.

Maybe fucking pandas is your thing, who am I to judge, but I really don't think doing so will save us.
They are more dangerous than that. There are straight neonazis in there, but it is a broad spectrum from straight Nazi to the "besorgter Bürger" (concerned citizen), which is a meme in Germany for the new right and far-right. For obvious reasons it was previously socially unacceptable to voice these viewpoints out loud. Pegida and the AfD party changed that a bit and like everywhere else in Europe the right is on the rise in Germany.

Nevertheless I would not count on them surviving. The AfD constantly has to fight the Nazis in there, split itself in one German state (Bawü), wants to get rid of their subdivision in another state (Saarland) and has members from Nazi parties they have to exclude of all over the place. Meanwhile Merkel and the established parties already moved to the right and the refugee crisis is largely over - at least in Germany. Lately Merkel is even gaining in popularity polls again.
Research underlying new app detects Autism with 81% accuracy
> Underlying this rambling nonsense is the assumption that Russia is some sort of world aggressor.

Are you saying that this assumption would be wrong? Is Russia in no way feeling expansionist at present?
Probably the second. After even replacement devices are having issues, the brand damage can not continue further. They'll come out in 3 months with a "Note 8" and a new chance...
And I am afraid that it is quite hard to do alone within a single family if for example some of opinions are programmed in the school.
About time! And it only take them what... two years to do this?

Australia, are you watching?
NSA could put undetectable “trapdoors” in crypto keys
I believe that was sarcasm. It seems unlikely in an organisation of Apple's size that its the same people doing the release/testing processes for all 4 operating systems.
Really nice work David, good job.

One suggestion: For each important conclusion try to have at least one sentence that is understandable by a business exec.

For example at first glance it looks like time of day may be significant, then you conclude:

"Because the p-value is greater than the alpha value, we fail to reject the null hypothesis that the two nominal categories are independent."

By adding after this something like "Therefore submitting articles at a certain time of day is not an effective strategy to achieve front page visibility.", your post gains accessibility.

This is not a nitpick. The idea is to make sure the full power of your analysis is felt across a broad section of readers. Even if you send to tech people, these things often find their way to a wider audience.
To be honest, those things can be pretty involved here even for me as German, so it probably makes sense to just use someone who does that as a service (obvious for taxes, but most likely also available for business registration etc) rather than investing your time in understand bureaucratic German.
How much of Dresden was rebuilt 45-60 and how much was rebuilt later? I presume most land was made usable pretty quickly however I can't imagine they were high quality long term buildings.

I need to go to Dresden.
>cyclists in The Netherlands don't want to wear helmets for their daily commuting, it doesn't solve any sort of safety problem for them when you factor in the inconvenience they cause.

This sounds very much like "I don't wear my seatbelt for commuting. It doesn't solve any sort of safety problem when you factor in the inconvenience it causes."
> "React is abstraction for dividing UI into predictable pieces, not a performance optimization."

Why can't it be both?
The Internet has many centers and choke points, most of which gather in the U.S. The Internet needs country level network diversity and more stuff happening on the edge of networks instead of the center. Maciej Ceglowski explains it better than I:

The Internet With a Human Face: https://www.youtube.com/watch?v=fWFo1VaQNmU
Most geopolitical analysts agree that the US can't protect itself long term without NATO. The short version is who controls Western Europe controls Europe. Who controls Europe controls Eurasia. Who controls Eurasia controls all of the world besides the Americas. The endgame of an united Eurasia is a failure from the USA national security POV.
Good point! I already have double pressing the terminal toggle in my muscle memory, using focus might be worth changing that habit.

To "get out" of the terminal, cmd+1 sets focus on the editor again (to be precise: focus on the first editor group if there is a split view).
Every Last Girl: A report on girls opportunity index around the world [pdf]
I see your architecture highly exposed to vendor lock-in. Also, your operations cost could become non-competive since you lack leverage to negotiate (b/c vendor lock-in). Finally, it seems hard to monitor and maintain.
Or a VM, right?
rms "is" Free Software. FLOSS if you want to be neutral. Not FOSS:

https://www.gnu.org/philosophy/floss-and-foss.html
Yes we agree that "serverless" is pure marketing. as I already said.

> Your are selling a basic pubsub architecture as something "innovative" when the only real innovation is the pricing.
There are cities near London, with relatively cheap property prices. Like Portsmouth and Northampton.
sorry, I missed that part. I straight-up don't believe that their relative engaged in fraudulent activity related to Dash (such as leaving negative reviews of competitors) by complete coincidence and at arm's length. I didn't read all the information carefully though.
> Nightlight is asking me to give up the comfort of Emacs: so what does it get me?

Perhaps nothing. But for me it would give me the fact that it's not Emacs.

I know that Emacs is considered the one and true way to do lisp, specially common lisp, but, for me, it's the reason I haven't started to do anything in that language.

Different people, different needs. It might cater someone else's needs.
No unit tests on syscalls at Apple?
Are you saying that the measures listed here http://hardenedbsd.org/content/easy-feature-comparison do not work properly?
See, when you do due diligence you should assume that the company lies

Really? I'm not naive enough to believe that everything you get to hear during due dilligence is 100% truth but I also don't think we live in a world where everyone can get away with deception and lies. After all the civilized world has developed a constitutional state with a law that offers some level of protection.

So there is a point where business between a company and an investor is conducted in good faith. If it comes out later that the company has forged technological results to defraud investors, to me that's a very good reason to sue. Saying the investors didn't look well enough is futile as a) you could use the same argument to justify pretty much any case case of fraud and b) it's impossible to do perfect due dilligence.
Chaining HTTP Requests in Elm – An Example
One can be all in favor of liberal immigration rules, in order to attract the best & brightest, while also supporting tough preventative measures to crack down on illegal immigration. One can also be in favor of liberal immigration rules, coupled together with a more progressive tax system that compensates the lower-middle class for any loss of wealth they experience.

If Trump came out with a nuanced plan for immigration reform like the above, I would be mightily impressed. But it's hard to respect someone who crassly labels Mexican immigrants as "drug dealers and rapists".
From the article:

> “If a person on the autistic spectrum can access these files, then there’s something wrong with their encryption. It’s a public service."

Specially in these times, it is good to be reminded that there are still a few sensible politicians out there.
We use ELK + etsy/411 (https://github.com/etsy/411) for alerting.
So this bot also creates fake hackernews upvotes? because it's fairly obvious that it does...Nothing in the last 20 hours has more than 10 upvotes in Show HN
Starting up in an AI-first world
I think in most capitals I've seen quality of life isn't that much worse, don't get me wrong it's not really on the same level as Paris or London (rural areas on the other hand - just don't make any random country trips on your own), but at the same time it's not like moving to Syria or something like that - for example I find Vienna to be quite unsafe and unappealing, compared to say Zagreb (related to that I actually know a guy who commutes from Bratislava to Vienna for work - the rent difference alone covers the commute).

It depends on what you want, but you can actually compete for staff even if you have < million € in seed capital, rent and office space is cheap, etc. if your goal is to bootstrap your company then moving to Eastern Europe can help you with that.
NIST Mobile Threat Catalogue
Announcing a New Cyanogen Modular OS Program
I wouldn't run Lightroom in a VM.
Late adopter here. I never update to any new operating system from Apple on any of my devices what I need to use for production up front. I usually wait until I absolutely have to upgrade otherwise something does not work, or if I have evidence that the new OS runs well on the device I am going to install it on. This saved me a lot of headaches in the last 5-10 years. Given Apple's no downgrade once you upgraded attitude with MacOS I would say it is extremely risk to update to any new operating system version. For those who are not familiar, it is not supported to downgrade MacOS by Apple, they upgrade the firmwares many of the devices in your Mac during an upgrade and there is no official downgrade for those. It is possible with hacking, I know, but I would not risk warranty with such a method.
Yes. The timeout is specified, but no file descriptors is given. (so calling poll() behaves like sleep/usleep ).

This behavior is explicitly described in posix, worked prior to OSX 10.12, but behaves differently as of OSX10.12
FANUC to Build Factory Using Nvidia  AI Platform
I think it's because of the brand damage. When you sell millions of phones, some tiny number will always have problems. Every single time that happens, the media will jump on it for yet-another-Samsung-Note-problem story.

At this point, they are probably mostly worried that the damage will spread to other Samsung properties. Some news stories are already trying to connect appliance failures.
Driverless car tested in public in UK
FLIX – DIY Video Production Platform on ProductHunt
Wow. I really had no idea of the potential range of dodges! Should I find myself again at a company that engages in this practice, I'll put your advice to good use. Thank you very kindly for sharing it here!
To become a better developer, learn functional programming. I would strongly suggest Elm, which has practical uses and has strong growth among its user base.

If you want to work at a big enterprise, learn C# or Java. If you want to work at a smaller or newer company, learn Python.
Paulg and dhh discuss Thiel and Trump
This differs quite a big on the size of the respective business (of sales).

Amazon.de e.g. offers the choice of
* credit card (as internationally)
* direct withdrawal (meaning you give them your bank account details and they withdraw the amount directly - sort of sketchy from the customer's point of view, but no different from credit cards - if anything goes awry, you just challenge the charge directly with the bank instead of the card issuer)
* bill-based (generally only for small amounts or trusted customers - might involve a "credit score" check from Schufa (https://en.wikipedia.org/wiki/Schufa) to deter fraud)
The patient hand-off problem is real. I just feel like there is a better solution than having these folks work 80+ hours a week.
Robot Adversaries for Learning Tasks
What are you referring to when you say "double for cycle?"
You might want to play with https://github.com/awslabs/chalice

It gets you to hello lambda (python) in one shot, from the cli. Anything written down in one repo is going to be far more undertstandable than piles of hidden behaviors and obscure error messages. I think there's a new one on their blog for node.
I think this is a very good question. And I don't know how to answer it...

Some good books address possible problems (at least tangentially) in Central and South America:

"Confessions of an Economic Hitman" outlines alleged ways that state organized trade deals frequently enrich the political classes as the expense of the labor classes. (tinfoil hat territory; a free documentary is available on youtube I think)

"Why Nations Fail" is a rebuttal to "Guns Germs and Steel" which addresses the affects of extractive economic policies (where legislation and leadership take more from the workers than they produce in profits) versus "inclusive economic policies" (where all are allowed to profit, not just the state). An example is made as to why one side of the Mexican border is incredibly poor compared to 50 miles away across the US border (rebutting the effect of geography). (I see no real conspiracy theory in this book)

"Shock Doctrine" assesses the effects of social turmoil being frequently used to implement extractive economic policies which would not be easily accepted in times of peace. (tinfoil hat territory)

All of these are basically opinion books, albeit written by people more knowledgable than we. I think to a certain extent economics is an opinion anyways.
A good point you bring up. Similar to Ada's mother, a lot of Asian parents are very involved with their child's academics and often push their kids towards studying STEM. Yet, even as a minority in America, Asians are never included in discussions related to diversity and inclusion within tech - and it isn't because this point is addressed. If we're going to attempt to find the root cause of why there may be a disparity in tech, race or gender, what good does it do to ignore the differences in upbringing?
>See, when you do due diligence you should assume that the company lies. That's why you go there in the first place, if you believe everything they tell you then you're going to get fleeced if they lie.

Even doing due diligence, you rely on their information, expertise and record-keeping. Lying or misleading is unacceptable.

This whole story is messed up. I still detect a bit of apologism on these boards, even though it looks like fraud was committed. Assume everyone lies? Really? What sort of world are you doing business in?
OpenAI is Using Reddit to Teach An Artificial Intelligence How to Speak
... or even regression tests.
I hope you are kidding! On the other hand I wouldn't put it beyond the surgeons I have met to think that way.