skysight-inc/HackerNews huggingface dataset:
Given how little of Ruby syntax most people know before they're able to read and understand Ruby, I don't see that as much of a concern. "@" suggests it's probably local of sorts, the number makes it clear it's not an instance variable, and the absence of |somevar| in a chained block will strongly suggest it's an argument, without having to know the precise details.

There are many additions to Ruby I don't care much for, but this is one of the most intuitive I've seen.
Okay. And this interfers with my routines, how?
This reminds me of Goodhart's law: "When a measure becomes a target, it ceases to be a good measure."

Even if betting markets can accurately forecast whether a hypothetical policy would increase welfare, that would last right up until they actually affect policy. After all, there are plenty of people with vested interests in policy and stupid amounts of money to manipulate the market with.

The 2013 paper linked does address the issue:

> What do noise traders have to do with manipulators? Manipulators, who trade hoping to distort prices, are noise traders, since they trade for reasons other than asset value info. Thus adding manipulators to speculative markets doesn’t reduce average price accuracy. This has been verified in theory,[xxxvii] in laboratory experiments,[xxxviii] and in the field.[xxxix]

However, I took a quick look at the "in the field" citations and am not terribly impressed. One of them involved making individual large bets on horse races and seeing how they affected the odds, then canceling them before the race was actually run. The other was an overview that briefly mentions two other studies, broadly similar. None of them seemed like good models of manipulation under futarchy that would be (a) much longer term and (b) much better funded.
Haha, I'd love to see a movie which implements these :)
That you've had a secretary either puts you at an age where you have no idea what the labour market has been like in the last 20 years or at an income level where you have no idea what the majority of tech work has been like in the last 20 years.
This sounds like the oft parroted but rarely fully sourced quote that turns out to be from some 60s IBM journal, with questionable applicability to the modern age.

see eg https://news.ycombinator.com/item?id=15216407
At some point a 13 year old kid in America is going to blame "the Russians" for why he didn't do his chores.

It's amazing how much stuff they get blamed for these days. I mean, what are you actually suggesting? That they've infiltrated Bloomberg? That they're controlling the Saudis?

I'm frankly just tired of all the evidence-free fearmongering about "The Russians", and at this point I just want to say, provide evidence or STFU.
It's a valid example only if you buy into the idea that Google is dangerous.
Dubstep artist Skrillex could protect against mosquito bites
I don't know that this is true.

I meet quite a lot of utopians (which are 1st order thinkers!), who assume the stated goal of a policy will be its effects.

Perhaps this is about knowledge. In domestic situations where you know how to casually infer to more distant effects, 2nd order is easier.

In politics, 2nd order is hard because people know very little and need to know very little (in their daily lives).
Every request is a way for tracking you. We don’t want to be tracked when we open Firefox.
But journalism is not only stating true facts, but choosing a limited set of facts to present.

You can pretty well do fake news by stating a list of true facts (and omitting a few other, fundamental, true facts).

Example:

Published news : person A killed person B by pushing a knife on his stomach, at a time when person B was unarmed.

Non-published statements : just before being killed, person B and a group of three friends armed with knifes attacked person A, which was unarmed at the time, and started cutting him. During the struggle, person A managed to get hold of B's knife and fought back, harming B. The friends of B were scared and ran away. Person A finally survived his injuries, but person B didn't.

I suppose everybody agrees that publishing the first statement alone is a clear example of fake news.
That's not a fair use of word "pay". I get where you are coming from but it's obvious what he means and feels manipulative to use it that way.
I love the content but I also wanted to point out how much I enjoyed your website design. Genuinely confused me for a second!
I agree regarding the visa predicament. Australia, within the last few years, began seriously limiting working migrant visa's (with the abolition and re-classification of the 457 visa). Everyone I know either came over as a student and then on a bridging visa, or are part of an inter-company transfer.

