skysight-inc/HackerNews huggingface dataset:
> If there are no implicit conversions, users complain about having to write "1.0" instead of "1", or worse, having to write "1.0L". If there are too many implicit conversions, you get unexpected semantics. Basically, conversions are there for numbers. Then somebody decides to generalize them. That sometimes ends badly.

In Go, there are special types for integer and float literals. Literals can be implicitly casted into any numeric type large enough to store them, but casts from numeric types into other numeric types must be explicit. So for example:

funcThatTakesInt32(1) // works
funcThatTakesUint64(1) // works too

var x int32 = 1
funcThatTakesUint64(x) // error: type mismatch
funcThatTakesUint64(uint64(x)) // works: explicit cast

The only thing I'm not sure about is which numeric type gets chosen when a literal is stored in a fresh variable without declaring its type, i.e.

x := 42
y := 23.0

I think `x` would be `int` since the following works:

for x := 0; x < 10; x++ {
fmt.Println(someArray[x]) //subscript requires `int` index
}

But then what happens when the literal in `x := <literal>` is too large to fit in `int`? And since the size of `int` (AFAIK) is machine-dependent, does that mean that some programs will compile for some target platforms, but fail for other target platforms? Argh. I see what you're getting at.
You appear to be confusing aws-vault, a gratis and open source project that manages IAM credentials, with AWS Secrets Manager, a hosted AWS service that stores and manages secrets.

I agree AWS Secrets Manager is overpriced but I doubt it's a major expenditure for anyone. You should probably just use KMS instead and dump the ciphertexts wherever you want. Parameter Store is a fine place for them.
"war on <<insert something here that isn't actual war>>" is uniquely American, examples include drugs, obesity, poverty etc. I've never heard this phrase used elsewhere. Why everything needs to be a "war", I don't understand
I'm sorry but this is just not a credible story. The current day EU simply did not exist for most of Post-WW, so it can absolutely not have been a reason why there was no war.

I am in favor of things like free movement of goods and services. I also in favor working together on things like European Space Agency.

However these sudo-democratic want-be centralized state is totally against the history of European has already caused a endless serious of disaster and mismanagement.

It is this form a bureaucratic technocratic center state that is primarily responsible for the nationalistic backlash we are seeing.

I am really happy that I live in Switzerland and we managed to avoid actually being in the EU even while being pretty tightly integrated.
> Is it customary to store other details in separate tables and have different access rights between the 2 tables?

There's more to that sentence. Outside of enterprise corporations, I've never actually seen an application database user with permissions to the user credentials table but not the rest of the tables in the database related to that application.
For the love of god, stick to the rant in your profile.

As of May 28, 2018, after nearly 7 years and over 13K karma points, I am no longer going to be very active on HN. This used to be a place where thoughtful conversation could take place; now it's nothing more than a den of bullies attempting to spread misinformation that supports their political views.

Enjoy your echo chamber everyone.

The irony given the sheer volume of moral panic and pearl clutching around “illegals” here makes it self-parody.
It's a hard lesson, but everything in a company is driven by politics. Technical skills will only get you so far - maybe to the senior individual contributor position. Beyond that, your job will include communication, evangalization, and compromise.
Cupertino, last year, voted in a referendum to maintain a two-story construction limit. It also voted down multi-family homes. At the end of the day, Silicon Valley's residents--not Facebook--are telling their lower-income neighbors "we prefer higher housing prices".
The difference is that outside China, Chinese leaders doesn't try to push for a model. They don't push for things like Human Right, Intellectual Right, Representative Democracy ...
There are some Linux HT benchmarks here: https://www.phoronix.com/scan.php?page=article&item=intel-ht...
You have a point there.
The key word is to monetize. So no monetizing and a problem. How to recoup the cost?
eh, i jumped down the EMR rabbit hole a few years ago at the behest of a friend trying to put together a research proposal.

