skysight-inc/HackerNews huggingface dataset:
Lisp in 1962 did it, it had a compiler and the implementation could mix interpreted and compiled code.

One takes an interpreted function, which can be defined at runtime, compile it to assembler and have the assembler generate machine code in binary program space. The Lisp system then notes that this is now a compiled function.

http://www.softwarepreservation.org/projects/LISP/book/LISP%...

> The LISP Compiler is a program written in LISP that translates S-expression definitions of functions into machine language subroutines. It is an optional feature that makes programs run many times faster than they would if they were to be interpreted at run time by the interpreter.

> When the compiler is called upon to compile a function, it looks for an EXPR or FEXPR on the property list of the function name. The compiler then translates this S-expression into an S-expression that represents a subroutine in the LISP Assembly Language (LAP). LAP then proceeds to assemble this program into binary program space. Thus an EXPR, or an FEXPR, has been changed to a SUBR or an FSUBR, respectively.

...

> 1. It is not necessary to compile all of the functions that are used in a particular run. The interpreter is designed to link with compiled functions. Compiled functions that use interpreted functions will call the interpreter to evaluate these at run time.

> 2. The order in which functions are compiled is of no significance. It is not even necessary to have all of the functions defined until they are actually used at run time. (Specialforms are an exception to this rule. They must be defined before any function that calls them is compiled. )
Lyrics tend to not be understood by the DJs and publishers. Can you imagine Lucy in the Sky with Diamonds being broadcast while the DJ and publishers understood the lyrics?

For a more ontopic subject, think of heroin usage (Red Hot Chili Peppers) or songs describing automutilation (quite common in goth music). Examples like these make the term depression less abstract.
I’m usually the last person to say this. But someone should definitely get fired over the 3 year keyboard fiasco. After the problems they had when they were first introduced in the 12” MacBook, someone should have said its time to switch directions.
Blooming into Membership and Lending Season
> Since Amazon’s current employee base skews male, the examples of ‘successful hires’ also, mechanistically, skewed male and so, therefore, did this system’s selection of resumés. Amazon spotted this and the system was never put into production.

Couldn't they have retrained the system with a 50/50 mix of males / females resumes ? Or restrict the use of the algorithm to sort male resumes ? Or maybe resumes don't actually correlate at all with success in Amazon ...
gRPC is not exposed to the Cadence users directly. They program against the client side library that completely hides the communication mechanism. And you are free to choose any object serialization mechanism. Currently JSON is the default wire encoding.
That is what I was saying; but [s]he's right that implementation details always seep in by way of assumptions that clients make. It's extremely expensive to write an API definition that encompasses every possible edge case—probably only feasible in certain life/money-critical applications.
I like Chipotle and the New York Times.
It's gonna be fun to watch when this runs up against the ADA.
If you have any playlists that move nicely away from sad music to uplifting ones I'd love to know about them :)
Truly epic fuckup. Boggles the mind.
The only thing wrong here is proprietary part.
It's your system, the installer doesn't know what you're doing with it. Maybe you have your own programs depending on those files?
I disagree, as does the majority of the modern evidence and professional opinions that I have found. It's funny how just like with reddit, people downvote what they disagree with regardless of evidence to the contrary

>Journalists and policy makers do their constituencies a disservice in cases where they link acts of real-world violence with the perpetrators’ exposure to violent video games or other violent media. There’s little scientific evidence to support the connection, and it may distract us from addressing those issues that we know contribute to real-world violence.

https://div46amplifier.com/2017/06/12/news-media-public-educ...

>Unexpectedly, many of the results were suggestive of a decrease in violent crime in response to violent video games. Possible explanations for these unforeseen findings are discussed and researchers are cautioned about generalizing the results from laboratory and correlational studies to severe forms of violent behavior.

https://psycnet.apa.org/doiLanding?doi=10.1037%2Fppm0000030

>Results indicated that studies of VVGs and aggression appear to be particularly prone to false positive results. Studies of VVGs and prosocial behavior, by contrast are heterogeneous and did not demonstrate any indication of false positive results.

https://www.sciencedirect.com/science/article/abs/pii/S01602...

>Researchers in Germany used functional magnetic resonance imaging (fMRI) on long-term players of violent video games and found that they had the same neural response to emotionally provocative images as non-gamers. This finding suggests that empathy is not blunted by playing such games long-term.

https://www.sciencedaily.com/releases/2017/03/170308081057.h...

>Results indicated that publication bias does exist for experimental studies of aggressive behavior, as well as for non-experimental studies of aggressive behavior and aggressive thoughts. Research in other areas, including prosocial behavior and experimental studies of aggressive thoughts were less susceptible to publication bias.

