skysight-inc/HackerNews huggingface dataset:
I think the problem with Computer Science is that the focus has been on the C and C++ programming languages.

It goes back to the 1970s. C was created to have all these cute little tricks that you could do to manipulate your data in memory. This led to pointers and all the fancy pointer arithmetics, that allowed your program to run a few clock cycles more efficiently. But, the cost is that you shoot yourself in the foot, once in a while.

Fast forward to now, and squeezing a few extra clock cycles here and there, and memory usage conservancy is largely irrelevant, except for a few edge cases.

C is just a bad programming language. And C++ just inherited all its defects, just to bring in Objects. But the objects were a poorly designed idea, and was terribly executed.

In C and C++, instead of just focusing on your problem, you have to manage the language, and its built in defects.

Then came Java. And it was the opposite reaction to C++. No more pointer arithmetics, everything is now a reference. Ok, good. But, it created another problem. The framework monstrosity. Learning the language itself is simple enough. But having to work with someone else's poorly designed framework, that makes no logical sense, is just unbearable. In Java, you now have to manage the framework.

I like Python for its brevity and conciseness. And especially for its flexibility with functions. It allows you to program in a pure functional style. It's a breath of fresh air. I can build out my code like lego blocks, stress test each function, and then connect it all together. And the results work flawlessly. Except for one catch, it runs a little slower.

I'm hoping this move into Functional Programming will be the next true wave to come into the computer industry.
What I'm missing is a different security model than the current `If an endpoint can push to gitlab, it is trusted and can execute code server-side`.

There is no (current) way to enforce a 2fa step in order to push to a repository, and while you can technically implement them, that doesn't mean much, due to the nature of `git push`.

What I want is a 2fa-enabled review boundary between "commit" and "execute", which currently isn't possible.

Protected branches can be unprotected without an auth step.

There's nothing on the server-side that signs `gitlab` generated merge-commits in the commit graph, so no way to distinguish them from other merges.

There's no security boundary to change the deployment details, or to modify the deployment pipeline to run from a different branch.

Basically, I'd want a way to ensure that there's an authenticated hand-off between "commit" and "deploy" steps on the chain.

Also, it'd be nifty if one could get gitlab to maintain a version number, increasing with every merge request merged, in order to get smooth tagged builds when MR's are used.
But Elon and his sub....
Well grown libraries are using the `@implicitNotFound` annotation to generate better library-controlled compiler errors, with advice given for what to do. It has its limitations of course, but proved very useful in many situations.

A search tree is cool, but it's not going to explain how to get a value when it has restrictions (dependencies).
Leetcode problems are a mess. They're good to practice, not to learn. I graduated with a degree in CS, fairly recent. I was afraid of recursion. Never intuitively had a recursive solution. Then it hit me, the matter of fact is that I truly don't understand it on a fundamental level. I watched beginner videos, in particular, college lectures. Marty Stepp from Stanford. His CS2 videos were super helpful. Then I jumped to doing recursion problems, only homework problems (Like fibonacci). Eventually, I began doing more problems like backtracking. Then I went to Leetcode, and I only did the backtracking problems. Success! I did them like a champ.

My advice is, don't try to solve all the leetcode problems, you won't succeed. Focus on one area, one area only: strings, backtracking, recursion, etc. and master it. Live and breathe those problems. Watch videos. You learn programming by doing, not watching or reading and assuring yourself you'll know when the time comes. No copy paste ever!

Pramp is also a good peer interview platform, use that as a test.

I have faith in you. Don't give up on CS.

Also you can checkout the PM route - as "PMs who can code are gold"
Triggering pipelines only in merge request is what we’ve really really been hoping for for quite while. Still seems pretty far out unfortunately...
Implicit parameters in Scala are solved at compile time and lexically scoped so do not qualify for "magic".

> why bother

Because software development is hard, we're solving hard problems and it's good to have better and better tools to do that.