The poster will likely have more success with a inter-company transfer; but its a very long process to then become a "permanent resident." Don't limit yourself to just Sydney, though.
That is not how plane safety is done.
What Your Handwriting Says About You
ORMs like Hibernate / jOOQ work around this by providing a convenient "dot notation" to navigate a foreign key path. This is particularly useful when keys are composite. See for example: https://blog.jooq.org/2018/02/20/type-safe-implicit-join-thr...

Indeed, this should be available in the SQL language as well. I can't think of a performance problem, having implemented this in jOOQ. There's always a very obvious mapping between the notation and inner/left joins, which are reusable for common paths and subpaths.

At least for navigating to-one relationships. To-many relationships raise more questions.

Some RDBMS support a T1 JOIN T2 ON KEY syntax, which is nice as well, but the path notation is much more powerful:

SELECT
c.first_name,
c.last_name
c.address.street,
c.address.zip,
c.address.city
FROM customer c

Instead of

SELECT
c.first_name,
c.last_name
a.street,
a.zip,
a.city
FROM customer c
JOIN address a USING (address_id)
Then why do people still drive (i.e. use cars)?
More important than whether it’s easy or hard, is the fact that it’s unnecessary. GKE is great and you only pay for your compute (as opposed to EKS, which is over $140/mo for the control plane, a move which always struck me as a terrible business decision).

I maintain two prod and two test environments: AWS+kops (since before EKS existed), Alibaba+kubeadm (because China), and two local ones that used to be minikube but are now just kubeadm. I spent a total of about two months getting the knowledge to do that, and these days I spend about 4 hours a week on maintenance. I do minor version upgrades but put off major ones because there’s not much business value and upgrades can break stuff.

It’s my least favorite part of my job. I’d rather be coding or doing architecture, which is what I spend most of my time doing. We’ll be moving the AWS stuff to GKE in a couple months. Still haven’t heard much on the quality of Alibaba’s offering. Their IaaS is solid but some of their other services will sometimes throw errors that return 0 hits on google, no documentation, which scares me.
Yes, there is this common reverse problem:

If we allow X to speak, his ideas will spread and Y will be harmed. So banning X is best.

But why not:

Banning X will cause a back reaction in X supporters and spread X's message leading Y to be harmed.

Or any other of a number of possibilities.

There is a fallacy of "hypothetical higher order danger justifies first order violence (/action)" -- where the higher order thinking is mostly ideological fantasy.
Some of these were lampshaded/lampooned by Austin Powers.
It's powered by MediaWiki. An interesting choice for a blog, though I guess it gives you thinks like content management and update history for free…
Most likely. For example, this:

> passing in a member of a record rather than a pointer to that record... No idea why

...sounds like a difference in how the Windows API was exposed. In Delphi and Free Pascal there are two ways to expose a C function that uses a pointer. This:

void Foo(int* ip);

can be exposed like this:

procedure Foo(ip: PInteger); cdecl;

or like this:

procedure Foo(var ip: Integer); cdecl;

The former allows you to pass any pointer to integer, the latter requires an Integer variable reference (which is implemented by the compiler by passing a pointer to the variable). The difference between the two is that you can pass a Nil (Pascal's NULL) to the first, but the second requires a variable.

Older versions of Borland Pascal and Delphi (not sure about newer Delphi versions) used the second declaration style where it made sense, but Free Pascal uses a more direct translation of the Windows headers, opting for the first declaration style.

My guess is that the compiler used by the original author of UGE used the first style.
Except, of course, they are rarely thrown out :)
No way. I've been known to joke to people around me for a decade that 90% of speech bubbles of cursing comic characters contained valid Perl code. I don't believe someone actually set out to prove it (or something very similar at least). Things like these are why I love HN.
It runs as wwwrun on SUSE based distros.
>Decent mail readers and decent mailing list participants

the first is rare(in that no one bothers using mail readers) and the latter is non existent in the current generation - which you do have to interact with.
FYI... https://pasteboard.co/I8I0p3g.png

