skysight-inc/HackerNews huggingface dataset:
I do find forward gotos useful in C. For error handling and breaking out of nested scopes. But only when goto is simpler and easier to understand than the alternative.

Not saying there's no use for backward gotos, just don't remember ever needing them. Maybe they could be useful for some C code generation cases or perhaps for retrying some operation?

What really annoys me are C++ exceptions used for flow control. Surprise gotos. I loved exceptions long ago at first, but over time the feeling has shifted more and more towards hate. Exceptions make code bases so much harder to understand. Especially when combined with inheritance.
The GDPR specifically exempts governments from the regulation.

In fact the GDPR would likely concentrate data collection to governments which would provide services to the market. In fact this has already happened in countries with strict regulation like Germany where if you want to look up someone’s details it’s much easier to simply access them from a government run DB than collect them on your own.
In countries with decent, segregated bike tracks (Denmark, the Netherlands) cyclists don’t wear helmets because they rarely come into contact with cars.

The best way to encourage cycling is to build segregated infrastructure, not to mandate helmets.
No need to speculate. Wikipedia is quite helpful:

https://en.wikipedia.org/wiki/Open_Society_Foundations

its founding in 1993, OSF has reported expenditures of over $11 billion

The Open Society Foundations reported annual expenditures of $827 million in 2014.[17] Its $873 million budget in 2013, ranked as the second largest private philanthropy budget in the United States, after the Bill and Melinda Gates Foundation budget of $3.9 billion

In 2017, Soros transferred $18 billion to the Foundation

It's fair to say that they're unlikely to be budget limited. Whether or not that's enough for Soros to achieve his goals is hard to say. I tend to think money has less impact in politics than many like to imagine. There are quite a few examples of lesser funded politicians beating much better funded politicians in elections e.g. Trump v Clinton.

But it doesn't have no impact either, that's for sure.

As for funding academic sociologists, well that's essentially the same as paying for lobbying. I don't think sociology is really a robust area of science: I've seen too many nonsensical papers and research results to believe it's much more than the researchers own opinions projected back at them. So by funding researchers who share Soros' world views, he gets a steady supply of "science" that can be used to sway policymakers.

maybe you can also understand why people felt that spending public money on such posters was reminiscent of 1930s Europe.

Oh look, you just implied people you disagree with might be Nazis. What a surprising and unexpected tactic that I never see these days at all.

The Hungarian government's beef with Soros is that he's rich, he supports the EU's efforts to take away Hungary's voting rights (i.e. making it formally a vassal state of the EU with no power in it at all), he funds political causes that the elected government opposes and so on. It has nothing to do with him being a Jew. This sort of debating tactic is crying wolf and I find myself already ignoring most accusations that someone or some group are "Nazis" because it's almost never true.
That's fine as long as it's on paper; that way, the hotel (for example) can sue them and not be held liable in case of trouble. In theory anyway.
1. Stay away from those websites

2. Identify your specialties and craft a pitch for how you can use them to generate value for a company. Ideally these specialties will result in measurable value. Examples: saving money on AWS costs; generating sales leads; optimizing marketing funnels.

3. Focus on “push, not pull.” Find companies who could benefit from your specialties, and reach out to them directly. Set up phone calls, video chats, and face to face meetings. Learn to sell yourself as a product.

4. If you’re a senior developer, you should have a fairly extensive network of people who know your work quality, all working at different companies. Reach out to these people first.

5. Charge by the day, week or month. Do not charge by the hour. Start with your market-rate salary for a year, divide it by 50, and then multiply it by 1.5-2.0 to get your weekly rate. [EDIT: Just realized you have a full time job, so this might not be possible. In that case you’re going to struggle to compete against full time consultants, unless you’re working primarily on piecemeal work. The real money is in full time consulting, not moonlighting by the hour.]

6. Focus on companies that either have VC funding or revenue, and preferably 3+ full time employees working at market-rate salaries. They will not flinch at your price.