the in vitro data we have is uninspiring. you can prompt cells to lose viability if you expose them to EMR (radio from what i remember) in very contrived and artificial conditions with exposure far beyond what humans would absorb.

yeah, it probably would be better for you to not have all these waves bouncing around/through us. but i think it could be much worse.
Yeah, that could be true. I think now it's pretty standard that it doesn't make sense for people to spam others
Hence the "as an industry" part.

If you've ever read Snow Crash, the U.S. Government does something similar to exactly what you are talking about. That is why I've stated that at this point we can only delay the fruition of a state level infrastructure. Not stop it.
Sounds like a BPM managed process.
I usually take a humble attitude as I pace myself into things and blend with the team, but the first thing I try to take care of is make sure the Joel Test is passed. It's amazing so many shops and companies seem content with a score of 2 or 3.
I'm surprised that they have so many accounts, but they were good at building partnerships. For instance, a few years ago when 23andme decided they didn't want to deal with users' family trees any longer (a popular feature, considering most people were interested in genetic genealogy data derived from 23andme tests) they pushed people to join MyHeritage (http://blog.kittycooper.com/2015/01/myheritage-is-now-doing-...).
Like I said in the article, my point is not about using classes or not, but about all the boilerplate that Vue introduces to the object notation.
The first thing I implement at a new company is configuration management using OS packaging.
Skin color is not synonymous with race. Every race has people that span a wide range of skin tones, and skin tone fades with age, so you may as well be arguing it's ageism.
Governments are not evil by their nature. They are amoral, meaning they lack a moral sense, not immoral, meaning they are evil.

The same is true of companies and any other large group of people.

Amoral entities do things that moral entities consider evil, but it's because they have no moral sense, not because they are actively immoral.
Daily standups for remote workers are godsend. You'd think you could rely on people to communicate over chat or email, but the standup actually gets everyone talking and discussing.
If you are already using React for the web (which I would believe is the biggest reason to use React Native), then the RN layer is pretty much already taken care of in term of expertise.

For the iOS and Android side, that's a constant between the two possibilities.

It's better because now your iOS and Android experts can concentrate much more on what they do best and your React experts can keep working on your UI like they always did.
How is it for getting around weird networks (double NAT, etc)?
> Antitrust cases must be based on something

A study of the history of Antitrust would abuse of of that naive thinking.
> That's so disproportionate that you might as well just abolish copyright.

Ideally that's what we would do.
You're last sentence where you mention 'magic' made me laugh. Nice one, I agree, there will be no 'magic leap' forward so-to-speak, however things are progressing nicely.

The indie game scene on Steam VR is thriving and these experiments in vr experiences will yield future content and entertainment breakthroughs. The groundwork, at least, has finally begun.
"massive rent increases from a new landlord, who is pricing out long-time residents while advertising the buildings’ proximity to Facebook’s campus"

Yes, let's blame Facebook. ...what?
it's not going to fly. I think the problem of this kind of ideas is that dating is actually a by product of social interactions, not suitable for engineering.
as another HN commentator said: if there is a powerful lobbying group pushing for one thing and third party scientists are saying something else, "the jury" will stay "out" for decades even if the evidence is clear.

lesson: interpreting corporate funded science inversely is sometimes a faster route to the truth than waiting for them to come around.
I think you can replace US by EU and China by US and then justify that EU raise tariffs against US. I don't think it makes sense to have tariff. EU ask mostly US goods to follow EU laws and regulations.
If your build process always produces the exact same binaries, and you always use the exact same environment to run these, then yes, that's reproducible.
It's not equivalent though, in that you can easily have a system that always exhibits the same behaviour (what NixOS does) but does not use bit-by-bit equal binaries.
For example, some symbols in some library's .so file might be in a different order, or some padding bits that are never read might be zero or random depending on your compiler's choice.
Well that's completely false. We'll still be abiding by EU laws long after we leave. By 'most people', I'm assuming you mean the 30% who actually voted to leave?
Peertube doesn't necessarily mean "Peer to Peer with Bittorrent". The "Peer" could just refer to the federated nature of the servers.