(Mobile Safari, iOS 12.1.4)
In my mind, the difference between science and engineering is that science is concerned about what's provably true, whereas engineering (and I include applied math and even medicine here) is about getting to a result.

Therefore, our medicine is not perfectly safe, our cars are not perfectly safe, our building are not perfectly safe, we don't / can't provide 100% health coverage to everyone, and so on... but in aggregate, they make the world a better place, so it's worth it.
Companies will usually not admit any kind of fault because it opens for door for trials and so on. You should not expect a press release like this to fall into self incrimination. Press releases are reviewed by groups of lawyers as well so they will edit the language carefully.
Loved this card, still have it! Need to build an old box to drop it in.
I would be curious what the performance looks like on bigger, more realistic source files. And what happens if you disable any optimizations, will that influence the obj generation? What about link times?

The post made me look into string interning for my compiler. I wasn't convinced that it would be that useful. I thought that most unsuccessful string comparisons are fast anyways, because I store the length for each token. With a hash map, you still have to do one comparison for every lookup, and you also have to compute the hash. But it also greatly increases the odds that it's the right comparison. And once you did the interning, you don't need to look up strings anymore at all.

I (very sloppily) implemented a hash map, and integrated it into the lexer. Despite the poor implementation, and having to build the map in the lexer, it does speed up the check whether an identifier is a keyword, and reduced the parse time to about 70%. I get similar gains for code generation, because it speeds up the symbol lookup, but it's probably going to be less useful here, since I still have terrible O(n) lookup for globals. The absolute gains are still worth it, though.

So yeah. Thanks for encouraging me to look into it!
In terms of residence in the atmosphere methane is reported to have a half-life of about 7 years. Carbon dioxide's is much much longer with estimates from 40 -> N years where N might be in the thousands.
I would argue you're not, because when you buy a book you can choose between hardcopy and kindle - and there's nothing visibly telling you that with one option you get to own the book, with the other you're merely licensing.
> She never wrote anything on AI ethics, so she most definitely was invited for some other, unrelated action of hers.

Yes.

> it‘s also not unrelated, because it speaks to her ability to evaluate facts, and to her soundness of mind.

Well, her record of success also speaks to her ability to evaluate facts and suggests she is doing fine.

Believing something that there is clear evidence against is a very common affliction. As long as someone isn't actively acting on their misconceptions, it doesn't suggest anything.

If you demand that leaders are perfect, you will discover all your leaders are liars.
Crypto Exchange BitBay Updates API with WebSocket Support
Ruby has always been a compromise where purity has almost always been sacrificed over convenience. It's not always obvious, until you start poking around the murkier parts of the Ruby grammar.

Keep in mind Ruby has a ton of Perl/Awk style global-like-but-actually-global variables already, for example (and awk-inspired command line Switches) - it's the bastard child of Perl and Smalltalk.

In this case I think that while it's slightly ufortunate to end up with "@", it will overall be clear - so much Ruby code with chained blocks are just using meaningless names on the basis that "everyone knows" what gets passed to map or collect etc. anyway, and especially in a chain where the same values often gets passed through multiple steps a positional argument will make no difference, as long as people strictly use them with common methods with known parameters.
That's not ironic.
Mprove does it the way the Looker did it before:

CREATE TEMPORARY FUNCTION mprove_array_sum(ar ARRAY<STRING>) AS
((SELECT SUM(CAST(REGEXP_EXTRACT(val, '\\|\\|(\\-?\\d+(?:.\\d+)?)$') AS FLOAT64)) FROM UNNEST(ar) as val));

...

SELECT COALESCE(mprove_array_sum(ARRAY_AGG(DISTINCT CONCAT(CONCAT(CAST(a.id AS STRING), '||'), CAST(a.population AS STRING)))), 0) as a_cohort_size

Recently, Looker began to do it differently, most likely to improve bigquery performance:

COALESCE(ROUND(COALESCE(CAST( ( SUM(DISTINCT (CAST(ROUND(COALESCE(lesson_5_cohorts.population ,0)*(1/1000*1.0), 9) AS NUMERIC) + (cast(cast(concat('0x', substr(to_hex(md5(CAST(lesson_5_cohorts.id AS STRING))), 1, 15)) as int64) as numeric) * 4294967296 + cast(cast(concat('0x', substr(to_hex(md5(CAST(lesson_5_cohorts.id AS STRING))), 16, 8)) as int64) as numeric)) * 0.000000001 )) - SUM(DISTINCT (cast(cast(concat('0x', substr(to_hex(md5(CAST(lesson_5_cohorts.id AS STRING))), 1, 15)) as int64) as numeric) * 4294967296 + cast(cast(concat('0x', substr(to_hex(md5(CAST(lesson_5_cohorts.id AS STRING))), 16, 8)) as int64) as numeric)) * 0.000000001) ) / (1/1000*1.0) AS FLOAT64), 0), 6), 0) AS lesson_5_cohorts_m_sum_distinct
While the 2 servers for StackOverflow is true, if i remember correctly those were two very, very, very beefy machines. Im talking 64 cores and 256GB RAM beefy bare metal, not your average random 4core/4gb VPS.
Facebook London Engineering Fair
To me, it is a perfectly coherent argument that the topic is insignificant to your business, but that the associated politicking at your meeting might be disruptive (particularly if you expect it to be based on inaccurate information).

We don’t know if Amazon is honestly arguing from that position, or being dishonest as you imply.
Software rendering will only be slow until everyone has manycore processors with SIMD. The die area of threadripper isn’t far from a GPU’s die area.
Little feedback : Nice. Please add a vertical splitter in the verify page so that the verification is not constrained to a small margin on the right, which make it not easily readable.

It would also be nice to have some color coding when reading articles, so you can know what's the majority opinion on the validity of the piece.

Hopefully once you have gathered enough data, you can get one of these NLP bots to check the fact in an even more neutral way.
perhaps you are missing the point? It's enough to do business with the Saudis to make you shed a tear when it's lost. Money talks.

And going beyond just money, remember that the Saudis went after one of the richest businessmen in the US (Amazon's Bezos), you can expect they also went after other businessmen and politicians, many of whom are a lot less tech savvy and protected. That's a lot of things potentially held over important people's heads.
It's not disputed that they have a large, well funded state propaganda machine and interfered (through internet propaganda) in the last US elections, the dispute was over whether they directly colluded or just assisted at a distance. The idea that they would push a narrative that get picked up and provide behind the scenes support to geopolitics in their favor isn't some wild hypothesis, it's obviously true whatever your political partisanship. US do the same, obviously.
I think what paddy_m complains about is SQL’s tendency to require copy-paste programming.

For example, a phrase like row-number() over (partition by grp order by id) might return in many, many of your stored procedures, but there’s no way to only write it once in SQL.

The same thing effectively applies to that common table expression. There, you can create a view, and just write

select grp, id from grouped_tests where rn = 1;

, but many SQL query planners won’t optimize queries that well across views, so you end up copy-pasting the CTE, or, worse, not even doing that because you have to write an even uglier query to get decent performance.
An analogy from linear algebra might help with the intuition: a projection is idempotent. Projecting a projection still gives you the same output.
As an aside - pass was made by Jason Donenfeld, the same guy that created Wireguard.
well ofc if you're a strong link in that network it will fade away - it's not a network in that case just a string of people you know. networking also includes introducing people who can help each other and cross pollination so the mesh is strong.
In a country's case "the cancer" always has to be replaced with something. The US definitely has no working recipe for that, as several decades have shown.
I use KeePass too, great little program. It isn't as "mobile" but I don't really see the benefits of online solutions. It certainly isn't added security.

The website from the service in question also suffers from severe JS-errors on their page (FF 66).
It's disingenuously phrased, the potential worst users write their own laws.
Disclaimer: I work for Salesforce, Heroku’s parent company.

Heroku Shield is a service added on top of Heroku Private spaces.

You usually don’t need Shield unless you want to be compliant with things like HIPAA, etc

Which of course could be your case here.
If Obama was still president, he might have had done just that.

Trump is too pettiless for that.
FlixTor
Also very happily self hosting bitwarden.

Bitwarden is using Microsoft technologies. If running a MSSQL server is too much for you, you can use alternative servers which are fully compatible with the official clients:

- https://github.com/dani-garcia/bitwarden_rs
- https://github.com/jcs/rubywarden
If it was insignificant then there would be no fight over it, Amazon would drop it. The fact that Amazon does not drop it, means there is significance.

It's a catch 22
Sen. Elizabeth Warren's Accountable Capitalism Act seems like a great step in the right direction to make this more clear.

https://www.warren.senate.gov/newsroom/press-releases/warren...
Would love to know more.
I recollect the Pure3D being by far the best V1 card. Because of this many gamers patiently waited for the Canopus version of the V2, expecting it to be a similarly significant leap up from the other OEM cards. IIRC it took ages to come out, and was barely different functionally (just smaller and with some kind of LED to indicate it was switched)? And people were pretty annoyed to have waited all that time not joining the V2 party :)
Oh come on you're making a huge strawman.