7. Increase your rates with each new contract.
Why would it matter? It's not like it's running any untrusted code.
Why Developers Can Ignore Software Reviews
> Also, does anyone know if what he refers to as "progress and preservation" are the same / related to "liveness and safety" in distributed algorithms? It sounds like the same kind of idea.

Progress and preservation are used to prove type safety, which (like the name says) is a safety property. Informally, safety means "a bad thing never happens", and liveness means "a good thing will eventually happen".

Informally, progress means "a typed program will never immediately exhibit undefined behaviour", and preservation means "a typed program always stays well-typed". Together, these two properties mean "a typed program never exhibits undefined behaviour".

This has the shape of a safety property. All this can be made much more formal, but that's the intuition.
Bike lanes (or, rather, just generally improved attitudes to municipal biking infrastructure) in cities that have adopted bike share schemes seems the most likely cause if safety gains in your first quote.

Helmet-wearing cyclists being more likely to cycle in unsafe areas seems far less plausible. Do you really believe this is the case. At least anecdotally, I would say the opposite.
The courts recently ruled on a similar case[1] and came to the conclusion that it was not a CFAA violation. That said, there's a difference between a public website such as LinkedIn and a host that just happens to be reachable over the internet, so I'm not sure it would be fully applicable.

[1]: https://arstechnica.com/tech-policy/2017/08/court-rejects-li...
Strong types for strong interfaces – Jonathan Boccara
Yikes https://www.xkcd.com/1053
But, how many times will you have to call ?

Surely not every time you go to the loo, if it's just the once it's hardly much inconvenience.
Playing DOOM on a Jupyter Notebook
> "recursion" is not a concept in C. Just function calls.

There are indeed C compilers that don't support recursion (or function re-entrancy). What does the standard say about stacks?
Five factor testing
Your friends, colleagues, and family likely have you in their contact lists, so Facebook knows you are missing from its graph. In lieu of an active profile they maintain a shadow profile for (at least) your phone number, and whatever additional information people who know you have unwittingly provided to Facebook and its daughters (e.g., WhatsApp).

Facebook knows us by our social connections. We don't have to actually use it for that. As long as your browser's privacy add-ons disable Facebook's widgets (the like-button) it probably can't track your browsing habits though.
Phones aren't even that good in gigs for grouping up, vs just walking around.

A lot of the time your mates aren't looking at the phone at the right time, or there are so many people that you don't get good reception. Looking up and just finding people works pretty well.
That doesn't mean much for the Chinese, though:

https://blog.cryptographyengineering.com/2018/01/16/icloud-i...
I a saturated market, you'll need marketing. SEO should be part of that.
You wonderful person!

"Properties are defined using Haskell in the file ~/.propellor/config.hs. There is fairly complete API documentation, which includes many built-in Properties for dealing with Apt and Apache , Cron and Commands , Dns and Docker, etc.

There is no special language as used in puppet, chef, ansible, etc.. just the full power of Haskell. Hopefully that power can be put to good use in making declarative properties that are powerful, nicely idempotent, and easy to adapt to a system's special needs!"

I'll be learning Haskell for real this time.
No, what I mean is that in China, anyone who comes up to me, especially if they are speaking English, intends to lie to me and maybe lead me to some place to be defrauded, and this is their job. It's not the same in the US or many other places at all.
I'm on the Gitaly team.

As zegerjan wrote, Gitaly is a Go/Ruby hybrid.

The main Go process doesn't use libgit2 (for now) because we didn't want to have to deal with cgo. We already know how to deal with C extensions in Ruby, and we have a lot of existing Ruby application code that uses libgit2, so we still use it there. And that code works fine so I don't see us removing it.

In practice, sometimes spawning a Git process is faster than using libgit2, so why then not do that. Also for parts of our workload (handling Git push/pull operations), spawning a one-off process (git-upload-pack) is the most boring / tried-and-true approach.
> The only thing wrong is how empty the space is. In real life, there is no empty space at all - it's jammed pack with other proteins and molecules

