skysight-inc/HackerNews huggingface dataset:
This is an improvement to standard MRI Ruby, also called CRuby. This is an experimental JIT compiler which probably won't get adopted into mainline Ruby, but will definitely cross-pollinate with it. A JIT compiler has been a goal in MRI development for a long time. Nobody is likely to adopt this for anything, it would take more work to get this working with the current installed base of Ruby code than it would be to just rip ideas from it and put them into Ruby 3. It's just cool as a proof of concept.

Other Ruby implementations suffer from not being compatible with the MRI ecosystem, you have to port them over. In theory because they're the same language, gems would be easily portable, but the sheer amount of combinatorial work involved means they slowly accrete into separate ecosystems. It's relatively easy to port a gem over and maintain it, but if you don't keep doing it, they'll become incompatible.

MRI has the largest install base, and the biggest gem library, and the largest number of eyes on it. Sure, JRuby and Rubinius are faster, but Ruby was never a language chosen for speed, so most devs reach for MRI first and then only branch out when requirements force them out.

For me, the differences between MRI and other implementations effectively make them different languages, I'd jump to Elixir before giving JRuby a shot. I have a sense that other Rubies, except maybe Opal, will always be niche.
When you team Grafana up with a general purpose database like Crate.io
some pretty amazing things can happen. Not only can crate just "roll
with the punches" of auto-sharding whilst dynamically scaling
performance over N number of database nodes, it also possesses
powerful aggregation capabilities. If that weren't enough, crate also
dynamically gzips data by default which is impressive given its zippy
performance.

You get all of this for free with Crate.io without giving up the
flexibility of a general purpose SQL database...

Wanna start storing log data in crate as well? No problem! Just design
your table schema, and API ingest layer (My favorite is NodeJS) but
you can use any language you like.

Or if security (facing the public) isn't an issue (if you're on a
subnet safe from the public internet) then you can certainly just use
the built-in REST API which crate exposes.

With Crate, I've been able to store hundreds of GB of systems log data
without worrying about silly things like table-bloat (the autosharding
of partitioned tables handles the spectre of bloated table shards for
me for free).

Thanks to the amazing developers over at Crate.io for taking the best
of Elasticsearch and making it sane, fast, and chock-ful of SQL
goodness!

Also a big thank you to the Grafana team for recognizing the potential
synergies that Crate.io & Grafana could catalyse for unifying time-series & log data streams.
I really thought that Go would be the next language to be supported.
I think it's a reasonable assumption. The people who can speak English, whether as a first, second or foreign language, is about 1.5 billion.[1] Comparable to Mandarin speakers.[2] So, about 20% of all humans.

What proportion of developers can write C at an analogous level to first, second or foreign language? 20% seems like quite a good ball park estimate, from my (anecdotal) experience.

[1] https://en.wikipedia.org/wiki/English_language

[2] https://en.wikipedia.org/wiki/Mandarin_Chinese
Interesting list of things to bash C and Algol-derived languages on. I really like Eevee's original approach of doing a comparative survey rather than talking about things in isolation. ( https://eev.ee/blog/2016/12/01/lets-stop-copying-c/ )

Point by point:

- textual inclusion and macros: yeah, this technology was obviously chosen for ease of implementation on small systems and makes little sense. Now obsolete and a handicap. Especially in C++.

- optional block delimiters: responsible for gotofail and similar errors.

- modulo: symptom of C not having standardised maths semantics. Standardise your semantics, language designers! Don't just say "whatever the CPU gives us, I'm sure it'll be fine".

- octal: Nobody uses goddam octal and it's a trap for people used to leading zeroes in decimal.

If we're changing this then I'd like to appeal for some features from Verilog e.g. 8'b1101_1101 : leading width specifier, and the internal underscore which is ignored but provides visual clarity.

- power operator: meh.

- switch: actual operation is kind of bananas, see Duff's device. Should be block-based.

- integer division: Careful. Huge argument here about maths.