Even then "Peer to Peer" technical details can be lost on people.

Still, kudos to them to actually bring this to the forefront but I won't be using it.
Show HN: MRuby-Zest – A Scriptable Audio GUI Framework
Which media is "licensed" and thus can not go against the government?
I’m truly not overly familiar with the history of such cases. I’d appreciate some direction on how to undertake such a study. Any good places to start reading about this?
Looks very cool! :)
I have a friend who is Assyrian (from Iraq) and he has an middle eastern outlook on both the old and new testaments. There are areas where we disagree, but what has been very helpful is the insight he has gained over sixty years as a theologian and his awareness of the historical context of those times.

He has been instrumental in helping me to look at the audience perspectives of the various books of the new testament and from that gaining an understanding as to why the books have been written in specific ways.

One of the interesting aspects of the gospels deals with the resurrection and the interaction with the women in the garden. From an audience perspective, since the word of a woman was not considered reliable compared to that of a man, to have the events told from a woman's perspective meant that the event had taken place as described and was considered factual and verified as far as the male mindset was concerned.

It is things like this that give a more detailed insight into why things were written the way they were.
North Korea is not in the EU.

I think it’s unlikely Italy will actually leave but if it does it won’t be because of Trump. It probably depends on what happens to the UK and as the EU people know that, they aren’t likely to let the UK off easy.
Amazon, Berkshire, and JPM appoint Atul Gawande as CEO of new Healthcare Co
yeah, but punitive justice is the least consequential thing in those situations. The major reason you'd punish someone there is to stop someone from willfully repeating the scenario. There exists a path for learning and prevention in automated systems too.

The danger I see is the stifling of potential human subjective decisions. That broad decisions will be made and carried out without a sanity/humanity check by humans.

I think measures should be put in place for a guarantee of human intervention in the case of situational anomaly or system error as well as an emphasis on redress.

Since automation scales and a human workforce doesn't, a guarantee of human intervention might not be practically possible.

Anyone have any ideas on how this kind of thing might be mitigated?
Girls are Back in Town
Uh, no, I'm not suggesting we elect people to make bad things happen. I'm saying we elect people to make bad things illegal.
I made a minimal bash CLI for transfer.sh, since I regularly interact with it. Nothing you couldn't do by hand, but it makes it easier to do some operations. Uploading directories, encryption/decryption, piping, etc.

https://github.com/rockymadden/transfer-cli
One of the first lessons I learned about investing was, nothing is done until someone puts their signature on a document.

Looking at what's posted I don't see anyone of these 3 former judges or FBI director putting their signature on this.

That's pretty telling in of itself.
On the one hand I can see how stupid these laws are in view of how the Web currently works and how successful it is.

On the other hand, I think companies like Google and Facebook are FAR too large and powerful and I think the only way to deal with that is by making the Web less good at what it does.
Hello HN,

Two years back or so I was trying to build a new user interface for the ZynAddSubFX synth and getting the level of customization I wanted while being able to embed the interface cleanly into plugin hosts was difficult. I could have gone the route of producing a series of raster based assets and providing fixed locations for everything, but since I had different devices with rather different resolutions I wanted something to be more flexible than that. After starting with Qt prototypes I borrowed the ideas of Qt's QML and applied them to a ruby based widget system (I would have gone with com
mon-lisp + CLOS, but that's not the best route to entice contributors), a nanovg/OpenGL rendering system, and a open sound control based messaging layer between the GUI and backend. Initially there was a GLPK based layout system, though that was unfortunately scrapped due to the runtime cost.

The end result is MRuby-Zest and it's a system that's reasonably efficient, embeddable, and in my opinion fast to iterate upon designs. The last note is mostly due to the fact that the system can hotload code updating existing widgets in a live GUI. That hotloading combined with the fact that widget code is all ruby (rather than building off an existing C/C++ toolkit) has made working with the framework pretty fun for myself. Overall the project is still pretty young and somewhat tied to the Zyn GUI (named Zyn-Fusion), but I thought some of the design choices and trade-offs might be interesting to the broader HN community.