In particular Scala's implicit parameters, along with its support for higher kinded types and functional programming in general allow for modeling your problem domain via tools imported from Haskell and other FP languages, because implicit parameters are in fact a generalization of type classes. And type classes are many times a superior alternative to OOP for building polymorphic code.

Plus the landscape is very competitive and the market is global. I remember in 2000 when the bubble burst the jobs of thousands of developers disappeared over night. To stay competitive, a "why bother" attitude is not going to cut it when the current bubble bursts, just saying.
Again: A promotion is not a reward, it's an optimization. Regularly performing "critical tasks" that fit your current role only shows that you're exactly where you belong.
What was the demo application's purpose? I'm having trouble grokking that from the post.
What I Learned Working for Both Bill Gates and Steve Jobs
Good housekeeping for error budgets
Real networks

Sourceforge

- Companies that torched their reputation by treating users like s#^t. Straight malware. Seriously, they would have been better off going quiet and then building back up later / selling a higher quality brand.

Developers are valuable to the big players - why drive them away with malware - seems like the malware was targeting wrong market.

And yes, I was part of friends and family IPO at SF.
I was thinking the exact same thing. The whole tone is incredibly Orwellian.
>Humanism was founded by Christians and not some academia but the leaders of the Reformation Movement of Calvin and Luther.

Surely you’re taking some artistic license here in asserting that Luther, and then later, Calvin are the founders of what we consider humanism. Care to explain?
28th GST council meet highlights and key changes – SlickAccount Blog
SLOs and You: A Guide to Service Level Objectives
As a medical student who also happens to have a CS degree, might I suggest that a councillor is an excellent idea, and a psychologist or psychiatrist might also be worthwhile.
Thanks for sharing this! The transparancy of GitLab is amazing for people like me who have no experience nor contacts in larger companies. The handbook is a joy to read!

I discovered GitLab when researching CI/CD workflow and thanks to your tight integrations had one setup within 24 hours.

Add to that the fact that 3 fellow Dutchies are the founders which inspired me to apply our own Security startup to YC19 and all I can say is: keep it up! You’re an inspiration :-)

The only bit of constructive criticism I have is that the Epic ‘feature’ being locked behind the highest subscription is a bit weird. I’d love to be able to create an epic for our first release version but can’t. If that feature could drop a tier, that would be... epic ;-)
I believe you have to pay royalties for Arm while RISC-V is completely open source.
The Xbox360 runtime was notorious bad and suffered from the WinDev/DevTools difference of opinions how the future of WIndows development should look like.

Hence killing XNA when they took over Windows 8 development, WinRT and such.

It took all the reorganizations and change of politics, for the .NET Runtime finally start getting some additional love regarding performance.
eh it’s not that clear. all uses of implicits reduce the number of characters typed. there’s no functionality they unlock that you would not gain with another explicit parameter (or 2) and a helper class/type(s). by reducing characters typed they enable a different syntax that you wouldn’t normally do because without implicits it’s cumbersome. but then if code is unwieldy because it’s got too many letters, there’s probably a good argument for a feature that reduces letters.

i agree about ExecutionContext. I have done a lot of scala and really find implicits useful to reduce lines but the cost is so high. it’s to point where the scala chat room at work is people posting compiler messages and the answer a lot of the time is you need this magic import.

the takeaway i have is if functional programming and monads and referential transparency are some top tier of programming, is this import Implicits._; MoreImplicits._ and param’s of A[B[_], D] really the way things should be? is this what people as eschewing when they say functional is the way to go? it just feels so overkill but you have to use it all over your stack to make the map/flatmap chain work. and once every method is just some long for comprehension you are finally “winning”
Holy Crap. MessageEase is the keyboard I didn't know I wanted. It's like Minuum but smarter. <3
I also seem to recall there's been successful input system like this for Japanese, in particular for handhelds with pen input (think psion and similar early devices).

Optical recognition of Kanji can be though, but with stroke direction it is easier.

