skysight-inc/HackerNews huggingface dataset:
Russia tells Google not to advertise 'illegal' events after election protests
Isn't it also just as much about Python is having it's day, granted a day long in the waiting but many langs go through this (Ruby, PHP) and then it tapers off and the next language has it's day.

Probably Go will be the next hotness in 5 years.
Ultimately, if you block ads isn't the tracking useless?

Sure, you can figure out the perfect ad to show me, but if I'm never going to see it, you're wasting your time.
Worksnaps Features: Light Weight Client, Friendly Notification
Appreciate the charts, but what is "Software" as a category? Looks like a container for anything that doesn't fit into one of the other categories. Can someone explain?
It's probably a mistake to assume that everyone down the line will look at some promo/ad/etc. with fresh eyes and ask "Do we really want to do this?"

People assume that someone else has vetted the basic concept, get focused on the mechanics, etc. and focus on the how rather than the should.

ADDED: There are plenty of ads that make you ask: "How did this get through?" and it's the same basic idea. Having worked for large companies I totally understand.
or firing missiles on a friendly ship on a US destroyer...
Entropy!

If you are familiar with programming I suggest doing the following experiment:

1. make an image of one solid color

2. make another image of the same size that with each pixel being a random RGB value

3. losslessly compress both images any way you can

4. compare the compressed file sizes to the uncompressed bitmap file size

Make sure to make a hypothesis before the experiment!

To dig a little deeper on this: all subsequences are equally probable in a random sequence. The full implications of that requires a bit more playing around and reading. I think if you explore it you’ll find that there is an intuition that can be built up.
As someone with a P.E. license that spent hundreds of hours studying and had to sit for that excruciating 8-hour exam twice, I don't think even 5% of the software developers in the US could pass an equivalent exam. Granted, I think the sector I took it in has a harder test than some, but it is a weed out test for someone that already took 4 years of Engineering school.

Some takeaways from this:
1.) I learned a little bit from studying, but overall even though it was hard, I would've learned a lot more by getting a Master's degree.
2.) The test isn't good at determining if you're good at your job or honestly even minimally competent in your area. For example, even in a specialized field (power systems engineering), there are thousands of diverse jobs (power generation, distribution, electrical contracting, power transmission operations, power transmission planning....etc etc) so the test only had a few questions on my particular area.
3.) There are a lot of amazingly smart people working in software, but the skill range seems to be bigger than in traditional engineering fields where most engineers are fairly similar in skillset (there are some outliers) as they all generally have to pass the same courses if their university is accredited (talking about USA here). In the software world, you have software engineers and computer science doctorates mixed with someone with very little training that is trying to wing it. That means the dataset has a far greater range on skillsets. One employee might have had a class on compilers while another just learned what a for-loop is. In engineering, we generally all show up to the first day of work with the same building blocks (thermo, statics, Dynamics, circuits, differential equations, stats, calculus, basic programming...etc). The only difference between me as a senior engineer and a new hire is 9 years of experience, knowledge of the business and tools and ability to get things done without oversight. It makes a big difference, but I wouldn't expect them to be lacking any of the tools or training that I have picked up (ok...maybe databases).

I'm struggling a bit to convey the overall message that software engineering seems a bit different and licensing would therefore need to be different if done. Perhaps you could have licensing for individual subjects? For example, you could pass a basic test on relational databases where you prove you can do basic operations such as select, where clauses, joins, updates, exports...etc. Then you'd have another to prove you were minimally competent in Java? Would that be of any value to an employer? I don't know. I'm guessing someone already does this for Oracle and Java too.
Waydev 2.0 Is the #1 Product of the Day on ProductHunt
Yes but almost no one needs an xr battery yet. They are still all new and under warranty. In two years when people actually need new batteries they will be much cheaper, as are the older iPhone batteries today.
From what I remember of Occupy Wall Street and similar topic, the headline will find a receptive audience here at HN.

BUT I won't tire of pointing out that protests sometimes have dramatic effects. So much so that I'm still not sure about the exact mechanisms.

It seems so obvious that a government with all the guns should not be scared by unarmed protesters, right?

Yet there is no shortage of examples showing the opposite. In Ukraine, it was some low five-figure number of protesters on a single square in the capital that brought down the government. Across the middle east, "Arab Spring" rebellions deposed of quite a few entrenched autocrats. Hong Kong, right now, is entirely peaceful and mostly students, and has China closer to a nervous breakedown than Trump ever will.

Even Occupy Wall Street, favorite target of derisively dismissing "Hippies" and the left, has had significant impact: How often do you now see arguments framed as "The 1%" vs "The 99%". If that doesn't count as impact, your expectations are probably off.

