skysight-inc/HackerNews huggingface dataset:
One of the things that really struck me is that after you drop out of academia to go into industry there is really no going back. I hadn't expected that; I thought I'd just give industry a shot since I can always go back to academia if I don't like it. Not so. The people hiring for academic roles see it as an act of high treason punishable by lifelong exile.
“Blue Card” for farm workers visa (2017)
Statistics about billionairies or unicorn startup owners are not related to the way a middle class workers (say, software engineers) live.
You can always augment your technical skills through side projects. I know you may spend some extra time after/before work for this but exchanging this extra time for less money to work at a startup where you may anyways be working more than the standard working hours does not seem to be a good ROI.

Whereas with the augmenting route, you get to keep your high paying job, achieve early retirement and if you are still inclined to work after that, where you are not constrained by opposing choices, you can switch.

My 2$ and I hope whatever decision you take works well for you.
Being a farmer these days is capital intensive and heavily mechanized, so even if they make more than most, most can’t be farmers. Even farmers have trouble being farmers these days, because they have to keep up with an increasingly mechanized profession that needs fewer of them every year.

Then most definitely, moving to the city might be your vest bet even if farming is the only thing you know.
> Also, once map(), filter() and reduce() are gone, there aren't a whole lot of places where you really need [lambda].

By far the most common use of lambda for me is the "key" argument for sort() or sorted(). As in something like:

foo.sort(key=lambda x:x[2])

Yes, there are itemgetter and attrgetter in operator module, but I always have to look up their names and writing the lambda expression is simply faster.
As long as you don't try to change the indentation level within a block, it's allowed. It is, however, a style frowned upon -- you should be consistent and use always the same ammount of indentation for blocks. There are a few styles regarding multiline statements though.
From cancer to face
iPhones last five years until they go out of support and can no longer install or update most apps. An Android phone will last at least as much on OTA upgrades and OS support alone, and many of them can be made to last far longer once the OTA upgrades are up, by taking the time to unlock them and install the latest Android version they will run.
Yes, but the number of farmers significantly decreases every single year. What happens to those that are squeezed out? They have to be going somewhere....
> It's not like he have made calculation of bridge steel welds or something without proper legal papers.

Suppose he had. Suppose he found a bridge suspicious, did some calculations, and told a newspaper/transport safety agency about it. Should that be illegal, because the state of Oregon didn't give him permission? Is it okay to very literally fine someone for 'unlicensed use of math'?

Thankfully the ruling very strongly implies 'no'. It's important to be precise, or regulation of engineering can become regulation of speech.
This one needs a (2017) in the title.
I have one.

In my washing machine (LG) rinsing slot...

I know, because I always have to be very careful not to overfill it. But usually there is some leftower water in its pipe so it does not keep the fluid even if I not overfill - so nowadays I routinely take it apart and shake it dry before each washing - clever but not to convenient...
But...but Hackernews keeps telling me any halfway decent programmer should have FAANG-tier companies begging them to work for them!
I've been doing security research in this industry for a while and it's effectively not worth anybodies time to attempt to report hardware wallet, or software bugs 'responsibly'. I've found that by far the most common responses are being told that the attack doesn't fit into their design (as here), it's not reasonable to expect, or that for some reason. For a long time the Trezor wallets custom crypto library was simply python transliterated and had a sidechannel attack so large that you could measure the EC multiply operation with a SDR from across a room. This was supposedly out of their scope (but has been since somewhat fixed, but not entirely) for some reason, despite being something that is easily fixed using industry standard constant time operations.

Responses you do get at protecting the fact that a lot of the bugs are burned into hardware and can't be fixed by anything but them re-issuing it. It's not in the interests to ever acknowledge issues.
"Cop" is colloquial. A mall cop is a "security guard"; a cop is typically a "police officer" or "law enforcement officer".
“Then, a year after that DUI stop, in the summer of 2012, Cashatt got a letter from the court. It informed him that he was being charged not merely with that DUI misdemeanor but with a felony, the result of his latest charge plus all of his prior offenses. The minimum sentence: six and a half years in prison.”

I think this is the saddest part. He had his life together, no matter how fragile, and he was pulled back into the system.
I hadn't heard of this person before, but a couple of points resonated with me:

First, the framing of equality and redistribution, and the suggested emphasis on focusing our efforts on raising the floor rather than lowering the ceiling:

In Anderson’s view, the way forward was to shift from distributive equality to what she called relational, or democratic, equality: meeting as equals, regardless of where you were coming from or going to. This was, at heart, an exercise of freedom. The trouble was that many people, picking up on libertarian misconceptions, thought of freedom only in the frame of their own actions. If one person’s supposed freedom results in someone else’s subjugation, that is not actually a free society in action. It’s hierarchy in disguise.