https://www.sciencedirect.com/science/article/pii/S135917890...

>During the video game epoch, youth violence in the United States and elsewhere has plummeted to 40-year lows, not risen as would have been expected if the 2005 APA resolution were accurate. Although we do not assert video games are responsible for this decline (such would be an ecological fallacy), this decline in societal violence is in conflict with claims that violent video games and interactive media are important public health concerns. The statistical data are simply not bearing out this concern and should not be ignored.

https://www.scribd.com/doc/223284732/Scholar-s-Open-Letter-t...
I've only done a very small amount of hiring, but I honestly can't imagine assigning take-home work over an hour or two without paying the applicant for their time. I can't see how an ethical engineer can do otherwise.
Look up a book called Encyclopedia of Ethical Failure

It's produced by the Federal Government as a way to show people the 'grave consequences' of misbehaving as a government employee.

I'm not a government employee, but it was recommended to me and it floored me. The amount of shit you can get away with if you are a government employee is mind boggling.

I think this book should be read by every school child so they know the type of double standard and corruption that is rampant in government.
My car tells me when to replace the oil. I don't even think about it, the amber light tells me when to do it.
HNers can't resist their "DAE hate javascript" hobby horse in a topic with javascript in the title. Usually accompanied with the snipe that you only use javascript because you're incompetent and have never tried anything else.
Vernor Vinge (or his publishers at least) have just made another $20. Thank you so much!
>I can't imagine it'd be capable offroad.

Haven't Tesla explicity forbidden the vehicles from going off-road through voiding the warranty?
I see it now: https://support.mozilla.org/en-US/questions/934492

I had no idea about:config worked in the Android app as well.
I understand how valuations work but I guess where I'm confused is that people on HN seem to conflate market value with size or even revenue.

After some googling it seems that my intuition about the relevance of stock prices is mostly right:

https://eu.usatoday.com/story/money/columnist/krantz/2012/10...

> If the stock price falls, these investors lose money, not the company.

The stock price is entirely speculative and detached from the company's actual performance. At best it's informed by a perception of the company's performance and an expectation of how the stock price might change in the future in reaction to the company's future performance.

While shares will be worthless if the company goes bankrupt, the company won't be directly affected if the stock market plummets -- except in situations where (additional) stock can be used as a currency in lieu of actual cash, like buying out competitors.

So to answer my own question: market cap (but mostly share price really) is only a measure of company size in so far as it indicates how much money the company could generate by selling additional shares. It doesn't provide any indication of how well the company is doing financially, how many employees it has, how much market share it serves or any other measure of size BUT generally people are willing to pay more for shares of companies that are likely to grow or at least outperform their competitors in the short term.

EDIT: In other words, yes, an overhyped two man operation running at a financial loss could end up with a massive market cap but in practice it's unlikely to happen because hype rarely works that well.
OT/IT Convergence Requires Team Effort for Security
>I just wish it wasn't implemented in Scheme (only because I am not familiar with the language

It is a functional-first, small and clean variety of lisp. A much more beefed-up cousin is Racket, but some implementations of scheme (in particular Guile and CHICKEN) have excellent ecosystems.

Scheme is a language that deserves to be used more. It simplicity is deceptive. It is extremely powerful because although the basic components are simple, there is virtually no limitation on how they may be composed.

There is literally only a single drawback to using Scheme (it might appear that being dynamically typed is a weakness, but both CHICKEN and Racket offer typed variants), is that it is sadly extremely unportable. The specification for Scheme is very small, and a large number of implementations exist which go beyond this standard - so basically none are compatible with eachother.
Check the Missed Material Angular Select on GitHub
Take-homes are valid. Maybe 4-5 hours worth of take-home is a reasonable approach to seeing if someone is really a decent coder. Lots of companies will ask you to spend 4-5 hours in an onsite interview. Substituting much of that onsite interview time with an take-home exercise has its pros and cons, but it's not insane, and it's not exploitative.

50 hours is not reasonable or valid.
That already happened - just turn on CNN.
> Most? Source? What does this "focus" mean anyway?

Focus means they care about your privacy. Here's a good chart: https://thatoneprivacysite.net/simple-vpn-comparison-chart/. As you can see, the vast majority of the popular ones are in the green. Some even went to court to prove their "no logging" claim.

> All? Source? Cause mine doesn't.

How do you know? And they for sure store your IP and the sites you've connected to.

> Unless your VPN (or someone else who has access to the network) logs all data, and someone does correlation attacks. And if someone on your VPN does nefarious things (for which they need to "hide their IP") then you can be sure the likelihood of correlation attacks and logging has... well, increased.