See for example :
https://jisho.org/#handwriting
Why Having a Feature Flag Microservice Is a Bad Idea
I got 99 problems, but quicksort ain't one!
Pebble: server not found
apps.getpebble.com/en_US/watchfaces
> You state this as if I didn't

You mentioned the base CPU not having HW speculative execution mitigations (which I also would consider worth a CPU upgrade to get), but not having virtualization is a much bigger limitation, in my view, and you didn't mention that, so I did.
Thanks for this.

A thought: it says "don't move your cursor" but that doesn't really apply when I'm on mobile.
Exploring Multi-Level Weaknesses Using Automated Chaos Experiments
I recall reading that laws against direct sales were created because car makers in the US were very abusive/anticompetitive. So the laws might have had some sense at that time.
Link to this?
I don't know why you point out that it's impossible to falsely diagnose cancer in a patient who has cancer. Surely you agree that it's also impossible to falsely diagnose autism in a person with autism? But perhaps your remark simply reflects a metaphor stretched too far.

I realize that you are not the original commenter who alleged that the term "autism" was being thrown around too lightly, but you're happy to agree. Is the entire basis for your view that sometimes people are misdiagnosed? Or do you have a stronger claim in mind?
https://www.goodreads.com/quotes/526469-of-all-tyrannies-a-t...
Show HN: Codemason – Build, deploy and host Docker apps
This comment should be on top.
Autism is associated with advanced maternal age: https://www.webmd.com/brain/autism/news/20100208/autism-risk...

I believe there's more recent evidence suggesting that paternal age may also play a role but there's a confounding factor there that paternal age is strongly linked to maternal age.
> How much maintenance do electric vehicles (not hybrids) need? Probably less than 25% of that of IC vehicles.

If built to be good cars, not profitable cars. The cynic in me says that manufacturers will find some ways to raise the maintenance requirements of EV to maximum level they can still get away with. Such is the way markets work.
One of the guys who started SF taught me about Linux :)
Guest Bedroom Design and Styling
Serverless testing from the trenches
Saturday morning meeting, then worked all night, on the whim of one person, to present on Monday. Just wow.

If this is what it takes to succeed in our industry, then I accept that I will not. I just simply do not have the stamina for it.

I am not trying to be flippant. I am genuinely amaze how driven some people are.
RISC-V inherited all the bad ideas of x86 by now. It has an SMM equivalent, a separate hypervisor mode (instead of full orthogonality which lets you get away without one), resident firmware code outside the OS' control, ...
It isn't the size that is the problem as much as that it is on the critical path for every image that uses it and that it does not support progressive rendering or rendering parts of the image as the file is downloaded. go to https://bellard.org/bpg/lena.html and set your browser to throttle to GPRS speeds and you will see a pretty huge difference.
What if Tesla made a downpayment on parts at supply-rate XYZ (250,000 cars per year), and it turns out they will only do 200,000 cars this year? Wouldn't you ask for cash back on that downpayment?
As long as this isn’t a common thing, sometimes you have to commit and go for it to get to the next level.
A Complete Electron Microscopy Volume of the Brain of Adult Fruit Fly
I'll say that these are no longer "Pro" devices.
What can we learn from the biggest cryptocurrency icos?
> One should completely distrust and be hostile towards a "feeling" until one is confident he/she understands why the feeling exists and is the way it is.

I get the impression this is a very common sentiment in the engineering community, actually - I was raised this way. In my family, step one of "digesting" a feeling was always understanding why you felt it. Someone told me recently that "your feelings do not have to make sense to be valid and action-worthy", and I was stunned — all these years no-one had told me. It is immensely true.

If you insist on understanding your feelings before taking them into account, I think it's easy to fall into the trap of disregarding ones you think you shouldn't have, or choosing not to act because rational beings rise above their feelings. There are also some feelings you may never understand, and you could spend years sitting around trying to grok them.

It is perfectly valid (at least to me) to say "I made this decision because I felt this way at this time." No further explanation required.
I think maybe the problem is that energy is broadly a solved problem as far as US is concerned. You guys have enough energy that you need and the means to pay for it. The world might move to solar/wind but it doesnt really matter to the average joe in the US because things are pretty good already.