I got to experience this first-hand when the G20 meeting happened in Hamburg, Germany: Every single interview with one of the politicians attending that I saw mentioned Climate Change. If that wasn't the result of the protests happening outside, I don't know what did it.

The Arab Spring especially has obviously not resulted in the sort of change people had hoped for. But to suggest it did not have an impact is simply wrong.
Unless your goal is to flip the table over...
Complaining isn't the problem, yes there are package management problems, a virtualenv package solves most of them. I'm not saying there isn't. Python 2 really stopped being a problem for me last year, I haven't hit an issue for a while.

I'm talking about the comments saying it was causing their burnout "x100" and other such hyperbolic statements.
I live in the countryside and have yet to find a profession performed in the city that isn't also done in the area here. In absolute numbers, there are unquestionably more jobs in the city, but there are also more people vying for those jobs. Relatively speaking, I don't see much difference.

If you are exceptional at what you do, I think it is fair to say that the most prestigious jobs are most likely to be found in the big city. Major league sports teams, for example, are pretty much only found in cities but even here in the countryside people are paid to play sports in not-so-major leagues. Rural folk pay for entertainment too.

However, I will add that even people in prestigious jobs often live in countryside. A surprising number of major league professional athletes, ones you have probably heard of if you follow their respective sports, have homes near me. Given their prestigious careers, they can afford to live away from work for at least part of the year. And not just professional athletes. I regularly bump into the CEO of a very successful tech company (thousands of employees with offices worldwide) who also lives out here in the boonies part of the year.
> T1 no

No meaning not proof? Say I FileVault my drive and elect not to store my Recovery Key in iCloud, but write it down. Drive should be FBI safe. No?
> they are literally protesting for democracy

Protests don't achieve democracy, voting does. If all participants in the recent protests were willing to volunteer, printing a few million ballots and distributing them to improvised polling stations wouldn't be insurmountable. The Hong Kong Identity Card means that voter ID can be implemented without access to government records, simply by assigning a range of ID numbers to each polling station. The only drawback is that they'd need to somehow record who already cast their vote, which could be abused by the government to crack down on participants if they decide to ignore the outcome.
'any delay in shipping (28 days of delivery was never realistic) only added to the excitement and anticipation.'

I fondly remember getting all manner of free-stuff as a kid by collecting coupons. As you say, having to wait so long for delivery made it seem like you were getting something really special.

Nowadays if my Prime delivery doesn't turn up by 11 am the next day I get frustrated.
.NET has always had slow exception handling because it tied/ties in Windows’ Structured Exception Handling (SEH); that’s rather slow but provides e.g. detailed stack traces even for mixed-mode callstacks.

Having ported some decently large codebases from OCaml to F#, the heavy use of exceptions in OCaml (where exceptions are very lightweight by design) had to be changed to normal control flow with monads to achieve good performance in F# — specifically because of .NET’s slow exception handling.
Log in to Twitter
The email and password you entered did not match our records. Please double-check and try again.

Log in
jbsbjpbr549

•••••••••
Log in
Remember me · Forgot password?
New to Twitter? Sign up now »

Already using Twitter via text message? Activate your account »
Hackers are scamming people for the blue verific­a­tion tick on Instagram
No. I paid slightly less for a very inferior product (non compatible with cases due to thickness, colors off by a large margin).

In this case I knew that I got a bad product and returned it, but it makes me wonder how many times I got some shoddy fake instead of the genuine thing (e.g.: because of Amazon stocking shenanigans). My reaction to bad products is usually to distrust the seller and the manufacturer brand.

This is also why brands fight fakes, if you can get a visually extremely similar object that is sold as product made by B, but it falls apart after a few months then there is a big chance that you won't buy B anymore even though their products are actually good.

Also in my case the problems were visible. If the problem was with a badly repaired internal component, the phone would have died, I would have brought it to Apple and they would refuse to repair it under warranty because it was voided by some random technician. Had the repair been done badly by an authorized repair shop, they would take the cost of re-repair or exchange on themselves.
Yes, sometimes it's like that (being rejected based on race, religion, etc.), and it's sad.

But most of these "excluded young men prone to radicalization" are really being rejected because they never bothered to actually offer something meaningful to the society that is rejecting them.
Ok, maybe my experience is limiting my empathy. I’m a white man working for a big Silicon Valley company that has plenty of diversity programs, some mandatory training for all employees. The notion that these programs are seeking to actively exclude people like me seems so absurd that I can’t imagine believing such a thing unless I were essentially a white suprematist seeking victimhood.

When I don’t get a promotion, it’s because I didn’t do enough politics and went home every night to see my family rather than burn the midnight oil; not because diversity-brainwashed white men are somehow conspiring against me as a white man.
Yes, "DevOps" is basically an attempt to weed out the best sysadmins from the rest in the job market, because if you look for 'an experienced sysadmin' you'd usually find a guy who laid cables and replaced mice for 1000 Windows workstations instead of 10.
A pragmatist would lay down and take it, while preparing to emigrate out of HK as soon as possible.
Get New York Startups List (Free Spreadsheet)
People in the Racket community also sometimes to use Scribble[1] to write their blogs.