(tbc)
Not really, many countries have a early release after 1/4-1/2 of the time have been served depending on the severity of the crime.

You also get vacation days from prison, free education and many other "benefits", including being able to own small appliances (TV, radio, microwave.. no not kidding) even in high security prisons.

You don't have to go as far as Norway to find prisons which are not like US ones.
Peter Thiel and Gindarism: the scapegoating machine
Perhaps C's biggest mistake (at least in terms of syntax) is allowing fewer braces than it could have. Specifically the fact that statements like if and for which allow blocks, they aren't required, so you can end up with code like this:

if(foo)
bar; baz;

Which, when you throw in a preprocessor has probably caused more bugs than anything other than out-of-bounds pointer errors.

Of course the fact that everything, including a block, is a single statement is C is one of the things that gave me my first big "whoa" moment when learning to program, and makes me glad that C was the first "real" language I learned (after Basic). K&R C is far more elegant than people give it credit for, probably because modern, real-world C is full of all sorts of weird stuff (and often egregious preprocessor abuse - yes, I'm looking at you PHP), or people learn C++ first and assume it's all the same.
I also liked the article, it just reminds me why I need to change my job..
Interesting.

I don't think I ever had a bug due to wrong indentation. I admit that I seldom copy-and-paste code from web pages, but even then I don't remember ever having troubles with it. By no means do I intend to invalidate your experience, just saying that I/some/a lot of people have no problems with this. When discussing Python there are some issues that regularly come up (package boilerplate, complex data model, asyncio), but the indentation isn't mentioned in my experience. I'm doing Python for 4+ years and mostly used (and still do use) C and C++ before that, and some Basics and php before that.

What I feel is very important when editing source (not just Python, any source) is to have an editor that isn't entirely bad about handling indentation. Very simple editors just delete/replace a selection when hitting tab. Slightly smarter editors prepend a tab to each line, or indent one level. Emacs knows enough about indenting things that it cycles between possible indentation levels. An editor supporting shift-tab (reverse indenting) is rather helpful.

Personally I find it easier to restructure Python code than eg. C code, because I don't have to adjust braces manually. In Python I can just move a block around and, if necessary, move it horizontally to the correct level, whereas in bracelang I often have to adjust braces as well, which are outside the moved section and need extra cursor navigation.

Pycharm, by way of it's IntelliJ heritage is pretty good here; when moving code it automatically adjusts the indentation if it is distinct (eg. move a few statements from an `if` to a upper level and it adjusts the indentation automatically to match the surrounding block, since the statements can't possibly be indented due to the lack of a if/for/while/def). CLion can do similar things. The IntelliJ IDEs do these things for any supported language, sometimes across languages (paste some Java code into a Kotlin file - IntelliJ will automatically translate it into Kotlin, adjust the code style and sometimes even rename variables by type to match).
> Not everyone wants perfection.

Really, diamond is one of those stones where it is the less true. Partially because of brilliant marketing, partially because in such a tiny clear stone the effect is mostly to dull it (speaking of it physical characteristics, not the emotional response).

That is not the case in Rubies or Sapphires. Emerald is meant to have imperfection.
It was a movie reference though.
Um, yes? It may not happen to the extent it happens in China, though, but I'm certain they do it, too. After all the NSA is run by the same type of corrupt elite as the rest of the government is.

http://www.nytimes.com/2013/12/21/world/nsa-dragnet-included...

https://www.theguardian.com/world/2013/sep/09/nsa-spying-bra...

https://www.techdirt.com/articles/20131112/08223925211/if-ns...
The crucial missing word is "some". "Some HN users thought lalala." It dilutes the sentence appropriately and shows how meaningless it truly is.

Some HN users think chemtrails are real. I saw one of those comments. So what?
High quality VR is simply too expensive right now for anyone but the most hardcore PC gamers due to the requirement for a high end gaming rig in addition to the headset. Facebook and Valve will have to continue subsidizing VR content and developers until they can change this.
Sure, but my point on the other hand was that also in Scandinavia, the responsibility of submitting a correct report still ultimately lies with the taxpayer.
Catawiki | Software Developer | Amsterdam | Full-time | Onsite | Visa