Outside of the technical choices this work is some of the first open source work that I've seriously tried to get community funding for. After working on the software for a few (~3) months fulltime I was able to put binaries up for sale and I've managed to get ~200 sales for my efforts.
Exactly. Have been Stylish user since its beginning, and recent history of it is a disaster.

Please, use Stylus [1] if possible.

[1] https://github.com/openstyles/stylus
I did. Clearing up.

That said, it is a major expenditure when used as part of the automatic workflow. And parameter store has KMS encryption/decryption built-in. Alongside full IAM level isolation.
Implementing KPTI didn't involve any of what you just said.
Surgeon Atul Gawande selected as CEO of new health care company from Amazon
A Docker or Vagrant setup to match their prod as closely as possible, for local dev purposes.

It boggles my mind how many developers _still_ install PHP/MySQL/Ruby/Node/etc on their daily desktop and are surprised when something doesn't work as expected on production.
How an Engineering Company Chose to Migrate to D
Interesting concept. How do you aim to verify people?
Ooh, I had no idea that existed - thanks!
If Google doesn't link to anything anymore, its own traffic may hurt a bit as well.
Ask HN: Why does HN ban Trump-admin related news items?
Ostensibly because it's too "distracting"?

Sure, HN can be an enclave divorced from the harsher realities of the
society it is embedded in. Right now, it feels more like the ostrich
hiding it's head in the sand though.
If you use Safari, this functionality is built in, no sketchy plugin required. You can save the CSS snippet from the provided link as a file somewhere on your disk, then select the style sheet in Safari > Preferences > Advanced.

It's useful for loads of other cases too. For example, I have mine wrapping Hacker News's <pre> elements so I don't have to horizontally scroll for miles while trying to read.
> I just hope with this one we can get some mechanism where you waive your fees/licensing in the html header and then your stuff is freely linked by the engines.

There's actually a proposal by Axel Voss (the MEP pushing this the most) to explicit forbid waiving it, since previous laws like this "didn't work" because nearly everyone waived their fees... It's truly a disgrace.
The very first thing I do is update documentation.

You're a fresh set of eyes and so documentation for onboarding, setup, and building the application on your laptop is the kind of thing that often goes by the waist side.

Did a step not work because you've updated your OS? Was there a critical typo in the terminal? These things provide immediate value to all future hires.
You can now release your inner GPUs on the Computes decentralized mesh computer
As a Finn I typically answer what I really feel at that moment. It creates funny situations, but in general I think if you ask me a question I should give a truthful answer. Why would you ask if you don't want to know...
Open secret
when ever we are thinking what we will do.
a only word comes in my famous.
how to be famous.
so we are making our videos :- https://youtu.be/IfgQfYmxxRY
but easily no one become famous.
so this is not just a video it was my dream.
The first few weeks were rough. Everyday I sat in front of my computer trying my damnedest and thinking it wasn’t good enough. But everyday I got a little bit better.
Super Wood Could Replace Steel
No, it won't help with decentralization. Only big players will have enough money and resources to implement these filters and requirements effectively, small news aggregations that work for 100 users will just disappear. I imagine there will be boom for companies that identify and track text and multimedia online and report it automatically. I don't think services that work for small number of users will be able to afford their API.
> no mention of usage of salts

They wrote "MyHeritage does not store user passwords, but rather a one-way hash of each password, in which the hash key differs for each customer". I believe "different hash key for each customer" means either nonce or salt.
MyHeritage has a totally scammy auto-renewal system.

Can't say I'm surprised given their crappy anti-user auto-renewal system that they dumped everyone's data. Ugh...