To be truly free, in Anderson’s assessment, members of a society had to be able to function as human beings (requiring food, shelter, medical care), to participate in production (education, fair-value pay, entrepreneurial opportunity), to execute their role as citizens (freedom to speak and to vote), and to move through civil society (parks, restaurants, workplaces, markets, and all the rest). Egalitarians should focus policy attention on areas where that order had broken down. Being homeless was an unfree condition by all counts; thus, it was incumbent on a free society to remedy that problem. A quadriplegic adult was blocked from civil society if buildings weren’t required to have ramps. Anderson’s democratic model shifted the remit of egalitarianism from the idea of equalizing wealth to the idea that people should be equally free, regardless of their differences. A society in which everyone had the same material benefits could still be unequal, in this crucial sense; democratic equality, being predicated on equal respect, wasn’t something you could simply tax into existence. “People, not nature, are responsible for turning the natural diversity of human beings into oppressive hierarchies,” Anderson wrote.

There's also an interesting bit that I haven't considered or heard of before: the original arguments for the free market were to escape a tyrannical hierarchy, topping out with the king - a free market was much better than that. But as we have built out free-market economy, we've gotten to the point where the decisions your employer makes are just as arbitrary (and probably have a greater effect on your daily life).

Images of free market society that made sense prior to the Industrial Revolution continue to circulate today as ideals, blind to the gross mismatch between the background social assumptions reigning in the seventeenth and eighteenth centuries, and today’s institutional realities. We are told that our choice is between free markets and state control, when most adults live their working lives under a third thing entirely: private government.
I'm not sure that there is enough demand for remote work. Many people enjoy and even require the social interactions provided at a workplace and don't want solitary remote work.
And don't forget to stock up on Just for Men for the in-person interview. You want to look like a seasoned 32, not a past-his-prime 40-something.
Bullshit Jobs and the Labourisation of Work
Electricity Use Was Up Last Year, but Why?
Wow, I always assumed that complex life prior to our own was unlikely because it would have left a trace that we could detect. But if there is a plausible mechanism by which all such traces would have been erased, then who knows what might have happened deep in those billions of years when supposedly only single-celled life existed?

Perhaps Earth’s previous inhabitants triggered runaway global cooling, effectively hitting the reset switch back to single-celled life. Perhaps they escaped to Venus and vowed not to let the same thing happen there, but got it wrong in the other direction.
Well, that can still work out if an A player is hired that thinks billing is an interesting problem to work on (Money! Whoo!), and in general, folks that, when given "boring" grunt work, will automate the heck out of it.

This does require attention to diversity of thought and background, but not necessarily the sort that results in B and C players being hired.
The engineer's work is largely edge cases that don't fit into prescriptive code. Ie, that is substantially the system in place: We have a set of things that can be done without an engineer because they were already designed and approved by a group of engineers, and for everything else it is bespoke engineering.
Online tutoring app Byju touches $3.8B valuation
Auf Antrag eines Klärungsberechtigten hat das Familiengericht eine nicht erteilte Einwilligung zu ersetzen und die Duldung einer Probeentnahme anzuordnen.

Upon a right-of-clarification request, the family court may substitute for consent not given and order submission to a test sample.
I assume that the lone developer locked in the garage is still able to communicate as much as necessary with clients and stakeholders. The garage metaphor makes it sound like they're cut off the whole world, when what I intended was just to isolate them from the development team. Sorry about that; I could have been clearer. So, the developer in the garage would have to be able to interview stakeholders and capture requirements. They are welcome to write their own spec, or stories, or whatever artifacts they prefer, but shouldn't expect to be given a complete spec in most cases.
Infoo Code
Ledger has for a long time been grossly inept in security, there's really nothing absurd about this attack at all. In the Bitcoin industry we frequently see very detailed setup for long timeframe attacks and substantial effort going into identity theft and physical compromise. Worse, for these deices in particular a backdoored device is almost undetectable due to the way ECDSA can be used to transmit encrypted data in its signatures.

Ledger was recently compromised, or showed that they have no release process (both equally bad) by releasing a version of their application which stole user funds. Their claim is that they released a development version from a dirty git clone that contained "testing" code which happened to have a hardcoded address for sending every transaction to.

https://www.ledger.fr/2018/08/03/important-message-concernin...
Christmas Colors why red and green?
From 2011. Interesting take
yes too early for VC to fund but not too damn early to connect with VCs to see what their informed experienced view is..most VCs respond well to a bite to eat and some coffee
Or:

$ date +%A
Tuesday
$ anyfizzbuzzprogram > fizzbuzz100
$ cat fizzbuzz100
[output]

$ date +%A
Wednesday
$ cat fizzbuzz100
[output]