That was a huge revelation for me. I'm reading through The Machinery of Life by David S. Goodsell; his drawings drive this point home very well. It turns out the cells are so densely packed, that only small things can meaningfully move around at all (through diffusion, i.e. by bouncing around) - for larger stuff, there are dedicated mechanisms in the cell that ship big molecules around!
Pocket itself isn't open source, they just have an org on GH which has some tools inside.
I think you'd have a hard time convincing people that https://www.istockphoto.com/gb/photo/industrial-robot-arm-is... wasn't a robot, but the same argument applies.
Of course there are exceptional circumstances where access would be granted by a manager without customer approval or routinely by extremely specialised abuse teams.

What I'm talking about is general day to day access to customer data. The analytics, customer service, engineering, etc. teams. It's a different discussion you're trying to have.
This sounds a bit like a conflation between Product Managers and Project Management.

Both roles can juggle as needed on the size of the organization, but I imagine ProdMan positions to be interfacing with consumers needs and the trends and gathering feedback on new and existing lines of work.

I think one critical skill a ProdMon is to be able to separate the wheat from the chaff, and prioritizing actually solutions to people's problems and not just ticking down feature lost from some analyst who's like 6 steps away from the day to day pain of the people.

A million small evolutions will change the world and take everyone by surprise :)
No idea why you are downvoted for this.
In Asia (Japan) it is very normal that phones are forbidden at concerts. You are being warned first and if you take it out again to snap a picture for example, they'll boot you out.

But here it's AFAIK more for the reason of selling a exclusive concert DVD after the event is over.
I generally wear a helmet as it is required by law where I live (Australia). The odd occasion that I forget to wear my helmet, I've found myself riding more carefully. I'm a very careful rider even with a helmet, but clearly, I ride more carefully when I don't wear a helmet.
Yes. As someone who has to take a 1h30 bus twice a day I would jump ship if a company offers me remote work for even 50% of the month.
>if you want to look up someone’s details it’s much easier to simply access them from a government run DB

Yes, it will be much easier to gain access to a compromised government DB if you want to have bulk access to such information a la shadowbrokers et al.
Discussed elsewhere in the thread, it's definitely not needed day to day.

The number of devs popping up in this thread who think routine access is needed to live data just to be able to debug is quite worrying.

In the rare instances it is, an anonymized version of the live db should be used to recreate the bug. If this doesn't work, then you might put in temporary logging accessible to only approved people, which is removed after the bug is fixed and the logs deleted.

To be a bit more explicit, I think small companies have a justifiable reason to be a bit more relaxed about live db access, but once you get to having larger teams of people, you're under a huge risk of a malicious actor. Which is easily mitigated by restricting access.
You can do that outside of a gig.

Why not give your full attention to the music.

Social media should have a health warning, we will look back at this era in the same way as we look at the pervasiveness of smoking in the 1950s.
You say that like it's a bad thing. Politicians getting publicity for doing what the public wants leading to the politician staying in office is how I want the system to work.
The top comment on the article is screaming for button-pusher blood:

> So, as it turns out, the culprit who induced panic among over a million Hawai'i citizens isn't nearly as contrite about his mistake as his superiors would have us believe. In spite of legions of supporters who have urged us to drop demands for his dismissal, he now has the audacity to be uncooperative in the investigation into the serious event that he alone triggered? Then TERMINATE him....

Bloody obvious why cooperation is being withheld.
Although it doesn't alter the analogy much, there is also the even higher level of 'quinary structure' - although it is disputed:

https://www.ncbi.nlm.nih.gov/pubmed/23943406
Someone holding up their large, very bright screen between me and the musicians absolutely is inflicting their choice on me.
I walk to and from work each day in a large urban downtown in the US, and I average one interaction each way, each day. Almost none of them are approaching me about anything involving a scam.

