skysight-inc/HackerNews huggingface dataset:
To me the article is somewhat missing the most interesting point of the whole discussion and that’s the impact that the money is having when it is spend. Let me be a little provocative :)

While a great coffee can be a pleasurable experience that can actually make you more productive and happy in the short-run with possible positive long-term flow-trough effects (e.g., on life satisfaction), there are likely going to be more impactful uses of that money. As the most obvious examples, for instance, saving childrens lifes in Africa [givewell.org], improving the messy factory farming situation [gfi.org], etc. So wouldn’t you have the moral imperative to spend that money in a way that it’s impact is higher or at least comparable than those possible alternatives?

I would argue that in many cases this is actually possible when you are buying a coffee but not regularly, though... then you could likely find more effective alternatives, thus, the habbit would be obviously harder to justify for the vast majority of people.

My major quip with all of this is that our institutions could be designed in a way that would help us to make smart decisions (for us and others) but at the moment it is computationally really expensive to find a good path that balances all interests in way that leads to a great life for all.
>> illegal things in _PG_init()

> just curious, can you point to some of these? i want to do my own extension audits and considering that plv8 does/did a lot of things based on postgres/src/pl/* it would be good to make sure it's not doing any of those as well.

https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit...
Could you elaborate about the 22 parameters? Are you referring to universal constants or fundamental particles?
> For android you need to download pushbullet.

TIL people are still sending SMS from their PC...

I'd say most of us will either use the Signal client or web.whatsapp.com without bothering connecting the actual devices together.
‘My auntie wants me to download an app so she can track my every move’
Cryptography Quotes
The current iteration of the goto traffic manager mod is the presidential edition, https://steamcommunity.com/sharedfiles/filedetails/?id=58342.... It has some features like the dynamic lane selection and an alternative AI model (I think) that help even without manual work. But yes, assigning lanes at intersections, planning the number of lanes accordingly to have onboard lanes and in general avoiding that traffic collides takes some manual work. It can be fun though. I did not notice the performance going down too much.
Do you have a website?
Stonebraker is the Donald Knuth of databases.
>We don't really need another Apple making huge margins on its smartphone business though.

I think I'd argue we need another two or three. Monocultures are almost never a good idea in the long term.
I'm tracking similar things (food, water, medication, spending, location, sleep, steps, heart rate, hygiene, time).

- I track my computer usage with RescueTime and my Chrome history.
- I track my non-cash spending using Mint.
- I track my sleep, steps, and heart rate using a smartband.
- I track my food and cash spending by taking pictures (item and receipt)
- I track my time by completely filling my Google Calendar (rounding to the nearest 15 minutes).
- I track everything else using a timestamped journal app.

How much work does it take you to track all of this? I'm especially interested in how you track nutritional values, as I've tried MyFitnessPal in the past but quickly gave up.

I'm looking for ways to automate/delegate/facilitate my tracking process. I think this is data everyone should know about themselves, but I can't recommend most people to track all of this because it takes too much work.
This is amazing.

I'm literally in the middle of writing a scheduling system for production at work and the nomenclature and descriptions are pointing me at all sorts of interesting stuff I didn't know about in this domain.

There are times when I lament the lack of a hard comp-sci background and this has been one of them, scheduling is hard.
Presenter here. Yes that's pretty much it. There are many more convincing reasons than window functions in the second part which focuses on the execution of a 4GL, not the development with it.

Just to be clear: the talk uses hyperbolic language to make a point being that SQL is perfect for data processing, not for everything
Your analogy with fashion is useful, except it doesn't convey the wanton waste of money and time and brain cells this diversion took us through - we have come out poorer and it seems with significant loss of memory (intellectual and academic memory). Fashion choices are mostly innocuous ... this whole anti-SQL crusade was more akin to measles anti-vaccers who eventually forget the original controversies, somehow survive the ensuing epidemic only to one day stumble upon the very same measles vaccine they were against. They then present it to the infected leper colony as something new!
Yes, but that’s still dependent on a differential velocity model for the origin of redshift. This paper changes that core assumption, meaning the same data can be interpreted to have a radically different meaning.

Afaik, we have no direct observations of galaxies moving away from us - over such enormous distances we have not had enough time since the start of observations to actually see a galaxy recede.
Yeah shareholders are legendary for their principled ethical stances despite the lure of profit.

This post checks out /s
The article is more about the process and not the motivation for this port. What problem with Java/JVM caused the organization to commission this expensive porting exercise? And what are the benefits they have achieved after the port.
Nutrition is probably the most useful metrics, but it's also requires the most work. I'm still trying to figure out a way to simplify it. For now, I just take pictures of my meals (I always eat out).

Tracking your time can also be very useful. Imagine being able to know what you were doing 5 years ago at 2PM, or how much time you spent on Hacker News over the past month.
> But once you do, you find that other subfields of CS are more interesting and useful. And you just get older. :)

It is true that some people, as they get older, claim to find games less interesting. In my opinion, some of them simply jaded a bit, and would be a good thing for them if they tried to find enjoyment again in the small things. I know, because I was there too. It depends a lot on the culture.

There are also others that start claiming games are useless, immature and that the world will end if youngsters keep playing them.

Entertainment has been useful even before civilization existed, and those that enjoy the time to entertain themselves, do; even if it is in the form of working on dream projects. Yes, that is playing too.

As for your other point, there are objectively very few (if any) topics as interesting as games for CS people, given the so many areas of CS (and non-CS) they encompass at the same time. Hardly any other area of work touches so many domains. Only operating systems, browsers and CAD apps (and maybe Emacs ;) are close as vast.
I like this analogy given that the relational model solved all the problems of networked/hierarchical models, which preceded it. Yet, NoSQL aimed to regress towards pre-SQL times
Also, null is not the empty string...
Yes you are talking about rights. You just said said literally, "there's no allowed way [for employees to organize]". This is obviously wrong. So now you're backpedaling and changing your story to it's technically impossible for employees to widely organize. So just to clarify you're now stating both that you were working at Google during the time this event occurred and that there are absolutely no means of internal group communication, such as newsgroups, etc?
> People say you should experience everything when you are young. I would argue that those same people need to keep their mouths shut.

The biggest problem I have with those promulgating experiences with these kinds of "high"/"low" drugs is that nobody can answer: "If it is every bit as awesome as you say it is, how does that improve my life?"

I know more than few people who say: "Yeah, cocaine really is that awesome. I can't even hope to stop myself, so I simply cannot be around it."

For those with a reason (like extreme physical pain), sure. But, to my mind, for normal people, there seems to be no upside to even trying a drug with that mechanism.
Error handling has to be one of the worst things about go. Even though IDEs can highlight where you've forgotten to bind an error returned from a function to a variable they don't prompt you if you then forgot to return that err back up the call stack - it's easy to just log the error and forget to actually return it.

The only way I've found to avoid RSI and make error handling just about tolerable is to use an IDE that supports code autocompletion - e.g. type `err` and hit tab and it should replace it with an `if err != nil {}` block. The other thing is to use pkg/errors[1] and wrap the error so you've actually got a stack trace if you want to log the error further up the call chain.

Error handling is a solved problem - exceptions, or like the article says monads if the language is functional. The fact that Go supports neither out-of-the-box is a frustrating waste of time.

[1] https://github.com/pkg/errors
I don't have an MBA but I imagine it involves hiring a few of the folks who currently regulate your operations while leaning on your political friends to cut regulation funding and spinning up an "independent" company prepared to shoulder the regulatory burden for a fraction of the cost.

https://www.nytimes.com/2019/03/26/us/politics/boeing-faa.ht...
Parent comment is not about answer.
For example, phenomena relating to humans exist in a different realm. For example statements like "Kids like to play games", "The placebo effect works" etc.
Math can be used here for experiment analysis, but not to describe the phenomenon or even define the used terms.
Author states: "I was contracted to port a large Java code base to Go". That makes me think his focus is on earning the money, rather than questioning the motives of his client :)
> ...you just go to sleep and the next morning you wake up in your hotel...

Or you don't because the plane crashed; still better to die in your sleep anyway.

But what happens if there is an emergency in the air that requires you to put on the oxygen mask, climb out to safety, or something like that?
Nuclear waste and plant decmissioning are actually all included in nuclear LCOE. This is quite unique. Nuclear plants all pay into a multi-billion dollar thing called the Nuclear Waste Fund and all have trust funds for decommissioning.

In fact, some have suggested that as decommissioning costs are coming in lower than expected, some utilities are factoring in access to those decom funds in their decisions to close plants early.
RavenDB is a database server, like PostgreSQL or MongoDB.

It requires database drivers (client libraries) for as many languages as possible.

More client libraries, more programmers can use RavenDB, more licenses for RavenDB sold.

They already have C#/Java/Python/Node.js libraries.

I ported Java client library to Go, so that people who program in Go can access RavenDB database.
It’s a client library by the looks. So presumably they have a Go codebase building up and they needed to be able to access RavenDB from there. Caveat, I haven’t finished the article and I’m not familiar with either the RavenDB or Go ecosystems.
To 1, yes, that happens. Makes it impossible to have cities where not every area is connected by roads. It's also why it is so important in this game to not have traffic jams. There is a recent mod for this however: https://steamcommunity.com/sharedfiles/filedetails/?id=16808..., Most Effective Traffic Manager. It changes how the routing works and tries to combat exactly this. Though I could not just add it to my current rather large city, it dies with null pointer exceptions. It might work better now that it got some patches or when starting from scratch.

The "too close is bad" is done by noise pollution. I think hospitals do not emit noise in Skylines, but the cars going to and from do, and other buildings have that built in, especially monuments, malls and metro stations.
Yes, the housing supply in SF and the peninsula is not good. If you want a new build or lots of space, it is not the place to be.
My version of Lawrence of Arabia is 117GB.
US woman, 61, says being surrogate was 'gift' for her son and his husband
This is a very interesting article, thanks for posting it.
Yes, but it wouldn’t be locally measurable, as as the article notes mass is dimensional, meaning from your reference frame you’d notice no change.

As to looking at older galaxies - maybe - but if the relativistic mass of photons is also changing due to the same phenomenon, there would be no difference in observations.
Bonuses questions: do they other libraries stem from the java root client too or did they evolve separately (even out of house)? Why did you choose Java to port from? Are there interesting lessons in the commonality / differences between the language implementations?
Hi Luka,

Your presentation was excellent. I'm not attacking you. I agreed with everything you said (at least the parts that I watched). My _rant_ (or attack), instead is with the _phenomenon_ we were so strongly and needlessly gripped in for two whole decades. A cult phenomenon that had all the hallmarks of religious indoctrination.

You said: "Just to be clear: the talk uses hyperbolic language to make a point being that SQL is perfect for data processing, not for everything"

I agree. SQL isn't useful for all cases. But those cases are few.
C# has become quite a big language although it manages to hide the complexity quite well compared to C++. There is very little in the language that will trip you up, unlike C++.

The only problem I have with it is it is still really Windows only, hopefully that will improve with .Net Core 3.
Yeah, this drives me nuts. As encoding gets more informationally efficient, it becomes more and more vector-like. The resolution of a stream matters much less than the bitrate. And the bitrate of 4k streaming is absolutely pathetic. Get me 1080p Blu-Ray any day.
nREPL Redux
I base my decision on a genre I'm watching.

If it's a comedy, there's not going to be any sort of quiet sounds, so I keep the subs off. If it's an action that usually has gunshots way louder than dialogue, I'm going to adjust the volume to those gunshots and turn the subs on.
The fact that he tried to port a lot of the Java code directly to Go, where Go had no suitable comparable feature. With generics, he mentions there are two different approaches in Go, but then only mention the one he calls the least preferred one, i.e. using interface{}.

But he never talks about motivation of the original code. Like why it was generic in Java. Sometimes generic code in other languages can be ported to Go to two or three functions, because the general use of the generic code wasn't as generic as the designer may have envisioned, or it just became a nail to their hammer.

Like was the inheritance really important, or could it be implemented another way in Go?

But I guess if you're not questioning your client's motives, you may not be fully questioning how something ought to work, and instead just ensure it works as it does right now.

It's possible they just needed a Go-library for their client code, and then the client code can be tweaked later on to be more idiomatic Go.
For which its become pretty much the exclusive way I use reddit now. I can't remember the last time I opened reddit on anything other than my phone.

It's actually clean, and configurable enough that I can set the right information density for myself, and I dont get all the banners and ads bugging you to use reddit's official mobile app. Plus an actually consistent dark theme is a massive bonus.
I would argue it's more dangerous to pretend they are so different. It leads many prescription users to believe what they are taking is a safe and harmless concentration aid, while the media paints meth users as monsters under the spell of a scourge on society. In reality, the drugs are not so different. In a double-blind, placebo-controlled study, regular users showed similar effects and very little preference [0]. Specifically

> methamphetamine and d-amphetamine produced similar effects on the majority of physiological and behavioral measures. Both drugs enhanced ratings of euphoria and mood, increased cardiovascular activity, and improved psychomotor performance. Methamphetamine did, however, engender greater effects on some measures (e.g., heart rate and ratings of ‘high’).

and

> methamphetamine and d-amphetamine (50 mg/70 kg) similarly increased drug self-administration; regardless of amphetamine, participants chose approximately 47–50% drug. This is consistent with results from the preclinical literature indicating that rats and rhesus monkeys self-administer both amphetamines at equivalent rates

Furthermore, your science is not quite correct. Amphetamines are a synthetic derivative of phenylethylamine (found in chocolate, cheese, and wine) that adds a methyl group, which allows it to persist in the bloodstream and therefore cross the blood-brain barrier. Methamphetamine adds another methyl group [1][2], which allows it to survive in the blood longer, cross the BBB more easily, and also makes it significantly more neurotoxic [3] because it even harder for the body to break down. Are there differences? Yes. Are they significant? As someone that has experimented with both substances, I found them far more similar than the media would have you believe.

[0] https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3475187/

[1] https://methoide.fcm.arizona.edu/infocenter/index.cfm?stid=1...

[2] https://www.researchgate.net/publication/229653571_Speed_Ecs...

[3] https://www.quora.com/What-role-does-the-methyl-group-in-met...
He's off by a factor of two (54Mbps vs 100Mbps), but that doesn't invalidate his argument.
> That's good, because in a liberal society people should be allowed to do and be × whatever and whoever they want as long as they aren't impinging on others' right to do the same.

> We are trying to build a liberal society here, right?

That might be what you’re trying to do, but it isn’t what many conservatives are trying to do. Depending on the their type of conservatism, many consider the needs of the family, the community, and the nation to be of more importance that the wishes of the individual.

You appear to be saying conservatives are fine so long as they aren’t actually conservatives and are, in fact, liberals with slight conservative leanings.
> This has been my experience too

This is so common that there is the related "Gell-Mann amnesia effect" about how you still accept articles on topics you don't know anything about https://en.wikipedia.org/wiki/Gell-Mann_amnesia_effect
Every opinion on complex reality makes assumptions that are not 100% certain to be correct. I assume you would have considered SimCity more objective if it didn't give low taxes the effect of increasing economic growth, but a centrist opinion is no more certain to be congruent with the truth than a left-wing or right-wing opinion, and is based on just as much speculation/conjecture as the other two.

I personally see the evidence overwhelmingly support the "right wing" view that low taxes and an absence of restrictions on contract freedom bolster economic growth, and I think that is what most analyses by economists conclude, which is why leftists have had such a problem with the Economics field for such a long time, and why Economics has had held out so long among the social sciences in becoming dominated by those who hold left-wing views (though that's been changing in recent decades).
"Market" solutions can and do lead to race-to-the-bottom, or discriminatory, actions.

Regulations can set a. floor.

No, regulation isn't panacea, but neither are markets.
>there are many existing implementations

Sounds like JavaScript/Node all over again, which shouldn't surprise anybody as many of the prominent Node developers hopped over to Go.
The tyranny of the minumum viable user:

https://old.reddit.com/r/dredmorbius/comments/69wk8y/the_tyr...
You can accomplish the same thing by randomly presenting one item per pageload.
Absolutely I agree that AppleInsider's nonsensical fanboi narrative has no place.

This is all part of business cycle that went a bit berserk in 2016 when Samsung decided to increase their capex significantly to boost their capacity to capture greater marketshare in spite of the obvious resulting glut. Yes, consumers benefitted from plummeting prices, but most DRAM makers had to cut capex and capacity to deal with the DRAM glut and plummeting prices in 2016. The lower capex and capacity likewise eventually led to the price hike of 2017-2018 that we just witnessed. During this rise, the DRAM market participants again started expanding and we are seeing prices falling again. Barring unseen major technical breakthrough or extraordinary market demand (no, I don't mean Apple's market share or profit margin, fanbois), this cycle would continue...
I know you didn't attack me, just wanted to make sure the pendulum won't swing too far to the opposite side :)
"I feel like this is the sweet spot―give me a thin abstraction over SQL and do the gruntwork of converting domain entities to tables and vice-versa, but nothing else, thanks."

Something like iBatis/nBatis? (Haven't used this since 2004)
I've been working with Go full time for 2+ years. After forcing myself to understand its philosophy and idioms, I surprised myself with not missing generics at all.
The language seem to have found a nice spot, hence its success.

Strangely, I feel the day Go has generics is the day its attractiveness will start to fade away.
RavenDB is written in C#. At first, it was Windows only but now is cross-platform database engine (Windows / Linux / Mac OS).

As a result, the original and most featureful client is for C# / .NET.

Java client is a port of C# client, done in house by Hibernating Rhinos (the creators of RavenDB).

As far as I can tell, other clients (Python / Node.js and the Go client that I wrote) were contracted to outside people.

The company suggested starting from Java code base. It makes sense because C# client heavily uses LINQ, which is unique to C# (neither Java nor Go has LINQ-like capabilities).

I didn't dig much into non-Java clients so can't speak much to that.

Overall, I was surprised how similar I was able to make Go code to Java code.

Changing from exceptions to errors was pervasive but a simple, mechanical transformation.

Porting functions using generics was the biggest hurdle.

Porting functions that use overloading was easy but annoying.

That being said, a Java code base that heavily used virtual functions and deep inheritance hierarchy would be more challenging to port to Go. Lucky for me, this code wasn't.
I've learned English the same way. A fair amount of people in my generation learned German the same way. It boiled down to which TV channels you had access to while you were a kid, and the lucky ones learned both.

As an adult, I have way less patience to stare at a screen and try picking up stuff that I don't understand. I've tried finding some Dutch shows with English subtitles, but it was shocking how little content I could find.
Yes that's what this talk is about.

A lot of people recognise apples and oranges for what they are. The talk is meaningless to those people.

A lot of other people don't / can't make the distinction (yet). For those people, the talk is an eye opener.