On the other hand, the ISP just gets everything directly and easily.

> Why do you need to "hide your IP"? On "all your traffic"? I don't need to hide my IP at all. Even if I'd get (D)DoSed on my cable internet (why?!), I'd just use DHCP to get a new IP address.

Good for you if you don't need to hide your IP. Some people post stuff that might get them in trouble, you know? These days you can get jailed because you've shared a video (of, say, the recent mosque shooting). Or a comment on twitter criticizing a transgender (https://www.breitbart.com/europe/2019/02/10/uk-mother-arrest...)

> If you need to "hide your IP", depending on your adversary, it might be worth it to use Tor.

It's for sure better than direct connection...
Personally I find that I can use certain sad music to push through vague mopey depression into a state where I can do something about it.

If I just sit there being sad and useless I’m gonna start feeling sad about how long I’ve been sitting there moping and it’s a horrible downward spiral.

If I lay there on the floor in the dark with headphones on listening to a double album full of exquisitely constructed instrumental crystals of particular flavors of sadness then I am likely to actually start crying and find some release from the endless circles around the mental drain. Or I might also start laughing at what a caricature of an emotion I’m being by doing this - and then the sadness is banished in another way.

Aphex Twin’s “Selected Ambient Works, Volume 2” is my go-to album for this. That or Nine Inch Nails if I want to be more angry. Which probably tells you a lot about my age.
The problem itself is a deceased equine that I'll not further bludgeon here, but the comments section of that story was interesting in its level of apologetics. "Hey, they're fixing it, quit complaining." In 30 years of owning laptop computers, having never once had a keyboard go bad including the coffee-spilled ones, a speck of dust renders my keyboard unusable and I'm just supposed to suck it up without complaint? (Hypothetically; I personally have a MBP, but not a newer one.)

I lied, I'll take one whack at this dead horse: with support costs continuing to escalate (in-store inventory, training, and employees aren't free), now will you fix the keyboards for realsies this time?
I don't have any specific guides about my setup, but here are a few things that have been helpful to me:

- Good starting point for setting up macOS under QEMU/KVM: https://github.com/kholia/OSX-KVM

- DSDT/SSDT patching: https://www.tonymacx86.com/threads/ssdt-gpu-graphics-card-in...

- AMD reset bug: https://www.reddit.com/r/VFIO/comments/5h351m/gpu_stuck_in_d...

- Kernel extension that can help with some GPU issues: https://github.com/acidanthera/WhateverGreen

The DSDT/SSDT patch was probably the trickiest thing. I've posted my particular patch here if you're interested: https://pastebin.com/ngvkVZYN

Also, a few of my other scripts/config: https://pastebin.com/9Nh5rheZ
Well China also had pretty amazing luck in this regard.

Japan is the opposite...
I suppose, but "an hour" basically means straight-up non-stop typing for something like this. It would be stream-of-consciousness coding like in a hacker movie.

That's more than just "flow" that they're expecting to see.
No, but that's it's Achilles heel. You can't really just the fundamental part of the language because a gajillion websites are already in existence using it. We're stuck with the janky.
It's still very rude not to respond to someone's efforts just because they took extra time to get things right.

But yeah, as another commenter said, they gave two weeks and it seems like a multiparter.
This is a beautiful user interface, but in my business, ~40% of our payments are through PayPal. To integrate Stripe Checkout, we would have to ask the customer whether they're paying with a card or using PayPal prior to displaying the Stripe UI.

While that is not the worst option, our current UX is similar to Shopify, where there is an accordion component with multiple options: PayPal, Credit Card, Apple Pay, etc..

Stripe wants to fetch a premium with this feature. As such, they should bite the bullet and allow merchants to integrate PayPal as a secondary option (similar to how Apple Pay is displayed).

I will say that this is a pretty nice improvement from the modal Stripe Checkout that has been around for several years.
If they worked for free it would be illegal in the U.S. (violation of minimum wage laws).
I don't get it. This guy can feel free to not listen to podcasts. It's not killing music by any stretch of the imagination. I still find plenty of bars and restaurants that annoy me with having a local band play that I don't really want to listen to. There really is nothing forcing you to identify and listen to podcasts.
I had a company give me an assignment to create an API for matching an order book. Business logic, web API, “must be production level code”, documentation, set up instructions, and tests. Estimated time: 2-3 hours.

I did it in 6 because I enjoy that sort of work and considered myself fast. I sent it to them along with an email saying there was no way someone could do it in 3, let alone 2, and I wasn’t interested in moving forward.
Stripe hosts the whole checkout page with this. So, you generate a link in the js client library and then redirect to it.
> Can someone give me some pointers to reading material on this.