Countries like India, Solar is huge. We don't get enough energy even in our richest cities. Most people cant afford to pay as much as they do. Using coal to fire electricity plants is clogging up the air. Solar has the potential to change a lot here.
How did you initially identify at scale if the dealerships had the particular make of the car you wanted? By simply searching their website?
Sounds like it might have been a demo of DBKit or EOF (NeXT's ORMs).
LibreOffice arrives in the Microsoft Store – with a price tag
At first glance I read "solar wind is coming" - which is a more alarming and perhaps even less prepared for condition.
It sounds like an awful place to work; a cult-like working environment controlled by an sociopathic ego maniac with no concept of the value of other people's self-worth and time.

Demanding last minute changes to a design that's probably been presented and approved by you at least a dozen times in order to lie to your future customers at the cost of your engineer's weekend while telling them they ruined the whole thing. What? I mean, seriously? Who could possibly excuse that behaviour?

I don't think Jobs was so much a charismatic leader as he was lucky enough to encourage trauma bonding between the right people while just barely managing to maintain control.
Accelerating acceleration
That's rarely the case though, employers that are bad at this sort of thing are consistently bad.
Web-development new-bee requesting review of first project
Hi Hacker News,

I am a new-bee who has just started learning web-development. I have created my first example using ExpressJS, Mongoose and MongoDB. Please review and let me know on what can be improved. Thanks!

https://github.com/NitiSinghalGupta/my-personal-space
Well that 100% depends on the contract. My hunch is if it was stated like that in the contract than they wouldn't be "asking" and this wouldn't be a news story. I don't know what kind of supplier would agree to that though, it would be a really sweet deal to reserve parts and then not have to actually you know buy them.
It seems like Venezuela was hit with a perfect storm of extremely unforgiving factors. The combination of the erosion of rule of law, populist leaders who are ignorant of economic management, and the resource curse keep driving Venezuela into a downward spiral. I have a feeling things will get even worse before they get better.
What makes you think they're not listening to their paid customers and fixing their needs? Paid customers get a direct contact.
How about using Erlang because it provides fault tolerance, and any faults resulting during the neuroevolutionary process will be contained and won't bring down the whole system? Or evolving groups of neurons in parallel, and across a distributed cluster? These things are much easier in Erlang.
Firstly, how much do you code when you are doing your undergraduate? No offense, but 2-5 hours seems too long. If so, you should first brush up your basics, and let go of the thought 'I am from a CS major'. Programming is almost always self-taught, or can't really be learnt effectively through classes, only through, you know practices. Assuming your college did an OK job, you should pick up and relearn everything relatively fast, in 2-3 months or so. Algorithmic questions can be pretty intimidating for sure, so again, practice a lot, ask your friends to do mock interviews, and go interview around with less famous companies on the market, to understand the process will also help.

Anyway, self-taught is the only way here. I have an imposer syndrome when I graduated. It does make feel better knowing that one of the best guys in our class, who we assume is already a CS guru at the very beginning, actually knows nothing about programming at that beginning. He was faking it to project confidence to us, but after getting positive feedback from the environment, he actually gained the momentum to learn and understand CS as the guru we thought he was. So it is not too late to do it all over again.

Hope this helps. :)
Apple was beleaguered before Steve came back. That's why he came back! They very nearly went out of business, you can't get much more beleaguered than that.
React Native VS Flutter, the better chart
I... mostly agree but I think that the type-class use case allows for stronger DSLs that let you seperate code from effects in a pretty clean way. A lot of functionally pure stuff works off of this and building a DSL like this without type classes or implicits might be a bit messy https://www.chrisstucchio.com/blog/2015/free_monads_in_scala...
16 Solidity Hacks/Vulnerabilities, Their Fixes and Real World Examples
It's all about volumes of scale. If you save 15% on a process on a standalone server then that saving will likely go unnoticed. However if you have several thousand servers running the same application, you've now just saved yourself 150 servers. Scale that up again to Facebook / Google's / etc scale and the savings are enormous.

