skysight-inc/HackerNews huggingface dataset:
There are myriad ways for ex-politicians to make money afterwards that are easier than becoming an EU bureaucrat. Tony Blair supposedly makes over a million a year from speaking engagements. Boris Johnson earns £150k p/a (double his MP's salary) by writing a weekly click bait opinion piece article for the Telegraph and he's still an MP. Honestly the idea of the EU influencing politicians by enticing them with high salaries for the few politicians that get the chance to be on the Council of Ministers is ridiculous if you stop to think about it.
I love ImageMagick. We were able to write a script to join thousands of images from command line. The manual GUI way of joining images would have been incredibly slow.
The thing I really love about ngrok, though, is the web dashboard where you can inspect your tunnelled traffic and even replay requests: https://ngrok.com/docs#inspect
Product Hunt 101: How to Launch Your Product from Early Idea to Revenue
here is a nice selection by bryan lunduke:

https://www.networkworld.com/article/3091139/linux/who-needs...

he lists:

email: alpine

webbrowser: w3m

editor: nano

wordprocessing: wordgrinder http://cowlark.com/wordgrinder/index.html

audioplayer: cmus https://en.wikipedia.org/wiki/Cmus

instant messaging: finch and hangups https://developer.pidgin.im/wiki/Using%20Finch https://github.com/tdryer/hangups

twitter: rainbowstream https://github.com/orakaro/rainbowstream

reddit: rtv https://github.com/michael-lazar/rtv

ps: htop

filemanager: midnight commander

terminal manager: tmux

presentations: tpp http://www.ngolde.de/tpp.html

greetings, eMBee.
I don't believe that's true. TUI has more in common with GUI than CLI.
You can jump past declarations if you're exiting the block - it's only a problem if you're jumping past a declaration to a point where the declared object would still be visible. But the goto equivalent of this code does not require that - it would be a jump to a label after the closing brace.
In what sense is this any more clean or structured than a goto? It is literally a goto to an anonymous label, nothing else.
True, in the beginning it's tough because it takes so long until you can actually run small emulated programs and even then there's no real emulated computer yet, just a CPU. What kept me motivated was that I really wanted to play the games I wrote as teenager again and there were only very few existing emulators for this system, and none as easy to get running as just navigating to a webpage. There was also a bit of (unfounded) fear that those games would be lost since my own cassette tapes have rotted (unfounded because other people took care during the 90's to digitize the tapes and put them on the internet).

Once I had the first machine working (which required Z80 CPU, CTC and PIO emulations), it was fairly easy to build emulators for the other East German 8-bitters, and after that for the ZX Spectrum, and with each new machine it becomes easier and the chip emulations become better...

Another factor is that the emulators are only like a fallback project which I return to when I don't feel like doing something else (usually I reserve my Christmas vacation for this), and the emulators are also a nice testbed for my other projects (the sokol cross-platform headers, and generally doing WebAssembly stuff). These are small complete applications, yet built from very little code, so they're quite easy to maintain and experiment with.
yes that would be nice, but then lots of things that do not match reality would be nice.
Dennard Scaling would have been 2x clock-rate from an improved node.

1.25x scaling from an improved node is way, way, way worse than Dennard Scaling of the past.

Intel Pentium III Coppermine (1999) went from 733 MHz on the 180nm node to Pentium III Tualatin (2001) 1400 MHz on the 130nm node. THAT was Dennard scaling.

Today, we "only" get double-digit gains from an improved process node. Dennard Scaling was triple-digit gains. Furthermore, most CPU makers focus on the power-saving aspects (which seem to be scaling somewhat well still).
It does look like there might be some technical detail, but I’m not sure how much there will be:

> The authors engaged in a series of interventions, which include establishing a record label for research purposes, intercepting network traffic with packet sniffers, and web-scraping corporate materials.
Atomicity and visibility are also an issue.
An ICE scooter is usually in the 70-80db range. More lawn mover noisy than a car, and almost embarrassing to ride at night when it's quiet.

I finally tossed my old 50cc scooter just yesterday. Too noisy and while it got about 25km/l it only had a 5l tank which is less range than this electric.
Another awesome list with some command line apps: https://github.com/alebcay/awesome-shell#applications
"dealing with raw bytes" = processing raw binary data (firmware dump, binary network protocols etc), not complete works of Shakespeare translated to 10 languages.

So yes, go ahead with 3 if you are into emoji.
AWS CLI replacement: awless https://github.com/wallix/awless
C is minimal and orthogonal. It doesn't have bounds information because it's not clear how to do that. If you look in other languages, you can find these alternatives:

- OOP with garbage collection: Need to pass around containers and iterators by references. Bad for modularity (the container type is a hell of a lot more of a dependency than a pointer to the element type). And not everybody wants GC to begin with, not in the space where C is an interesting option.

- Passing around slices / fat pointers with size information. Not as bad for modularity, but breaks if the underlying range changes.

- Passing around non-GCed pointers to containers (say std::vector<int>& vec): Again, more dependencies (C++ compilation times...). And it still breaks if the container is itself part of a container that might be moved (say std::vector<std::vector<int>>.

- With Rust there is now a variation which brings more safety to the third option (borrow checker). I don't have experience with it, but as I gather it's not a perfect solution since people are still trying to improve on the scheme (because too many good programs are rejected, in other words maybe it's not yet flexible enough?). So it's still unclear to me if that's a good tradeoff.

None of these options are orthogonal language features, and #2 and #3 easily break, while the first one is often not an option for performance reasons. All are significantly worse where modularity is important (!!!).

I personally prefer to pass size information manually, and a few little macros can make my life easier. It causes almost no problems, and I can develop software so much more easily this way. I have grown used to a particular style where I use lots of global data and make judicious use of void pointers. It's very flexible and modular and I have only few problems with it. YMMV.
You can be sure that Dijkstra understood that control structures are implemented in terms of jumps in the underlying machine language. He probably also assumed the reader would know that.
> Likewise with Java Swing and designers like Netbeans Matisse.

Matisse is the only UI designer that I know that does true drag and drop (letting you position widgets exactly where you want them) while also producing flexible layout. And IIRC they had to write a custom Swing layout manager for that.
tar xf <archive> works with all types of tar compressed files.
Nice! One feature request. In snippets like these: https://snippets.shodan.io/c/BADsCL6DDfi4hSMM - can you add an input to modify the variables and copy the final one? It is umcofortable for me to copy it into the command line, edit the command with my values, and send it. It would be easier to just update DIR in the page and copy the final command. I hope I explained myself!
that action isn't intrinsically anti-science. It depends on the objection that the counterparty has raised - if their objections are legitimate or just based in conspiracy. If the results cannot be defended without resorting to an appeal to authority then that is more anti-science than challenging the work itself.
I feel exactly the same. You need to change the pricing model. It's not just the negative association with hot lines, it's also the pressure to finish the conversation in the shortest amount of time to avoid paying a fortune.
Danske Bank whistleblower says other banks processed suspicious payments
SCM Breeze has aliases like that, plus a bunch of other convenient things like numbered shortcuts for branches and files: https://github.com/scmbreeze/scm_breeze
Thank you bro
I've been digging ncdu recently, which is basically a du replacement: https://dev.yorhel.nl/ncdu
Some great contributions here ... some that are missing (or at least scarce) which deserve more attention:

units - for a broad range of conversions without having to resort to Wolfram Alpha or a search engine

bc -l - the -l option really empowers this awesome little calculator.

mpv - awesome media player - point it at a media URL (it uses youtube-dl in the background, so perfect for viewing or listening with no ads,) but can also play from open directories / SMB shares, online radio, Play a series of images as video, Access any FFmpeg/Libav libavformat protocol or filter (including generating tones and images, and more. And once it's playing, has great interactive keyboard controls for many useful functions.
Did you read Tristram Shandy to the end? I read the first 400 pages and then I gave up. And up till this moment, I'm the only person I knew who got that far.
No, there's a huge difference between 1st world nations and up-coming Asian nations. Cost of any given consumer item is vastly different, salaries vastly different, and in automotive industries, a HUGE difference in safety and design.
> But that's not gonna happen. They will most likely not get the same paycheck as their colleagues on the coasts. Mostly because the cost of living is much lower.

See, there's no logic to it once you unpack it. If the company is willing to pay $X for a given person in one location, they can obviously afford to pay $X to them in another location - they're not any worse for that, since they get the same productivity in return (quite possibly more, because less commute time == happier employees).

But yes, in practice, they will lower the pay - and then complain that they can't hire anyone in those locations...
> It takes more than one clock cycle to determine the next task that we're going to resume execution for and then actually resume it.

Not really, if you just implement a round-robin scheduler and if none of the fibres are actually blocked (i.e. if they just yield).

Artificial benchmark? Sure. But there's no way you could ever approximate this with OS threads, even if the user-space code/threads themselves do no useful work.
Ah, I had zoomed in to see the code and completely disregarded the comments; in hindsight, I see that was a mistake. Although, I guess I should have guessed that cx could contain 0 in it.
> cis-gendered

Not to take anything away from your point, but if you mean white males, then why not say so? And what do I (a white male) have to do with any of this? Should I feel guilty now?
I wish that rather than being shown alphabetically, the image would show a funnel plot (https://en.wikipedia.org/wiki/Funnel_plot)
I don't really like this. When I am cooking, I am not watching my calorie intake and sodium/cholesterol levels. I want to enjoy cooking with fresh, local, seasonal ingredients. No choice anywhere in the options to choose the region, the season, or base ingredients. This is just encouraging a supermarket-shopper lifestyle that needs to disappear ASAP (imported agriculture/greenhouse produce growing is amongst the worst climate offenders).
Not long ago I had to write some JS (had to, not wanted to) to do something on a site, and got something working based on what I knew, only to be derided by a "real JS developer" that my code was "deprecated", "not following best practices", "not modern", etc.

He gave me his version which was around 10x more code and only worked in a subset of the latest browsers, while mine not only did but would probably work in everything since maybe IE5 or so...

Maybe that's considered a bug, but I don't want any of this trend-chasing. I write code to get things done. My users don't care, and they want to get things done too.
Very welcome! Hope it's going to make a difference when launching next
Delegates should be nil, so it totally makes sense to keep them as an optional. I don’t see this conflicting with the parent’s set of “rules”.
Doesn't that then imply that you don't know assembly?
up - https://github.com/akavel/up

Ultimate Plumber is a tool for writing Linux pipes with instant live preview

It's a new CLI tool I've recently written, and it reached a Top 1 position on HN just after the public release.
It works with other classic CLI tools by boosting the speed with which they can be composed together. It's especially useful for quick exploration of logs, CSV files, and other text files or pipelines.
(shameless plug) git number: https://github.com/holygeek/git-number

Use numbers for dealing with files in git.
If you’re in a hospital, a doctor has privileges there, but is often not an employee.

You also have the scenario of unaffiliated doctors... your GP doesn’t work with your urologist, and they do not have a secure way to communicate.

It is possible to use things like Zix or other “secure” email solutions, but all are painful and all will vary from organization to organization.
Encryption keys and usability in Vivaldi and other browsers
[Stream Processing]: An Introduction to Event Time in Apache Flink
Big difference between:

"being able to listen to everything you've ever said—ever"

and

"fragments of recordings can be inadvertently picked up, which could help piece together events from a crime scene."
"These claims were repudiated the following month, in an independent analysis". It was anti-science populism (and it was actually worse than this retelling makes it look).
Thank you, will discuss your feedback with the team.
Fortunately there is a direct link to the image there. http://i64.tinypic.com/2v31s94.jpg
Do all the "cooking bibles" assume a specific cuisine?
Well not wanting to use /any/ insecticidal measures I think qualifies. One can rightfully argue about the specific chemicals while agreeing using something to contain outbreaks is needed.
I can speculate here a little bit. Majority of survey users has less than 10 years of experience. That makes them susceptible of being Visual Studio Code users. VSC - Microsoft product. Typescript is Microsoft product as well.
It's just an hypothesis, but I think saying CF when you actually have an atypical form of it is a bit dishonest. I have no doubt that diet and lifestyle do wonders for many conditions including yours, but the CF everyone thinks about is the one discovered in infancy and the full set of symptoms, not the one with late onset (at an age which many CF patients do not even reach) and milder symptoms.

If you were willing to lift up that imprecision, I bet you wouldn't have such a hard welcome.
Show HN: Routine, a book about daily life
Yes, I do, and I mention this in another comment here.

If you take a look at /r/ChronicPain/, you'll find lots of people who have been unfairly affected in exactly this way, some even becoming suicidal because of it.
Exactly. Every language has its impressive one-liners and terse programs thanks to the underlying layers of abstraction, even asm.
The Future of NASA [video]
This is one of several reasons about 1998 would have been the right time to popularize it, not 2018.
"cis-gendered" just means "same gender identity as birth" - https://en.wikipedia.org/wiki/Cisgender

Nothing to do with white or male.
Two different answers here. If I am looking to buy something that I have already researched elsewhere, I would look at the reviews, but wont lay much weight to it. I have an idea of what the product is and what it is supposed to do before buying. Plus there is trust in Amazon that if the product is faulty, I can get a replacement or refund.

If I am looking to buy something in general(may or may not be from Amazon), and looking for review, I will research on my own, but not look at Amazon for even referencing. It is in their interest to only show good or mildly bad reviews for the product. Especially the ones visible right on top or first scroll.
I remember being so excited for opa. I wish it had more traction.
And #2 in most wanted, right after Python.
You still need synchronization instructions, but you can handle them through library function calls (i.e., you don't need to change the language specification for them).
I believe the survey uses ES6 (which officially is named ES2015) to refer to the "current version" of ECMAScript (which I suppose is ES2017).

I don't know if the solution is to include each yearly release of ECMAScript since ES6, or to simply add an "ES.Current" option, which would just be the latest proper release.
I would say that the problem with E4X was not just that "XML sucks", but that E4X was attempting to solve two related but orthogonal problems and the tradeoff of attempting to do both caused some serious ergonomic warts. Namely, blending "XML as a primitive" while also inventing a new query language for XML. I would also say that XHP was a more likely intermediate step between React/JSX and E4X, given that Facebook invented/popularized both.
Choosing a Tutor Chemistry Cost and Capability
Encryption is easy. Key management is not. PGP is a lousy solution. Too difficult to use and sacrifices too much functionality.

The world needs something like iMessage but more open.
Ncdu is really useful for identifying space hogs.
Fort George as well:

https://en.wikipedia.org/wiki/Fort_George,_Highland
I'd say that nicely sums up the "State of JavaScript in 2018": you'll need it even to view a non-app information-oriented page. :-(
> It’s always struck me as odd that scooters, with their pragmatic step-through design and fogeyish upright seating position, so easily outscore motorbikes when it comes to pure panache. They pack more sass and sex appeal into their dinky two-wheel frames than almost any other vehicle

That's a very bold statement.
The funny thing is, we've just been finding more and more complicated ways to make table-based layouts ever since, but they're better because they are CSS based? I dunno, I don't have to squint hard at CSS-Grid to see old table layouts peeking back at me.
Am I missing something. Or did the definition change when Sessions appointed Uttam Dhillon? Why are we not surprised and why is this even open for debate?
Photopea: advanced image editor
Either that or performance reviews have similar problems. 5-7 interviews seems insane to me. Is competition that high to justify that number?

As a candidate I would give you 3 at most. But that would require me to be in the near vicinity.

5-7 interviews? That is more than many people need to form a marriage...
Show HN: Votable Ads–Showcasing startup explainer/promo videos, ranked by users
Nissan plans to fire Carlos Ghosn over 'misconduct'
Not really sure what you mean with "that don't translate". Is it ANY other language? Because then the Norwegian "Avspasere" has a Danish translation "Afspadsere" as seen in The Danish Dictionary: https://ordnet.dk/ddo/ordbog?query=afspadsere
2018 state of Haskell survey results
is it revenue or profit ?
Trump Sandwich
> If found guilty, Italy could, for example, lose access to important agricultural subsidies.

That will help ...
I suggest also

"What Can Be Computed? A Practical Guide to the Theory of Computation" by John MacCormick

here's my review

https://www.linkedin.com/pulse/book-review-piero-giacomelli/
Sharemind MPC protocol toolchain
Said laws are likely made to be enforced selectively when a distraction is needed or a pretext. One naughty book in a library and you have something to vilify that troublesome bookseller over.
the claims being repudiated doesn't make it anti-science either. However, I'm not denying that it could be anti-science, and it sounds like you know more about this than is written in TFA.
ripgrep
like grep but faster
https://github.com/BurntSushi/ripgrep
Usually the Ordnungsamt people don't ignore anything that can translated into fines.
Italy has a messy history listening to and even jailing its scientists, as they go about the normal process of empiricism.
https://www.nature.com/news/italian-seismologists-cleared-of...
China is the world’s second largest economy. The decision to develop polluting industries and manufacture low cost goods was China’s to make. The subsequent (and likely ongoing) exploitation of Chinese labor was done by China’s system of government and capital. The same system has raised astounding Chinese numbers of people out of poverty and created enormous wealth for Chinese capital. Now that China is moving beyond the “emerging market” stage, it is entering the realm of great power conflicts. What we know is that most past great power conflicts have been terribly violent (Cold War, WW2/WW1, Napoleanic wars, etc). What we see so far is China waging a low intensity war in the Cyber warfare realm. This has the added bonus of paying for itself many times over, e.g. stealing billions of dollars worth intellectual property, eg semiconductor manufacturing trade secrets. The US has started responding with a trade war. I guess the next logical step in this escalation would be for China to become involved in violent proxy war (eg another Vietnam War or Korean War). Full scale warfare (ie nuclear war) is of course the worst-case scenario, which is always one button away from occurring.
As as person of average linux savviness, I applaude Elementary OS ambition and really wanted to like it, but the UX is really weird to me. It's really not file-centered (no file on the desktop IIRC, weird file selection in the explorer...) and there are oddities like maximise and close buttons being at opposite sides in a windows.

Disclaimer: I only used it for a few hours.
> I really wish other languages communities do a similar survey, Python, PHP, Ruby, Java, Rust etc... It will be interesting to see the trend and big picture.

2018 state of Haskell survey results:

https://taylor.fausak.me/2018/11/18/2018-state-of-haskell-su...
Why remove the paint? Wouldn’t it be cheaper to replace the Sheetrock/plaster?
I would guess user behaviour discovered through AB testing. Not showing the total price probably leads to a higher conversion rate. It's irritating when usability is less important than money
Welcome to all journalism.
The bigger problem is that neither Apple nor Google have implemented device-local PGP encryption in their default email clients. Apple is one-step ahead and actually has had s/mime support for a while, but it really needs wide support on Android phones as well to become ubiquitous. It would set an implied standard for all other email apps on iOS and Android.
I use vim exclusively, and use a terminal for most things.

FZF - fuzzy file finding lightning quick, I use this as a ctrl+p replacement in vim too.
Kubectx - Supported by FZF. Quickly change k8s context and define namespaces easily too (Kubens)
a very useful set of utilities, that i only recently discovered here on hackernews are imv and qmv from http://www.nongnu.org/renameutils/

it makes renaming of long filenames much easier. especially if there are many files with similar names.

greetings, eMBee.
Early exposure does indeed reduce risk. If your kid already has a severe allergy when they are exposed, obviously it won’t help. Otherwise, it can reduce the likelihood of developing the allergy.
https://outline.com/aMXA6s
Planning the Perfect Home Office
Show HN: Funky – Easier, flexible, and more interactive shell functions
Just about every Rust cli app written by sharkdp:

https://github.com/sharkdp/fd
https://github.com/sharkdp/bat
https://github.com/sharkdp/diskus
https://github.com/sharkdp/hyperfine

For viewing csv's as tabular, paged data from the terminal, check out VisiData (python) https://github.com/saulpw/visidata
Airports have been hit by the rise of Uber and Lyft
Hugo static website generator - https://gohugo.io/