Wish I could help you with this, but I have been out of the loop with Nim recently.

> I don't really understand why you'd want this in a compiled language.

Quick iteration in development. Not needing to manually recompile every time you make a small change.
> I was desperate for a job

> decided to put everything else on hold

> That in turn is making my life miserable ... anxiety attacks

> Why get someone's hopes high just to fuck them right in the face

> because there were a bunch of typos in it.

Overall if OP manages to process it the right way it'll be a very good life lesson. Never put yourself in such a weak position if you can't accept defeat. Also, if it took him 50 hours, either the task was way to big or he wasn't a fit.

- Spending a lot of time on something doesn't equal success

- Don't get miserable over things that are not in your control [0]

- Don't trust companies, they're money printing machines, not charities.

- Most people don't care about you / your time, unless it's in their direct personal interest

- Always have a backup plan

[0] http://www.sacred-texts.com/cla/dep/dep045.htm
Rivian is valued at $7 billion, and has not shipped a product ever? Crazy.
> Sad music is a type of immersion therapy. Confronting your fears is always the best way to overcome them.

I couldn't stress this enough.

Also there is a danger when in a depressive(depressed?) state to stay in it by feeding back the beast.

I got stuck for two days once listening non-stop to https://www.youtube.com/watch?v=uAcALH67-2A (Hans Zimmer - Time (OST "Inception") │ Fingerstyle guitar) and https://www.youtube.com/watch?v=IuEEEwgdAZs (Hans Zimmer - INTERSTELLAR⎪12 STRING FINGERSTYLE GUITAR). I suspect the sadness I experience when listening to it comes from the threads I weaved between elements of my own life and those movies. Now I can't listen to those tracks anymore.

I mentionned that because the sad track (adagio for strings) used in the experiment is a happy one for me since it reminds me of the Homeworld opening sequence (which bring elements of "let's move forward" and "let's fight for our lives").
> If you're afraid of leaks give it to the family or upper management.

If you're afraid of leaks, those might be the worst people to give it to.
Books have been mentioned already, maybe listening to lectures can help because you will realize it quickly once you loose your attention. Khan academy's lecture videos are great too.
Can we make many small ones instead of one big one?
I used Ancestry in the past but didn't really get much info, basically I'm Mediterranean which I know I am since that's where I grew up and links to some random 6th degree cousins which TBH could be anyone given that I'm from a country with a total population of ~4M.

I ended up downloading my data and canceling my Ancestry service since I wasn't comfortable with how that data could potentially be used in the future (one term of services change from sketchy stuff happening).

Question to people here, what can I do with this data I've downloaded? Data was surprisingly small, just 5MB - with 5 rows: rsid, chromosome, position, allele 1, allele 2. Is there any OSS software I can run on my machine to learn something useful about myself?
It is the latter. The workflow state object is chached including the goroutines the workflow code is blocked on. And the new events are applied to the cached object.
Have they figured out how to support Apple Pay and subscriptions?
I bet $1,000. :(
I have almost two decades of experience as a software developer, working for a number of big name companies.

First, I will never accept home assignment. There is lots of problems with this even if intentions are good.

I assume this kind of request tells me something about the organization and the manager making the request.

I will ask if it is company policy or local initiative. Sometimes managers just don't know any better.

I would politely explain why I won't comply. I will propose alternative solution which is session over Skype that lets me show how I work while I gather requirements, design, implement and verify the solution

Lastly, I will observe the manager dealing with the unexpected request and grade based on how she deals with it. Remember, they want to got to know you to get better deal, you should do the same.
I'll personally support this claim, on my iPhone Apple Pay is so seamless (finger over home button and done) that I'll consciously want to purchase it more.

Similar story for one-click solutions such as paypal and amazon. If I don't have to get my card out then I'm far more likely to make a purchase.
I've always pictured listening to "sad music" as a sort of equivalent to double-clutching a truck or stepping onto a moving walkway. The music has to be well-synced emotionally or it'll just clash instead of applying useful pressure.

There's also an aspect of externalizing the negative feelings to deal with them better. When it's deep, well-founded sadness that probably looks like catharsis, but it even works for 'pointless' sadness over sleep deprivation or an already-resolved problem. Anchoring those feelings to music essentially helps me play a trick on my monkey brain. "Sad for no reason" is hard to shake directly, so it can be easier to transition through "I'm sad and there's sad music, that must be the cause, clearly happy music will make me un-sad!"
Not for a couple years now. Don’t know if they kept this program, I personally noticed only superficial improvement.