https://docs.racket-lang.org/scribble/
Seems like it was a mistake to use a RAM disk to back the storage API in incognito mode?

Why not just create a new "real" storage db on disk, deleting it when the incognito window/tab is closed? It seems like this approach would defeat all of this class of attacks.
> If your goal is to get 500,000 people to turn up on the Mall in Washington, D.C., Twitter is great at that. But if your goal is to make lasting change, you have to work within the system.

That's partially true, but it is still more false than true. Stand this statement on its head:

> If your goal is to tweak the current state of affairs with minor reforms, you should probably seek a seat at the table. But if your goal is to make fundamental change, you have to work outside the system.

That is to say, the author assumes that power relations in society are static, and therefore one can either shout at established power from outside or join it - never deconstruct, topple or replace it.
I recently gave a Python book to a co-worker that wanted to experiment with deep learning.
Co-worker: Wow - this book is like 900 pages long!
Me: Don't worry, it's mostly whitespace.
And that is one of my favorite features of Python - easy to trace and code!
I think the message could have been clearer. But to add to your point, wasn't there a case when car repair shops would rewind odometers on cars/engines to make them seem newer that they actually were?
OpenAudible – desktop application for downloading&managing Audible audiobooks
I'm not sure if the US is the same as the UK, but here there are tax incentives [1] to classify, or interpret as much engineering time as possible as R&D.