Personally, I don't see a point in sex/gender-segregated bathroom at all. The only segreggation that makes sense to me is sitting/standing (which mostly conincides with private/non-private).

But if we want sex-segregated bathrooms (and AFAIK many governments force that), then there's little point if people can just randomly change their mind about which category they belong to. What's the point of categories then?
This update will be welcomed. We use alot of CTEs for clarity of coding, building a kind of pipeline (think pipeline operator like in elixir). Sometimes we end up repeating filters just for sake of optimization.
lol. This is not a similar issue at all. This is just corruption at its finest.
> Not trying to be rude here but "the morally right thing...(is to) make a better future for YOU" is really laughable honestly. I am not broadly traveled but this sort of sentiment seems uniquely American.

I think it has something to do with Calvinism and how it basically provides moral coverage for the status-quo: your wealth is a reflection of your morality so that have whatever you have, you deserved it.
1. if you hate your company culture it's not going to get better without effort. either get out or start trying to improve it yourself

2. networking in your company is not possible if you're in a job that is below your capabilities, go out and find your tribe asap.

3. take people out for coffee/food/drinks(depending on your culture)

4. attend every tech event in your area regardless of your interest/skill level. create tech events in your area for your interests
Yeah, i think his Google-fu skills need improvement, in another page he mentions that there weren't any IRC clients in Pascal, but i remember at least a couple of IRC libraries for Delphi (and personally i wrote an IRC component in Delphi - you could drop the component on a form and drag-and-drop your way on a simple IRC client, which i used at the time to make dedicated themed clients for the communities i was into :-P).
As an owner of a lower-end Rigol oscilloscope, this is very interesting to me...
America could initially freeze and then seize most of their assets in the US and even take control of most of them in Saudi Arabia as they did in Iraq. In fact it could probably claim a portion of those assets by accusing Saudis of causing 9/11 and sponsoring terrorism for which there is plenty of justification. It could further accuse them of violating human rights by killing people like Kashoghi. If America decides it no longer wants to support the Saudis, it will take a New York minute to covert them into enemy #1.
> I'm still not clear how office work has improved by me not having a secretary

The problem is the "improvement" is a financial one for the company rather than a workflow improvement at the employee level.
I think the technology is needed because I don’t think we have the capacity as a culture to stop emissions fast enough.

I am concerned that they are so focused on syngas because it just creates a cycle that doesn’t reduce the CO2 we have released..... eventually we will just use a technology like this do pull CO2 out of the environment but there can’t be a financial aspect to it.
Hyper Editor – A back end independent visual composer for web