www.catawiki.com is an Online Auction Website and Mobile App for special items with 12 million monthly users. We are the fastest growing tech company in the world according to the Deloitte fast 500 award and some of the items we have auctioned include Michael Jacksons sofa, the skeleton of a T-Rex and the hat from the pope!

We're looking for experienced software developers to help us make Catawiki even better. We have openings for:

* Back-End Engineers (Ruby)
* iOS Engineers (Objective-C/Swift)
* Frontend Engineers (Javascript/React)
* MySQL Database Engineer

You can check out all jobs on: www.catawiki.com/jobs

Or chat to me (James Lesner) directly on j.lesner@catawiki.nl
GetButik | Backend (Team lead) Engineer: Php + Java | Zurich | EU passport only

This might be a well-paid opportunity as we look for someone who can take over most of our CTO's responsibilities. Read more about the life quality in Zurich here:

https://medium.com/@iwaninzurich/eight-reasons-why-i-moved-t...

We revolutionize point of sales for small and medium size business and we run a SaaS app that connects our iPad POS system with webhops.

Hiring process:

- Resume / code-check

- Phone call (getting to know each other)

- Onsite day (half a day)

Send a mail to:

hiring@getbutik.tech
What Happens if you plug a USBKill in a gaming console or a car?
Show HN: Lesen.io a multi source tech reader for Hacker News, Reddit and Slashdot
5 apps challenging the social networking paradigm… and what they can teach you
Guess that depends on whether you take the client's word at face value. If they've done the necessary profiling and analysis, sure - but if not it's also possible they're performance constrained by their DB layer or some badly structured code. No way for me to know though, of course :)
When they say records are not able to be accessed without a warrant, do they mean that or do they mean it's illegal to access the records without a warrant?
I’ve been working on this app for reading Tech news from multiple sources in one place and having easy access to the comments of each one, its something I really wanted for me and didn’t find an app that would do it right.

I’d like to get some feedback before going much further on development, this is the very minimal version of what I want it to be.

Stuff that I plan to add:

- More sources (what other sources you know that would make sense to include?)
- Save for later (even though I can already save to pocket from the app, this would be nice to have)
- Configurable sources
- Allow hiding stories
- Detection and hiding of duplicates
- User accounts: allow to sync read, hidden and saved articles across platforms

What else would you like seeing in this app? :)
Sides of the tube being slippery would just cause a blob of ketchup to come out; worse case, if it was a hard cylinder with no inward facing lip and a release in the for the vacuum created by the ketchup in the tube, all of the ketchup would just fall out in the space of the cylinder.

Key to getting ketchup out is knowing it is a non-newtonian fluid:

https://en.m.wikipedia.org/wiki/Non-Newtonian_fluid

Specifically, it's shearing thinning:
https://en.wikipedia.org/wiki/Shear_thinning

Few options are:

(1) Shake it a lot first, then pour;

(2) Jolt the bottle with a hard bump, then pour;

(3) Give it a little time in a single direction to get moving with the pouring end open and downward facing.
And risk being out of reach for everyone else too for that duration? And what if the person forgets to take it out of the case after the five or so minutes? I believe this will cause a lot of panic among people who're trying to reach the Uber rider, especially if the rider is a woman. There have been instances of assault and worse by drivers in some places.
Do the lab grown diamonds come out of the process as the cubish shape as rough diamonds? Do you still send them off to be cut/polished by 3rd parties? How do you sell them?
Does this have any chance of being included in the next Debian release? (Stretch) It is starting to prepare for freeze, dunno if there is still time
It should be considered racist in the context of the post. Why bring it up at all? He is explaining the reason that he stopped going, and bringing race into the mix. That is racism.