This is the same reason why Facebook invested into their own PHP compiler and Google created Go.
I believe one of the reason we have professional engineering licenses which require years of working under a PE is because an engineering degree is simply not enough to weed out the loons and incompetents.

I worked for 10 years for a industrial controls company and I have a wildly more conservative attitude towards safety than most of the engineers, especially CS people I know. Far as I can tell this doesn't correlate to a having an accredited degree at all.
You may want to consider something like project management or IT auditing although you may not enjoy these fields either
It is not a mistake, silly. It is evolution. There are is no right / wrong in evolution. Each is a step out of countless (metaphorically) possibilities played out.

Maybe, it is unfair to call it a mistake without knowing what life would have been at this point in time (or say in future.).
>No, it was to assess the facts and see whether the case had merit

No, it wasn't. See e.g. the quote from the Magistrates' court judgment above.

>The police do not arrest someone on every accusation of crime

The Swedish prosecutor had a strong presumption in favor of arresting and charging Assange in this instance, as the court judgments make clear. That was on the basis of the evidence already available.

You may not be taking into account differences between the Swedish and US/UK justice systems. Formal charges are brought much later in the Swedish system, as the court judgments explain. The investigation into Assange had proceeded to a stage where charges would most likely already have been filed in the US or UK. The investigation was well beyond the stage where they would have wanted merely to talk to Assange.

>By that do you mean Hillary Clinton's repeated statements on how Assange should be dealt with?

Clinton has no power to extradite Assange. It doesn't matter what she says.

>Additionally, this wasn't a domestic abuse case. Aardin and Assange were having casual sex, not a long term relationship as is typical in domestic cases

As I said, it is not uncommon for people who are raped to remain on friendly terms with their rapists. The fact that they were not in a LTR doesn't change that.
The going rate for a cocktail in Sydney Australia is somewhere between $16-20 at the bars I would frequent a few years ago. Take a martini, with 3 shots (total) of gin and vermouth - 35mL shots for the math to work out. 750mL bottles of gin and vermouth will set you back about $30 each (retail), depending on the brand. With 22 shots per bottle it works out at about $1.40 per shot, and therefore $4.20 per drink. You're looking at $100 bottles of spirits before you start reaching the $16 mark for price of spirits alone.

For comparison, with beer you're looking at about $2 per beer retail ($50/24 bottles) and likely to pay $8 or more at a pub. This suggests a similar markup on beer to spirits, at least here.

Note however that a proper martini (or manhattan, old fashioned, etc) is likely to get you the best bang for buck as a consumer - all the 'fancy' drinks marketed toward women like frozen margaritas etc usually contain less alcohol but retain the same price tag.
The author of this answer, I note is a neuroscientist. Wouldn't be surprised if he knew Bud Tribble prior to joining NeXT, who also was a neuroscientist (or studied it a great deal).
Do you honestly and seriously align choosing a bicycle for transport where appropriate with "subsistence farming in mud huts"?

Spoiled children we are in the western world.
A fourth is monkey-patching (if you're counting implicit classes, not just implicit arguments to methods).
Revelstoke, BC sounds right up your alley.
10 Best Ways to Boost SEO on Your WordPress Website in 2018
Front End Performance Checklist
Credit rating agencies don't operate that way. They won't label a company as "effectively in default" unless a default is imminent and unavoidable. Credit ratings are based on ability to pay, not profitability. Tesla is in a precarious situation but far from actual default.
Is there a different ISA that you would have preferred to see as the basis for an open hardware industry?
Wow.. just.. wow. That poor man. It's as if the world around him was insane, and he was one of the sane few trying to do the right thing. Probably things could have been different, but overall I believe HSBC is a piece of shit who ruined this guys life. I can't imagine the stress and pressure that this has caused him and his family. Much love to them for enduring, and I hope that he can move beyond this chapter of his life. He seems like a good man.