For every 5 people that communicate (other than a nod or polite hello), 4 are just asking for money, full-stop. That's begging, but not a scam. It's honest, they ask, I say no, because I don't carry cash. The other 1 out of 5, such as today, was just a guy who wasn't sure if the bus he was looking for stopped at the street we were both on. It was about 22:30 and he was worried he'd miss the last express bus home.

Occasionally someone asks for money for food, and then I offer to buy them lunch, and most turn it down. Maybe that counts as a scam? But some take me up on it. So if that's a scam, I'd estimate 5% of people I talk to ask me for money for food, truly just want money, and have a scam in mind. That's definitely a minority.

Edit: As additional context, I traveled through China for a little over a month in 2005, and very much related to the GP's comment. I know the country has changed massively since then, but I have traveled through a half-dozen countries, lived in 2 others, and China stands out in that way.
This is my hope, too. Humans tend to eventually revolt if they get oppressed too much. I like to think that this move to create total surveillance and censorship for anything "bad" the Chinese do or think, and the government's project to create "Perfect Citizen" score, will eventually result in a blowback.

At the same time, I worry that the Chinese have been brainwashed (yes, I know, westerners are brainwashed in many ways, too) for so long about how things should be in China, and this surveillance and censorship apparatus backed by advanced AI would be so powerful than the government will be able to crush any potential dissent as soon as there's a spark of it. So this could go on for a long time, potentially indefinitely.

We'll see if new technologies, such as uncensorable blockchains will be able to prevent that in any way.
sigh, you are not the Human race. Yes, Humans as a race have survived without cellphones, but that doesn't mean for an instance that the same applies to individuals.

You can't simply brush aside the parent's comments because you don't agree with them. A potential rape situation, or a lost and frightened child are very valid, and very real examples of how having a phone could help.

> Cellphones have made people into helpless, scared sheep.

You realise that people can be scared and helpless without being sheep, right? You also realise that simply being able to contact someone can remove the fear and helpnessness?
What I often miss with these kinds of databases is compression capabilities. I currently use my own delta-of-delta encoding for time series data (stored in postgres) as that gave me much better compression than any of the time series databases I tested.

It's not that storage isn't available, it's easy to store terrabytes of data. But really fast storage is still expensive and rare. Being able to compress time series data to 3-5% of the raw value allows keeping most in memory, speeding up reading writing and analysis.

InfluxDB is quite good at that but unfortunately, they struggle storing many small datasets.
Final Draft 10.0.6 Crack with Seril Key for MacOS X
Another nice example is changing the working directory for the new process. With fork+exec, you can do a chdir after fork but before exec. With posix_spawn you're stuck with the working directory of the parent.
Dutch intelligence service #AIVD 'hacked' Russian #CozyBear systems for years
Cuda4j is only implemented in the ibm jvm and last I saw was slow to add newer cuda versions.
I use Browserify and it works great.

Maybe there are some legitimate cases in which you would prefer Webpack, but I really don't understand why have EVERYBODY migrated to Webpack, with all its bloat and breaking changes and build errors and boilerplate.
It's not that people don't want be be seen and heard, but that socials encourage the desire to be seen and heard. It the past, fame wasn't a priority.
WJS #126: Make your code cleaner with ES6, cracking a JavaScript interview, more
You reference an article from The Daily Mail.

In case you weren't aware, the Mail is so prone pushing their agenda over the facts that Wikipedia consider citations from the Mail invalid, given their "reputation for poor fact checking, sensationalism and flat-out fabrication”.
I set up a separate organization (“milesforks”) specifically for this purpose. This way my main profile is not polluted with forks.
We see folks using our linalg library for this and deep learning: http://nd4j.org
We maintain our own c++ and cuda stack underneath this as well. It also allow control of these native components from java. We implement everything from our own garbage collector for cpu and gpu to our own cuda kernels.
Incidentally, we wouldn't even tolerate this kind of behavior with humans (or expect it to work).