As he himself stated, the real problem is the circlejerking nature of the community, and that would be the same were it a homogeneous group of white, black, green people or even a heterogeneous one.

Sorry for the rant, especially since
telemele explained this better than me, but it seriously irked me.
In my experience, this only happens to me is it is more than 2 beers, later than 10pm in the evening :)
Trapped by an amend, saved by a reflog
The connection between reality and quantum mechanics, however, is subject to unknown unknowns. That connection may not be stable, or might even not exist in the first place, and rather be the effect of something else.

Without that connection, quantum mechanics may still exist and say the same, but no one will care anymore.
Rolling out an IPv4 only stack right now is debt. IPv6 has finally hit the point where there's no longer an if portion to the question, but rather a when. Every server rolled out in an IPv4 only setup, every service built, etc, is one more potentially service-interrupting area that will have to be changed when port your stack to IPv6. If you're young and small, starting as IPv6 native means that the next few years you'll have an advantage over your competitors because they'll be thinking migrations while you're thinking about growing your business.
Yeah, but to really appreciate it I think one needs to have programmed in assembly. Unlike the author of the original article, of course.

C is going to look horrible if you've only ever used python. That's because you don't understand at all about real computers and how to program them.
Thanks for providing your perspective. Did anyone question the decision to remove the option of only allowing Uber to use location while using the app? That would have been a reasonable way to gather data but allow people uncomfortable with background tracking to opt-out.
Looks like there are only US based startupts. At least 39 % of the start ups were located in the Bay area, so that must distort the figure quite a bit I guess.
AXA Investment Managers Chorus | Software Engineer, Data Engineer, Site Reliability Engineer | Hong Kong, Paris | VISA, https://www.axa-im.com/en/

AXA IM Chorus is an affiliate company of AXA Investment Managers.
We are building a new quantitative, systematic investment fund.

We are a small development team and we are looking for passionate and talented people to join us:

* Data Engineer: ensure data quality and maintain the referential, help quants; experience with financial data is mandatory

* Software Engineer: write all the software stack, from simulation to trading; previous experience in finance is strongly appreciated but not mandatory

* Site Reliability Engineer: grow our infrastructure in the cloud, ensure it always work and fits both developers and quants needs

* Support Engineer: help us manage incidents both technical and business related

Current technical stack:

* Python 3, Pandas & Django

* PostgreSQL

* Linux, Puppet, Terraform & AWS

* Git

Locations:

* Hong Kong: All positions are open, VISA is sponsored

* Paris: Only the Data Engineer position is currently open, no VISA sponsorship

If you are interested or have any question, feel free to contact us on chorus _dot_ it _dot_ jobs _at_ axa-im _dot_ com.
Hey, who cares about ethics when there's billions of dollars on the table /s
They probably don't have much choice for where they did it. The animals likely couldn't see it, and the stress levels were probably minimal. It's not likely to be enough to harm the experiment.

While, yes, everything can be a variable, the effect wouldn't be big. I imagine the person running the lab had done this before and has gotten good results: rats are expensive and a hassle to keep. If his experiments had been 'screwed over' because of practices like that, his PI probably wouldn't be able to gather enough useful data to afford funding for animal use.
Note that the numbers for English are from 2006, the numbers for Mandarin (960 Million) are from 2010 and they lump together all the different (not mutually intelligible) dialects of Mandarin.
I do wonder whether this might have missed the point.

"Let's Stop Copying C" isn't a criticism of C, so much as a criticism of other languages that have applied a kind of conceptual copy-paste of C-like characteristics.

Demonstrating that there are good reasons for those characteristics to exist in C talks entirely past the question of whether the sharp edges of some of those characteristics are still warranted in other languages with other design goals.
Dementia is common as the disease progresses. Dementia is horrible.
Introducing the Associate Android Developer Fast Track by Google
Read https://www.ubuntu.com/legal/terms-and-policies/intellectual... before believing that alarmist stance:

Any redistribution of modified versions of Ubuntu must be approved, certified or provided by Canonical if you are going to associate it with the Trademarks. Otherwise you must remove and replace the Trademarks and will need to recompile the source code to create your own binaries. This does not affect your rights under any open source licence applicable to any of the components of Ubuntu. If you need us to approve, certify or provide modified versions for redistribution you will require a licence agreement from Canonical, for which you may be required to pay. For further information, please contact us (as set out below).
Letter to My Younger Self by David Robinson
..But turn around and you can see another CEO right over there.
I think the parent's point is that there's nothing hidden going on in addition to the known business model and standard company practices. You obviously disagree with that business model, and that's fine. For the millions of people who don't disagree with it, parent says: "we are not cheating or abusing you behind your back".

Those links are also pretty weak: all speculation or opinion pieces about things that are out in the open:

1) this is not even close to money laundering?
1) this is just a list of companies with "uber" in their name? besides, it's very common for companies to structure and re-structure themselves without anything unethical going on. it's also common to do it for tax purposes, see below.
2) quite a bold opinion piece about the driver situation. clearly, with so many drivers and customers taking part, it's a matter of opinion. it's reasonable to call it unethical if that's your view but it's not really what the parent meant.
3) pure media hysteria. good to see The Sun as a source on HN.
4) the tax thing again. as it stands, everyone wants to lower their taxes and almost all large companies do this a lot and do it legally. if your view is that they should just volunteer as much tax as possible, you're welcome to that view - there are signs that the law will start to change to be less forgiving of this. however, the specific case in the article is probably the worst example you could pick: the ability to offset losses from previous years isn't even close to being a grey area.

Do cab drivers come in for the same criticism? I've been scammed and lied to so many times by (official) cab drivers and they are absolute sharks for exploiting desperation and ignorance. There are investigative stories linking taxi cab rings with genuine organised crime. I guess they must do perfect tax returns?
Canonical should be cautious about this kind of actions. They should learn the lessons from CentOS and how it impacts RedHat revenue.

RedHat has a clear and defined business model (I don't like it, but it's well defined). Nobody knows the business model of Canonical, so an Ubuntu fork/clone could kill them.
In the command line interpreter you should use %paste, which will paste with the corrected indentations.

I'm seriously baffled by people complaining about indentation errors. The indentation is so tightly tied to the meaning of the code, isn't it almost always obvious?

Do you use an editor where you have to indent each line individually rather than moving all selected lines with tab/shift-tab?
The Game Awards 2016 World Premieres with ‘DOOM’ Soundtrack
Native templating isn't easy/safe. Every time you want to embed a dynamic string, you'd better remember to escape it in the correct way for the context (attribute value, text, JSON), or you're vulnerable to HTML injection, or at least mangled output that doesn't render the way it should have.

If they built syntax-aware templating in, that might be interesting, but AFAIK, for now you have to use a third-party template implementation to get something semi-enjoyable to use safely. It would be better to just throw out the "template" features because they encourage messy, unsafe code.
I don't know, the concept has been around for a long time in Angular 1 under a different name (filters) and it's pretty handy.
Yes, I think much of HN culture is way better than on the rest of the Internet.

But the HN community still struggles to admit their own short commings.

I once started a rather big flame-war here just by telling my opinion about religion and if you say something about how most people here are rich (globally seen) white males and the community opinion reflects that, people go crazy too.
Hold the bottle upside down with the lid open facing the plate/sandwich, hit the bottle against the palm of your other hand https://www.youtube.com/watch?v=h4uqcC6rz2Q
Salaries for Montreal office seem quite low (70-80K). No chance for 6-figures in Canada?
Which pretty much reads like the "alarmist stance" could be right. "associate it with the Trademarks" seems pretty open to interpretation without a clear statement from Canonical. If it were so clear-cut they would have no reason not to provide such a statement.
If you have any questions about the roles or need advise on the best role for you, please feel free to shoot me an email at siddharthsarda01 at gmail.com