:-)
You might enjoy The Stanley Parable game if you haven't tried it already: https://m.youtube.com/watch?v=fBtX0S2J32Y there's a free demo and they're working on an "extra deluxe" version now
The Top 3 Reasons for the Delayed Launch of Your Business Website [How to Avoid]
What I did in 2018
This reminded me of Back Orifice:

https://www.cultdeadcow.com/tools/bo.html

aahh the nineties!
> Being a farmer these days is capital intensive and heavily mechanized, so even if they make more than most, most can’t be farmers.

They are already farmers, so that's a moot point. How could you move your farm to the city if you did not have a farm to move?

> Even farmers have trouble being farmers these days, because they have to keep up with an increasingly mechanized profession that needs fewer of them every year.

Mechanization is causing attrition, but I am not convinced it is causing farms to fail. If you are established, it won't be mechanization that gets you.

> Then most definitely, moving tk the city might be your vest bet even if farming is the only thing you know.

Or you could just sell your business, retire off of the proceeds, and live wherever you want (which is probably not the city; I've never heard of a retired farmer keen to move to the city – in fact, rural areas are often thought of as retirement communities for former city dwellers). Like you said, it is a capital intensive business. There is an incredible amount of capital at your disposal.
And so many systems still writen in C....
MasterCard collects a lot less than Apple does. Apple is more like Braintree, adding value on top, but they (IMO) charge too much for what they provide.

It's too bad their lock in effectively prevents alternate means of distribution.
He is my hero! I want my future children genes augmented!
I don't think that is universally the case. I transitioned back into academia after being in industry. Admittedly, I was only out in industry a couple of years and I've not found academia to my liking.

My background is microelectronics, and in my experience there is still a big skills gap inside academia which I think only people from industry can really fill. There is no substitute for practical/applied engineering experience, and that experience goes a very long way in informing how realistic or implementable a piece of new research is.

If professors are insightful enough to see the skills which engineers from industry can offer academia, then it's a benefit to everyone.
Automating AWS EC2 Management with Python and Boto3
From what I have read of the case, yes.
How availability of tools does not make it easier?
I wish the everyone would stop using the term "responsible" to describe "coordinated" disclosure. Researchers do not owe vendors any cooperation at all. It is perfectly moral to present factual information without any notice whatsoever. I think there's often something to gain through coordinated disclosure, but not always, and it's not your choice to make unless we're talking about your own findings.
Much stronger similarity is found in the "Visual novel" style games, although those are not so popular in the US. That also they have been to some degree influenced by the CYAO book format seems plausible.
Building a comic book inventory
Wish it wasn't in dart (no JavaScript either).

Aside from this, I am happy.
I think it's somewhat interesting to consider this issue while thinking about the history of medical developments. Many things we now take for granted are the result of extremely unethical scientific work that often involved literal torture.

For instance in World War 2 Japan operated Unit 731 [1]. This unit was basically war crimes incarnate. That page has plenty of sordid details so there's no need to repeat them here. But the most interesting thing is that rather than being punished for some of the most heinous crimes committed against other humans, the scientists were secretly given immunity by the US in exchange for the data they gained through human experimentation. Victim accounts were then publicly dismissed as communist propaganda.

We did something similar with Germany and the Nazis. Operation Paperclip [2] involved the US recruiting some 1,600 scientists, engineers, and technicians that were involved in weapons development for the Nazis. Interestingly enough one man, Werner von Braun would go on to become the chief architect of the Saturn V launch vehicle that sent us to the moon. It led to an amusing satirical quote, "I aim at the stars, but sometimes I hit London." Granted weapons tech development is hardly in the same realm as human experimentation (even if the former is responsible for far more death than the latter), but it's kind of interesting that the people who created the weapon systems were immensely rewarded while nameless recruits who played no particularly unique or meaningful role were castigated as the irredeemables.

The point of this is that whichever nation, group, or individual achieves progress on positive and clearly productive human genetic modification will likely receive immense accolades and support, even if in secret, regardless of what our public stance on the behavior may be. It's interesting to consider the somewhat bizarre system of motivations and consequences/rewards that we create in the pursuit of the appearance of morality.

[1] - https://en.wikipedia.org/wiki/Unit_731

[2] - https://en.wikipedia.org/wiki/Operation_Paperclip
Yeah. In the US, I believe the software engineering PE is actually being discontinued after this year.

I got an Engineer-in-Training certificate out of school (basically taking a GRE-type exam) because, in the field I was working in at the time, senior engineers got PEs so they could sign off on blueprints for regulatory agencies. And, in due course, I would have gotten one.

But anyone who thinks there's something special about working for a few years in the industry and then taking a few hours of tests... I'm not violently against these types of certifications but they tend to become artificial barriers (degree requirements, specific work experience, and the certification itself) and don't really indicate a lot.
Web developer makes native app
It looks like the probe might be in a polar orbit, and it may also be the case that the plane of the orbit is perpendicular to the sun, so burning sunward would always be safe.
Of course it is, why not? I even believe it's immoral to let the kids struggle from inheriting their parents disadvantages in intelligence and health when it is possible to save them from that. As for social skills and appearence, however, this is not so straightforward as the first is complicated and the second is subjective. Psychopaths and dominant characters can make amazing social players but I doubt it's nice (both to the person and to whoever is going to have to deal with them) to pre-program a person with these traits. Unusual appearance can sometimes be more cool than nazi-style unified perfection.
Wie sicher ist deine Social-Media-App? – Chatten ohne Risiko
This is very well studied and the effect is very real, see https://www.google.com/amp/s/www.usnews.com/news/best-states...

You only have as much capital as the bank will lend you, and you are often living year to year on whatever your income is (which you’ll need to use a lot to either pay down loans or save so you don’t have to take out loans). And if you are successful, you buy out your less successful neighbor to expand your farm, where does your neighbor go?

Old farmers can probably retire, but what about young ones? They often just give up and move. This has been talked about a lot in the last decade, there is no big mystery or open question about it.

Other countries have it even worse than America; eg Japan.
Pathfinding for Tower Defense
I’m out if touch with HTML & CSS, and I use something like umatrix instead of an ad blocker so I’m curious...

How is it that the entire web isn’t already obfuscated to make this as thorny as possible? If we’re passing our JS through minifiers, why aren’t we doing similar to HTML such that element IDs are randomized/hashed every time the page is generated?
Agreed. Researchers owe the companies absolutely nothing.
It indicates they're not some random. (Or someone without conventional engineering education.) I guess an undergrad degree, a few years of experience, and the ability to pass an academic test does indicate at least some basic background but probably not a whole lot more.
The author is mentioning ‘Stranger Things’ as being nostalgic for the growing old kids born in the 80s, but last time I checked Steanger Things audience are teens... he got this wrong
I actually absolutely adore TSP, and I realise that it has different endings but I feel like it is fundamentally different from "branching narrative" game, although now I think about it I can't quite put my finger on why...

The sort of thing I hate is GTA IV style, Kill X or Kill Y "choice moments". Quantic Dream games are essentially nothing else, it really annoys me when people suggest those games are somehow the most mature and "artistic" games out there, when to me they are basically bad CGI films.
I love Amit's blog, and it's impressive how much he accomplished in 2018. The post on visualizing AIMA's Adversarial Search [1]strategies is a classic.

[1] http://aimacode.github.io/aima-javascript/5-Adversarial-Sear...
Thats the funny thing sometimes people ignore alerts on tools that red teams normally use because they think it's their red team
I feel like this could easily be read as "software engineer finds placebo sleeping pills".

You very well could be right, but those sources are not scientific. If you want to show me that magnesium helps people sleep, show me a PubMed article on the subject.
Timely article, after listening to 4 hours of constant firecrackers in the neighborhood from 10pm-2am, I did not fall asleep until 6AM; thankfully today is not a workday. At least once a month, and in the past year more like once or twice a week, I can't fall asleep until right before I have to get up. Yet other nights I do exactly the same things and sleep 7 hours or so.

When my body is in the no sleep mode (which I presume is an excess of cortisol) no matter what I take nothing will put me to sleep until that wears off. Working in a high stress environment writing code and managing a team in something with CEO level visibility (in a big company) I am sure its stress related. I can see why Michael Jackson went to ridiculous extremes trying to sleep (and paradoxically not actually sleeping). It's a miserable experience to trying to function one hour of sleep and do anything complex.
Power analysis is a lot harder to fix then you think. Constant time isn't enough: you probably need blinding and some hardware assistance with features that are inevitably under NDA.
Apache in 2018 – By the Digits
I'm sometimes tempted to use it in loops, when

for x in map(func, iterable):
...

is cleaner than

for x in (func(y) for y in iterable):
...

and shorter than

for y in iterable:
x = func(y)
...

But that mostly only makes sense if you already have a suitable named function (e.g. str), and I usually end up going with the third variant anyway.

There's an analogous case with filter and `if not cond: continue`.

map and filter calls are trivially rewritten to generator expressions, but it's not necessarily an improvement.
Sure, but why would they also not leave any trace on the moon?
but in the end if a person is dirt poor then that is their social economical class.

If money alone determined "socioeconomic class," we wouldn't include that "socio" part in the expression. There are many more factors than current income to such things and your statement is basically just a kind of prejudice wrapped up in ignorance.

My other handle has a hair over 25k karma. I appear to be the only woman to have ever spent time on the leaderboard. There absolutely are men on the leaderboard who have successfully used HN to enhance their career and their finances. Listening to this kind of dismissive crap from people on HN gets tiresome.

https://news.ycombinator.com/item?id=18512553

https://news.ycombinator.com/item?id=18466918