[1] https://www.gov.uk/guidance/corporation-tax-research-and-dev...
What's wrong with the design?
Poetry is just rather new. Give it a few.
Are we seriously trying to compare what is happening in Honk Kong (and rest of China, that doesn't appear on TV), with the almost infinite patience that the french police shows, with the permanent protests in France about anything they feel like protesting violently against that particular week?

I still remember French setting fire to dozens of cars in several different protests, while the police was too afraid to intervene, or be accused of curtailing those "peaceful" citizens rights to express themselves as they see fit.

https://www.youtube.com/watch?v=ChFHvi3ldec

https://www.dw.com/en/protesters-burn-cars-in-north-paris-su...

https://www.ctvnews.ca/world/french-rioters-set-fire-to-cars...
Yep, but that is not what mainlanders think. Well, the ones I know. Very small group of well-off engineers. I have not been to HK for a few months now but I have friends in both camps. I am pro HK (but I am western so).
Maybe, I love Go but I'm not sure it's the next "hot" thing, all the recent "hot" languages have been scripting languages PHP, Ruby, Python, JS ... I'd say JS and Python are currently jockeying for that position.
(We're also separately emailing beta contributors, as we have done throughout the beta period.)

Also, if you ever want to ask questions about organizing a beta, I'm always keen to answer. (Though Jon did almost all of the work on this one, thanks Jon.)
Very often, that seat has a lot less power than it might seem from the official title. Plus, in the pursuit of that seat you are often vetted, effectively if not literally, for not posing the danger of possibly fomenting significant change.
I spent quite a lot of time writing Typescript using Fluture and a few other libraries a while ago. Coming from a functional background, combinators + futures actually feels quite natural to me, so I looked at the examples of the "bad" code here and thought I actually quite liked it. But I certainly don't mind the async syntax too much either. Will see how it works out some time!
i would argue that just because they factor into everything and the ultimate outcome, that doesn't necessarily obviate the ability of a conscious actor to act in a subjective manner based on their interpretation of it. and sure, even that interpretation, to some extent, could be considered a deterministic process because it is constructed by inference from prior experiences and as such represents more of a learned response than an intentional choice, but I personally would say that it's not the actual outcome of the thing that acts as proof of free will, but rather the ability to even question a thing in the first place and to rationally be able to react to something in a way that does not necessarily follow given the input that led up to the situation. for instance, we are generally indoctrinated into the idea that life is inherently sacred, and as such it makes no sense to commit suicide and take it away, and as such it would make sense to claim that such a thing a suicide would not rationally follow if such a belief were to be actively "true". i personally don't believe that life is, per se, sacred or special, but rather just an emergent modality of matter that manifests in many ways, though the primary aspect we experience it through is biological.

also, speaking of biology: all emotions and experiences are ultimately the side effect of the ratio of the presence of different neurotransmitters within your biological substrate, but just because you have a certain configuration, doesn't mean you have to absolutely feel the way that that configuration entails. everything that you end up feeling is relative to everything that you have experienced before, and as such it stands to reason that one can choose to respond to given signals from the body in ways that may not necessarily align with the obvious intent of those signals. this is most clearly manifested in the whole fight or flight dichotomy; cowardice and courage in and of themselves are no different in terms of the physical conditions that come together to manifest them. both situations will likely make you more focused and hyper aware, due to the release of adrenaline and the increased feeling of a need to act in order to continue existing, but the manner in which a behavior is constrained under either label is wholly dependent on how one chooses to react to said adversarial stimuli
> I used to be a huge fan of async/await in the JS world, until I realized that we were tethering a very specific implementation to new syntax, without adding any clarity beyond what a coroutine and generator could do. eg `async function foo() { const a = await bar();` vs `co(function* foo() { const a = yield bar();` isn't really with adding extra syntax for.

FWIW Python originally used generators to implement async / coroutines, and then went back to add a dedicated syntax (PEP 492), because:

* the confusion of generators and async functions was unhelpful from both technical and documentation standpoints, it's great from a theoretical standpoint (that is async being sugar for generators can be OK, though care must be taken to not cross-pollute the protocols) but it sucks from a practical one

* async yield points make sense in places where generator yield points don't (or are inconvenient) e.g. asynchronous iterators (async for) or asynchronous context managers (async with). Hand-rolling it may not be realistic e.g.

for a in b:
a = await a

is not actually correct, because the async operation is likely the one which defines the end of iteration, so you'd actually have to replace a straightforward iteration with a complete desugaring of the for loop. Plus it means the initialisation of the iterator becomes very weird as you have an iterator yielding an iterator (the outer iterator representing the async operation and the inner representing the actual iterator):

# this yield from drives the coroutine not the iteration
it = yield from iter(b)
while True:
try:
# see above
a = yield from next(it)
except StopIteration: # should handle both synchronous and asynchronous EOI signals, maybe?
break
else:
# process element

versus

async for a in b:
# process element

TBF "blue functions" async remain way more convenient, but they're not always an easy option[0], or one without side-effects (depending on the language core, see gevent for python which does exactly that but does so by monkey patching built-in IO).

[0] assuming async ~ coroutines / userland threads / "green" threads
A related point made by Zeynep Tufecki is that mass protests in the past used to be show of force. If you could get half million people to travel to Washington and participate in a mass protest, that meant these people cared enough to take time off from work for a few days, spend money on travel and participate in a policitically and socially risky activity. It also meant you had several tens of thousands of organizers in diverse parts of country who managed the logistics of getting so many people to come together for the protest. The implication was clear -- give us what we want, if you don't, we definitely have the votes to take you down.

In the age of Twitter and Facebook, protests are a lot more convenient and a lot less difficult to organize. It is not clear that half a million people protesting in NYC or DC means much in terms of actual electoral consequences. Whether they can articulate it or not, politicians definitely know this and react accordingly.
The irony is this is such a big issue because iphones are one of the few products they make that are both easily repairable and expensive enough to be worth repairing. Nimble fingers and the right screwdriver and it all comes apart and back together again unlike many rival sealed glued products.
Eh, I don't doubt the US is helping the protestors, but surviving is not really a problem when you're the leader of a mass protest. You'll have plenty of followers willing to give you the necessities of life. If you read the histories of revolutionary leaders, they often lived for years from the support of regular people.
https://en.wikipedia.org/wiki/Argos_(retailer)

established 1972
So how exactly does a "Nuclear-Propelled cruise missile" work? I would have assumed the weight of any nuclear reactor to make any such contraption impossible? Is this a conventional nuclear reactor producing electricity to run an electric motor, or is there some other scheme I haven't heard of?
Yes, take the human spine for example: the double s-shape of the spine makes it very difficult to induce oscillations in it and helps absorbing shocks. And then there is the 'Dancer' robot (first example, ca. 20s into the video) with a straight 'spine' ... wobbling around.
20th anniversary of José Bové’s 'attack' on a McDonald's in rural France
Sign up for $200 broadband package and ignore the bill, because $200 for internet is completely unreasonable.
It is already happening here in GDL, Mexico. Several start ups have opened dev shops down here. They have a competitive advantage and plenty of comparatively cheap talent to get from big companies like Oracle, hp, IBM, Intel, Tata,Cognizant, among others that already have bored developers.
I don't consider toddlers as well-trained in that regard. Or ... any other ;)
Not working as expected for Ubuntu 19.04!
Am I correct when I assume that most of the people hating on Python here are using it for medium or big projects?

I feel like the dev community figured this out ages ago:
Statically typed languages are easier to read, harder to write, dynamically typed languages are easier to write, harder to read (and also harder to refactor).

For small projects (scripts, prototypes, etc), you don't care about readability, you just want it to be as easy to write as possible. Python really shines here.

For bigger projects, using Python is painful, but that's also the case with pretty much any other dynamic language..