Imagine if you wrote a book and the publisher assigned an editor before publication - an editor who knows nothing about the specifics of your book, who you're not allowed to talk with, who can make arbitrary changes to your book and whose decisions will be final.

You'd rightfully be outraged at that situation. Yet if the editor is an even less understanding computer program it seems to be generally accepted.
It is more accurate to say that sequential I/O is always more efficient than random - even if there is no physical seek time anymore
"NASA IMAGE satellite" seems to find the project page for me. IMAGE satellite also finds a lot of news entries regarding this incident that you can probably use to find out more.
We all think our jobs are safe from automation
And don't forget they got hold of the medical records of a woman who'd reported she'd been raped by an Uber driver:

https://www.recode.net/2017/6/7/15754316/uber-executive-indi...
What Technical Recruiters Really Want
> Often it's as simple as following the steps described in the ticket, something some developers seem to not realize, or their reading comprehension is bad.

That sounds like a pretty simple set of bugs you are dealing with. I don't think anyone is arguing that they need this level of information to solve "When I click this button it crashes".
I love jq and I wish I could write full programs using the jq funcional language, but this fx thing is great.

Mostly because its lack of learning curve, fx is much better positioned to be used by all people who don't love jq but just use it because there aren't other options.
New Incentives (YC S16) is hiring in operations for scaling to 100+ (Remote)
> As far as I am aware, variables, scoping rules and inheritance don't imply turing completeness and the way it does loops and conditionals could really more be characterized as configuration for loops/conditionals further down the stack (e.g. as seen here http://docs.ansible.com/ansible/latest/playbooks_loops.html#.... )

Then what does imply turing completeness?

According to the wikipedia article [1]:

"To show that something is Turing complete, it is enough to show that it can be used to simulate some Turing complete system. For example, an imperative language is Turing complete if it has conditional branching (e.g., "if" and "goto" statements, or a "branch if zero" instruction; see one instruction set computer) and the ability to change an arbitrary amount of memory (e.g., the ability to maintain an arbitrary number of variables). Since this is almost always the case, most if not all imperative languages are Turing complete if the limitations of finite memory are ignored."

[1] https://en.wikipedia.org/wiki/Turing_completeness
Why IP-based rules are bad, but we still use it
Would mostly sign that, but not without inspecting security or performance critical code in disassembler.

Modern compilers are still rather bad at vectorization. What's worse, those optimizations are often unstable. A small change might make code several times slower. Performance regression tests and when that fails, vector intrinsics are a must.
What’s wrong with emojis?
I searched for "scihub", and it tells me it is located in Singapore.
The roadmap is fairly general, not detailed enough, and not serious enough. It makes Stellar look like another startup, not like a company which wants to be the next paypal or replace bitcoin.

I think most of those cryptocurrency companies need to invest in their communication, PR and marketing in general. If they want to attract investors in their coin, they need to have a perfect communication, inspiring confidence. This would always be better than a stupid blogpost full of jokes...

But this is a forum of developers so I am not sure how this tribune for marketing is going to echo here ;)
Thank you ending the "like" era.
Helmets do not reduce accident numbers; they potentially reduce the injuries caused by accidents. We know that cyclists are safer when there are more of them around (drivers are more aware of them). Helmet laws reduce the number of cyclists on the roads, making cyclists more likely to be in an accident.

This doesn't even touch on other benefits (e.g. reduced heart disease, greater Vitamin D, less traffic) of more cyclists on the road.

The only effect in reducing the number of accidents that helmet laws make is in reducing the total number of cyclists that are on the roads; the proportion of cyclists in accidents doesn't go down with helmet laws.

Helmets good; helmet laws bad.
Because it allows you to keep your shitty mutable functions...

because the solution to any problem is never to fix the actual problem but to patch around it...
You underestimated the part when he studied philosophy.
A tangent, but why "staffers" and not "staff"?