skysight-inc/HackerNews huggingface dataset:
At which level in the sciences are you ever supposed to trust that your colleagues have done their work correctly? That sounds more like the opposite of what you are supposed to be doing.
Nah, it's probably just a "false friend" mistranslation (1): "Computer Science" translates as "Informatik" in German. So if you've got a German degree in "Informatik", it's what would be called "Computer Science" in anglophone countries.

Ed. (1) by the poster
Wait, Uber could figure out how much their drivers make, then apply standard rates for depreciation and a good local gas estimate to figure out profits? What magic could they use to do that???
I find windy cool. However, it's not useful when looking at things like hurricanes or other things with large wind differences because the color scale warps around every 70mph or so.
The Ontario Science Centre once had a "proof" that was made using wooden strips that were about an inch wide and perhaps a quarter of an inch deep. There was a right angled triangle with squares on each side. It looked just like typical diagrams except that (a) it was mounted on the wall, (b) the triangle and the squares were covered with glass, (c) there was exactly enough coloured liquid inside to fill the square on the hypotenuse. Every minute or so, the triangle rotated in such a way as to allow all the water from the square on the hypotenuse to flow into the squares on the other two sides. Of course, the fit was exact. I remember watching the exhibit, thinking about it, and suddenly feeling a greater depth of understanding, not of geometry, but of trigonometry! Of course, not a proof, but a brilliant exhibit. (Here is a similar demo on youtube: https://www.youtube.com/watch?v=CAkMUdeB06o)
Yep. Bioengineering and Bioinformatics, especially with recent gene editing technologies invented. We still don't know what gene patterns cause most of the diseases. Sifting through genetic data (with the help of computers) and finding the patterns responsible (so that they can edited out or modified) for these diseases is going to be a huge industry. As a result, diagnosis and medicine would become personalized to a certain extent.
Will there be a postmortem blog post or some other summary about this?
But this isn't the whole world, or the New Yorker for that matter -- it's the Hacker News comment section. jordigh's frustration is one that could easily be shared by many HN readers. (And in any case it was not presented as anything more than a personal reaction.) I genuinely don't understand why you responded so sharply, and for whatever it's worth I found jordigh's comment useful: it provided a tl;dr of the proof, and helped me decide whether the article would be enjoyable to read.
Bizarre. The article doesn't explain much about why the author hates design patterns. The best I could come up with is in this passage:

Perhaps I’m being unfair to Design Patterns, but those articles [about design patterns] seem like the worst kind of tech writing, the most likely to inspire useless discussion that doesn’t help move a team forward. Catering to software developers perfectionism tends to be bad for business. And this particular type of article seems to be the most extreme in that regard.

To recap, DP articles:

- are the worst kind of writing (still no explanation)

- likely to inspire useless discussion (sometimes play is a lie?)

- catering to perfectionism (this can be said about any tool)

The article reminds me of many folks I've met who despise analysis and planning. They're constantly getting themselves into trouble that requires quick action. When it works, the chalk the success up to their quick action. They denigrate project planning tools of nearly every stripe. They're also typically very bad communicators and don't manage time well.

But in the end, the need for quick action resulted from the immense dis-ease the person feels around planning, brainstorming, and up-front analysis. The cycle repeats on every project.

There must be an anti-pattern that describes this kind of behavior...
You can make Cassandra cp by making writes persist to 100% of nodes. Obviously you lose the availability.

Mongo, for example, can be acid but you lose write throughput again. Postgres, I believe, has better throughput for most workloads over mongo and is acid compliant. I do not have any experience with spanner our cockroach so I can't really comment there. I don't believe hbase offers strong consistency either.

Maybe postrges is a good choice? I didn't mention it because the "data lake" term made me immediately think hdfs and I wouldn't call postgres a lake.
This is very cool. I'm heavily invested in Vue.js, but seeing these kinds of features of the horizon with React makes me a bit jealous.

The APIs do see unintuitive, but as Dan said, they are not finalized yet. I remember trying to implement a drag and drop component in React and having a bit of trouble with complicated APIs. Hopefully this keeps getting cleaner.
It absolutely has a bezel on the top and bottom.
New LTE attacks can eavesdrop on text messages and spoof emergency alerts
I’m not sure if many people enjoy them. A lever that dispenses random rewards is basically a purpose built addiction machine.
This is a poor argument for var. Competent Java programmers use the extract-to-variable keybinding (Cmd-Opt-V in my environment); it even guesses the variable name correctly.
>(That convention, like several others in VisiData, is borrowed from the vim text editor.)

Thats all I needed to hear.
I think vim/emacs vs. IDE debate is similar to that playing shooters on console vs. desktop: there's no way a joystick (a control with relative position control) could be replaced with a mouse (a control with an absolute position control) with no loss of functionality.
No, using JWT will not make your application more secure. Continue using cookies. Don't buy into the JWT hype. You'll probably want to add a CSRF token.

You're correct in stating that implementing an OAuth provider is unnecessary.

I suggest reading the OWASP security guides. Start with Session Management Cheat Sheet [0], and after that Cross-Site Request Forgery (CSRF) [1].

Don't fear the cookies, all their gotchas are well documented and understood. There's lots of valid use-cases for stuff like JWT and OAuth, but I wouldn't bother with it at all until you're more comfortable with digging into the AuthN/AuthZ minefield. I'd consider understanding session management with cookies a precursor to trying to do anything fancier.

[0] https://www.owasp.org/index.php/Session_Management_Cheat_She...

[1] https://www.owasp.org/index.php/Cross-Site_Request_Forgery_(...
Which is probably the most robust and scalable of them all. I was wondering some some services took 30m to an hour to revoke access, and this is the reason why. Only downside is you have to use JavaScript on the browser, which isn’t much of a problem really.
> They had begun work in 2011, but they rejected all of the existing document databases (such as MongoDB or Riak). In 2013 they decided to work on version 2.0 of their software, which would be a complete re-write, but they decided to continue to keep JSON strings in PostGres.

That's speaks in their favor, in my opinion. We actually consciously moved the way MongoDB -> PostgreSQL JSONB column, and are pretty happy with that.
Sorry, original author, but if you recommended us to use shiny new databases like MongoDB or Riak, we'd probably think of you as a young and inexperienced engineer.

Although I agree about Design Patterns. For example, you'd use/no use ReactiveX regardless of whether you know about Observer pattern or not.
No; I was speaking more generally about some potential reasons that software wouldn't be kept in a low-debt state. The same concepts could apply to Dosbox with some remapping.

What company? The Dosbox project itself.

What management? The devs making overall decisions for the direction of the project.

What customers? Anyone requesting new features and fixes in the software.

What features? Built-in support for Munt, new networking support, support for more varieties of peripheral hardware...

It made sense to me to give a more general explanation, since this thread started off with a question about what technical debt is in the first place. I also did my best to address Dosbox's specific reasons by posting the interview with their devs and providing my own interpretation of it.
Yes? I'm fairly certain you used their account to get an ordered list of their transactions.
Depends on what the goals are. I don't think most counties want a large fraction of their population becoming mathematicians. They basically want most of their population able to use math not discover new areas.
Accelerating the discovery of therapies for aging and its related diseases
Perhaps.

VMU has been heavily involved in quite a bit of what has become mainstream in federal government InfoSec. They were the ones who built out US-CERT originally, they have had a hand in helping set up many of the CSIRT/SOC operations within the federal government, and they continue to play a role in helping train/evaluate these teams. Although I suspect that many people outside of (gov) InfoSec are aware of this history.
An enduser doesn't need to know about the camera2 api to take a photo.

I was mistaken, I thought you were discussing usability for endusers, not about programming issues.
An excellent and helpful correction. But security-wise chroot/runc is even worse than Xen, since the attack surface is so much bigger!

https://nvd.nist.gov/vuln/search/results?adv_search=false&fo...

https://nvd.nist.gov/vuln/search/results?adv_search=false&fo...
Why every user agent string start with “Mozilla”
I would have thrown a bigger fuss if they didn't disappear as quickly as they did. I assume other people threw a fuss for me, for which I thank them, whoever they are.

The f'ing stupid thing is that the checkout line is already one big ad. It advertises all the things that the stores have already figured out you're likely to buy at the end of a shopping trip; candy, drinks, SD cards (dunno why but it's pretty consistent), etc. It is the most effective possible ad, since everything it is advertising is literally within arm's reach for immediate purchase. You'd think that would be enough!
Strange, I always encounter `NET::ERR_CERT_COMMON_NAME_INVALID` even on Gmail with Chrome. What's your test setup?
For example, Vice President Technology at Goldman vs Project Manager at Google.

And do you think, is it easier to climb ladder in Google or Goldman Sachs?
The real issue with US politics at the moment is the divisive, uber-partisan, and all encompassing nature of how we see each other. We don't look at someone with a different political viewpoint as a fellow American that we disagree with, we see that person as an enemy who poses an existential threat to our way of life. To a hardcore left wing progressive - Russia, China, Iran, and North Korea have got nothing on the alt-right in our own country (and vice versa).
not at all; I don't mind
I hate scroll-based lazy loading of images. It’s bad enough when latency is merely high, as is commonly the case for such things for us in Australia, but it’s actively hostile to unreliable internet connections. When I know I’m not going to have an internet connection, I used to be able to just load pages, and know that they’d be there when I got to them. But with lazily loaded images? Nope.

(Non-scroll-based deferred loading of images is not necessarily bad, though I don’t see much purpose in it.)
This is a really serious indictment, folks: “Also, they were doing some unusual things, such as storing JSON strings in a text field in a PostGres database”
Cool stuff. nixpkgs not too long ago gained support for programmatically declaring binfmt_misc configuration: https://github.com/NixOS/nixpkgs/commit/c64639b54caa6595f9ef...
American Nazis in the 1930s – The German American Bund
For anyone who want's to play around with the curve a bit: https://www.desmos.com/calculator/4qu7gezqmx
For entire 20 minutes of performance driving, sure.
I would love more particulars about this.
The Essential Phone and iPhone X were both in development simultaneously, unlike the current situation where ASUS, for example, has been very clear that it is intentionally copying Apple.

>“Some people will say it’s copying Apple,” Asus’ global head of marketing Marcel Campos told The Verge, “but we cannot get away from what users want. You have to follow the trends.”

https://www.theverge.com/circuitbreaker/2018/2/28/17062030/i...
I will keep that section in mind the next time I see a job posting at a startup that requires PostGres experience :)
I am deriving the second definition from the first.

Basically, as you start looking at the family tree that actually represents humanity the idea of generation breaks down, do you mean the shortest route from you to someone in ~100,000 BCE or the longest route to some person in ~100,000 BCE. You could say your mother's mother's mother's ... or your father's father's father's but even then the length of the chain going back that far stops being equivalent.

The only thing that becomes meaningful on such a scale is simply generation as unit's of time.
I would add NativeScript and Weex to the list.

However, the Flutter advantage might be its performance.
I'm glad the girls' natural curiosity was supported and enjoyed.

When I was little we would bring in little things we'd found out back (frogs, mice, birds etc) and my mum was always happy to say, "lets open them up and see how they work". For the frog we used some vodka in a margarine pot but after that she kept some ether in the fridge (also useful when castrating the cat).

She was pretty happy when I sent her a photo of her grandson, scalpel in hand, dissecting a dead bird he had claimed from the cat. Unfortunately the only book he had was on human anatomy but we were able to find gross parallels and gross differences and that was pretty educational too.
Ask HN: Using Kotlin for web application back end
Hi HN,

The quick version of my question is: What are the pros and cons of creating a web application in Kotlin and if you had your choice of languages would you use Kotlin for that purpose?

The long version:
I just started a side project which will be your average web application. Users, authenticaiton, authorization, CRUD actions, your usual things. One of my goals is to learn a new language.

I've used statically typed languages for the backend for the majority of my dev career (C#, C++, just a little F#). I tried out Python and while I really like it for small projects, parsing data files, and practicing data structures and algorithms I really miss being able to lean on static typing when refactoring. I also miss the strong IDE integration I get with that category of languages.

I checked out mypy with Python and it's really cool but unless I configured it wrong it doesn't apply its type checking across files well.

All of this led to me to look at Java and then Kotlin. I love how you only need to type one side of your declarations like I'm using C#'s var. The idea of data classes is fantastic as well.

Because Kotlin is on the JVM and can interop with Java I'm hoping I can leverage those libraries and frameworks when needed. For some commentary on the tools, IntelliJ is a great IDE and I'm not sure how I feel about gradle yet.

With all that said, have any of you used Kotlin to build a webapp? What did you like about it, what didn't you like? What other statically typed language would you use?
The #1 enginering design pattern is to obey speed of light transfer of information latency. Moving data into and out of MongoDB has that unavoidable cost, and it is a waste if the only thing you want is JSON formatting of the same data already in your RDBMS.
Speaking from experience outside of react, but I imagine it carries over nicely having done a little react myself: The configuration either doesn’t encapsulate you’re specific use case because it is kept simple, and you are stuck forking the component; or the configuration expands to be its own little akwards DSL with very surprising edge cases.
I'm wondering how sharp those teeth are. What are they going to do, revoke Emirates operational licenses throughout Europe? That would not go over well with flyers...
I hate all articles about monads. There, I got it off my chest.
Planting trees for the library of the future
> Odd, that we live in a universe where the boundary between existence and annihilation is so thin, yet we continue to exist.

If the universal constants were different, there could well be a different form of life making the comment instead.

For example, see Greg Egan's scifi book The Clockwork Rocket, which features a universe that runs on fundamentally different principles but that has broadly recognizable forms of life.
As a pasty white man myself, life has been improving steadily since 2008. My income I think has doubled since then, I’ve lost about 20lbs of fat and I’ve picked up some cool new hobbies!

True, I did have to get a relevant degree and not be an idiot at work to advance, but life is pretty good overall.

Now if you mean that being a White Man by itself isn’t enough anymore to get you a cushy life style, then yes, it’s not. Welcome to the place everyone else has been in since forever.
Why run? As someone with more than a couple dozen marathons under his belt, 12 hour and 24 hour races, hundred milers and a hundred k’s, I’ve had lots of time to contemplate this question, sometimes to myself and sometimes out loud with other runners. And the answer I’ve come to is: there is no why. Some of us do it to stay in shape, some for the challenge, some to silence inner demons, some as a form of meditation, or to give our minds time for quiet contemplation. Myself? I guess I do it for all of these reasons at different times, but at the end of the day, I do it because it gives me joy.
The "purely functional" part goes out of the window with the introduction of post-install scripts.
I was impressed by the user interface of the Audi Q5, while at the same time horrified of the the attack surface that goes far beyond the Jeep hack.

Germans, especially Audi, need to hardware condom media system writes to the CAN bus and cordon off sides of the driver dash into separate screens the media system can't spoof writes onto.
the medium article claims pay was computed as follows: dollars_earned_driving * percentage_of_total_wage_from_driving

assuming this is correct, the less drivers rely on driving as a primary source of income, the more incorrect the $3.37 figure would be. curious to see the updated results.
The Mysterious Smell of Moondust (2006)
All these people here keep on saying how well Amazon protects itself legally.

What I don't see anyone saying is that the fact that if Amazon were to rip someone off, their reputation would be tarnished.

I think what they're doing is actually in genius but I don't think they're going to rip anyone off because bye being able to crowdsource ideas for scripts will help them get the best of both worlds:innovation and relevancy.

They got to stay ahead of their competition and get inspired by writers.

Do not get me wrong they may screw people over but like Bank of America was warned about its debit card scandal, the other side of the sword can be bad and the last thing Amazon needs is thousands of riders complaining to the Department of Justice or any organization that involves fraud.
I don't see why it has to be pretension or conceit. Personally I am often frustrated by mainstream maths/science coverage, but that's not because I think I'm special or I'm pretending to be smart: in fact I'm very ignorant, only moderately intelligent, and couldn't follow the journal articles even if I had the time and inclination. My preference is for layman's explanations that guide me through a topic and help me to achieve some level of genuine understanding, and it's perfectly sincere. I'm sure there are people like me but smarter or more knowledgeable, whose preferences are similar but pitched a bit higher.
> There must be an anti-pattern that describes this kind of behavior...

Well, the anti-pattern that describes this kind of logic is the Straw Man. If all Design Pattern articles were theoretical blah blah blah, The Fine Article might have a point. They aren't. Not even the majority. As long as we just point to the (bad) minority, and act as if they're representative of the whole, then we can continue to hate all articles about design patterns, and play — because this is just as much a form of "play" as the "learning" or "avoiding" techniques being decried — in our preferred, and specifically unstructured way.
Apple could basically choose to ignore this law if it passed and these state governments would reveal they have no actual power in the globalized world. Oops
I think the author was saying he hates articles about design patterns, not the actual patterns themselves.
When I was a physics student in the late 80s, there was a conference in Reno, held in one of the casinos. I think it was just one of the divisions of the APS, and we certainly didn't occupy the entire place.

I recall an amusing anecdote. Of course we didn't gamble. But after the conference banquet, my friends and I were standing around talking shop, and another guy accused us of being nerds for not at least trying out the slots. So he bought us a bucket of quarters and led us into the fray.

After some time spent in sheer boredom, winning little bets and losing little bets, my friend decided to dispute the result of a machine. The attendant came over, and we got to see the insides of a slot machine. It was a garden variety IBM PC-AT with a color CRT, inside a fancy case with buttons and a pull handle. The attendant pulled the keyboard out of its slot, started typing commands, and showed us the result of our game. The machine was of course right, and the attendant smugly shut the lid and walked way.

Eventually we ran out of quarters and all went to bed.

There were some really cool pawn shops in Reno.
By my understanding, successful professional gamblers aren't actually gamblers, as they engineer the situation so the odds are in their favour and they are just printing money. Here is my understanding of how a professional “gambler” (arbitrageur?) in Australia made a fortune.

Take a powerball/lotto game, where balls are drawn and punters win a prizes from a fixed size pool. Say the long term rate of return is 90%. The arbitrageur starts placing large volumes of bets, so they make sizeable portion of the pool of bets (say 30%) and have a significant chance of winning the jackpot. They also negotiate a rebate (say 15%) with whoever runs the game, so their long term rate of return is now greater than 100%. The gaming company wins, as they are bringing in an additional 30% revenue each week from the arbitrageur and only paying out a 15% rebate, and the size of the prize pool is fixed. The arbitrageur wins, as their long term payout is more than 100% due to their rebate. The mug punter (without a rebate) loses, as they are winning a smaller portion of the prize pool due to payouts to the arbitrageur. Meanwhile the lottery company is sucking in more mugs by advertising how many jackpots are going off (winners can be anonymous in Australia). In summary, the arbitrageur's rebate is legally transferring money away from those without power (the mug punters) back to those with power (the company running the game and the arbitrageur). Lose-win-win respectively.
Have you ever tried red lining all points you disagree with and sending it back?
Having the type name doesn't tell you anything about the type itself. Unless you have the type definition memorized, having the type declaration there is not very useful.

If I replaced the types above with var, you would still be in the dark as to what an Account and/or Transaction is without going to the type definition.
>“The cookies and pixels we use are industry standard technologies and enable hundreds of thousands of businesses to grow their businesses and reach customers across the EU,” said Facebook’s VP of public policy for EMEA

If it is "industry standard", does that make it ethical?
How much bandwidth is wasted by this?