Google "my heritage auto renewal" for the background.
As I already implied in the parent post, I've no doubt we'll see more Spectre-like issues and I don't find it hard to believe that there's yet another embargo going on, that something's leaked again and that the OpenBSD people have picked up on it. I'm just curious about how many tradeoffs in performance and usability OpenBSD would be willing to make (in the form of default settings, I'm aware this one can be toggled) in the pursuit of security and how they do the cost/benefit analysis, because their process seems vastly different from that of the main OS vendors.

On the latter point, I did take "strongly suspect" at face value rather than code for "we know for sure, just can't disclose it all yet" because I'm not familiar with the development culture of OpenBSD.
Show HN: FIFA World Cup Live Score Extension for Chrome, Live Scores in New Tab
Yes, it's just []rune, which has just a bit of special sauce in the runtime that allows you to convert it directly to a string [1], and some functions that convert UTF-8 to and from it. However rune is a 32-bit number sufficient for storing a Unicode code point. Generally you're dealing in UTF-8 and prefer to just pass that through code. I think I've only ever use a []rune once, for when I was doing some very heavy-duty Unicode-aware code, and I still ended up refactoring it into using UTF-8 directly in the end.

[1]: https://play.golang.org/p/5DEzw85J5Ob Note this is a conversion; the string is UTF-8 and the runes are 32-bit ints, so this creates a new string.
The pro-Brexit people must be happy with this news.

"No, don't pay any attention to our complete lack of planning despite us wanting to leave the EU for decades. Pay attention to this thing they've done instead!"
For what? 30 seconds of writing a sed command in the shell? I can donate that kind of time to the project for free, really.
One Ph.D. Student’s Open Letter to Microsoft
> and have little diverged since

You clearly know nothing about the differences between the two people. Turks are very different from Greeks on even the level of "looks," let alone culture.
I've used this site [1] and then cross check places that look interesting on Yelp / trip advisor

[1] https://www.agriturismo.it/en/
Only for EU IP addresses. Seems like a good way to keep their people ignorant akin to China or NK firewalls. But in a way that appears less authoritarian and "to protect EU business interests".

Lets face it - power structures are terrified of the open communication available today and how everyone is able to organize and see through their BS.
> That's a dishonest argument.

Honestly, I felt the same about your argument. What you're suggesting is that American companies should not abide the the same laws as European companies when doing business in Europe. Which is an awfully biased position to take.

Have you actually stopped to look at why some US companies have been hit? The anti-trust cases, for example, highlighted some highly unethical behaviour. Also have you actually spent any time researching into whether European companies come under the same scrutiny or are you just assuming it doesn't happen because you only read about American business over in America? Spoiler alert, the EU does come down on European businesses equally hard.

I get that the American philosophy to business is often about deregulation. But that's not how Europe works and if American companies want to do business in the EU then it's only fair that they have to follow the same rules as European business do.

Like I said before, if you want to sell imported goods in America then those goods still have to meet American safety standards. We all agree that is acceptable. And equally I'm sure you agree that European companies who do business in America should abide by American law. So why should it be any different with EU regulations?

[edit] I'm not going to defend the copyright reform though. That proposal is just dumb. But in terms of your point, I can see it hurting EU businesses as well as American ones.
Phew, it took a few years to find someone willing to count all that money.

Well all is good, nothing to see, go about your business as usual. Don’t mind the man behind the curtain.
I follow your point, but it's an inaccurate point.

Take for example, the 9th circuit model jury instruction for Wire Fraud (18 USC 1343).

Numerous legal experts find that it is not a concise summary, but one that leaves out multiple major points.

For example,
http://www.kmbllaw.com/intent-to-defraud-is-misdefined-in-th...

My corresponding jury instruction omitted that a loss had to be caused, or explained, really explained, what "materially" actually meant, or how important it was.

If you decided to tell a little fib at the corner store and told the cashier you were Barack Obama as you bought a gallon of milk, that would count as wire fraud according to these jury instructions. Not comprehensive -> Not concise.
Noted and edited, thanks