skysight-inc/HackerNews huggingface dataset:
Ask HN: How do I get my first developer job after graduating from a bootcamp?
I've recently finished a full stack web development course and I'm finding it difficult to land a job right out of the gate. I have a fairly extensive background in marketing and advertising but I'm hoping to make a career change in tech. I've had some interviews and tech challenges and they've said that they were impressed with my experience and ability to complete the challenges but they ultimately passed. Wondering if anyone can share their experiences or offer any tips.
The only problem with theobromine is I think it raises your heart rate. That seemed to trigger headaches for me. Love how it makes me feel otherwise.
Yeah, I would imagine that at least some subset of artificial intelligence theorists would be throwing anything they could at the problem of the management of complex systems. Even if they didn't make immediate progress, it would yield a benchmark to judge future effort by.
I haven’t heard this before. Where can I read more about it?
> Can you provide some intuition on which languages can be parsed by this algorithm, and which can't?

The restriction is that any recursion in the grammar has to be inside explicit begin and end tokens. For example, you can't write a rule like

stmt = 'if' expr 'then' stmt* | expr

because `stmt` refers to itself directly, but

stmt = [ 'if' expr 'then' stmt* 'end' ] | expr

is OK -- the [ and ] symbols indicate explicit recursion using 'if' and 'end' as the begin and end tokens.[1]

> Btw, why did you choose the name Owl?

I wanted a bird name, and Owl was short and easy to type!

. . .

[1] Though in this case, the language is still visibly pushdown, since you can expand it manually to:

stmt = (('if' expr 'then')+ expr*)+ | expr

This is because the grammar only has right recursion. Middle recursion (like you get if you add an 'else' clause) can't be expanded like this, so explicit recursion is necessary to parse languages which use it.

To automate this expansion process (and re-association into a sensible parse tree), Owl also has syntax for operators with precedence. Here's an example: https://ianh.github.io/owl/try/#expr
A Comprehensive List of Resources for Learning Elm
Does for..in actually require that keys be returned in a specific order? Most languages specifically call out that the order is not guaranteed (not that that stops developers from relying on an order)
Russian Electronic Warfare Against US Troops in Syria Enters Dangerous Phase
I think the parent comment was comparing Express to Sinatra and Sails.js to Rails respectively, not altogether.
I was reading "Physics and Beyond" by Werner Heisenberg this weekend, and he mentioned reservations about Plato, specifically, speculation about the form and behavior of constituent particles of matter as described in the Timaeus. Heisenberg goes on to illustrate that in thinking critically about his disagreements with Plato, he arrived at some of his most important ideas.

The ideas presented by Plato may become outdated, but the mode of thinking required to challenge those ideas does not. Plato was not only conveying his thoughts, he was trying to teach us how to think.
I don't think the reaction should be "Let's not do this, it could hurt jobs!". I also don't think the reaction should be "This is nothing to worry about, the jobs thing will work out over time".

Right now we have the option to anticipate and act to reduce any painful shocks. later we will not have the benefit of preparation.
No thanks on both of those...
I checked FakeSpot with FakeSpotFakeSpot, a website to check the authenticity of fake-review spotting websites, and it received an A with 99% authenticity.
2.6’s JIT is entirely at the method level currently, and unfortunately for certain types of workloads (e.g. Rails) this means the performance benefit is largely outweighed by the call counters and deoptimization checks on every method invocation.

There’s definitely room for improvement, and the inclusion of JIT infrastructure is awesome, it’s just not making much of a performance impact. Yet.
Also important, they are popular. Which means more continued support, and more forks.
I see caffeine as a net negative for mental acuity. Just makes people want to punch to the deadline or skip from topic to topic.
I believe parent's intention was to say that Express is like Sinatra and Sails is like Rails.

To which I agree with the Express / Sinatra similarity.
Express -> Sinatra

Sails -> Rails
Are you at Uber? Speaking as someone who is at Uber, I wouldn't say this is the case at all. Dara's successes have largely been on the PR front (huge successes), some good partnerships and an exit in SENA which was probably the right move given circumstances but shouldn't have happened in the first place.

Things he hasn't done:
1) Kept Uber moving faster than competitors
2) Hired necessary leadership (CFO, CMO, CPO [he tried but the guy he hired originally was a total fraud. Huge swing and miss], etc.)
3) Driven focus on anything other than loyalty which is itself shaping up poorly
4) Gained back market share
5) Kept the best leaders. Losing Aaron Schildkrout alone was a massive loss, but there's been PLENTY of other leaders taking their sabbaticals and then quitting

Turning to Eats, if we got rid of that (no way we would) we would lose the most dynamic and fast moving part of our business. It's the only place that still has the talent and structure of Uber 1.0 but without the awful cultural problems.
dsnuh - I haven't seen anyone argue against "[software+hardware] would beat a human behind the wheel", its just that developing the tech to achieve this feat with the same level of accuracy as the top 10-20% of current CDL drives is extremely expensive and caries a lot of risk. Nobody seems to of cracked the nut on it.

You're right in that there are many ways to do this, but none have come even close to beating a decent human behind the wheel.
I'm saying if you limit the scope to tractor trailers hauling only 20/40 ft ISO shipping containers, then "loading/unloading" can also be done in an automated fashion. I'm saying that if you limit the problem space, and try to approach even just a single use case such as this on a major artery like I-40, I don't see any way you end up in a worse spot than human drivers.
Agree on lack of support. I have an account that is blocked. I forgot the password since it was always logged in. When I try to recover the password, it asks me a bunch of questions that I am pretty sure I am answering correctly. At the end it just tells me that the account cannot be recovered... even if I had the second factor authenticator still working and I punched in the right code. I searched high and low online but since they do not have any kind of support I have no way out. It is depressing.
peloton (comes from french word for platoon, so, close enough)
That's why I'm launching my new website, SpotFakeFakeSpot, which helps spot fake fake review spotting sites. I got the idea from my time as a sales rep selling radar detector detectors to police departments.
I have often wondered if frameworks like React which offer polymorphic methods (eg React.createElement) cause deoptimizations. The common functions also seem to be on the critical path since they will be called 100s-1000s of times per render.
> Why in the ever loving fuck are you blaming the _workers_ for this shortsightedness instead of the government organizations who are about to fuck those people over when they're 70?

Well, we are the ones paying those people's pensions, in the form of taxes, so we're the ones fucking ourselves over if they got too sweet of a deal right?

I am personally not going to get 50-100% of my maximum salary as guaranteed compensation for the rest of my life until I retire - are you? I'm not super enthusiastic about paying taxes for someone else to get a better retirement deal than me, either.

I'm fine with paying government employees what they're worth while they're working - hell, I think most of them deserve a raise. But they also should have defined contribution retirement plans, not defined benefit, like everyone else working in private industry.
>So if Plato is misunderstood, it is because he failed to make himself clear by clearly stating that an easy way of misunderstanding him is not what he actually meant.

I think your inference is partly true, but partly not true. In some cases, of course it is the case that by not saying "this is an easy way of misunderstanding" a particular claim does lead to Plato being misunderstood. But Plato is very much unlike Aristotle or the vast majority of other philosophers in that he wrote dialogues. These dialogues are (almost entirely) fictional, but they read more like a play than a treatise. So, it's not always the case that Plato is trying to be clearly understood in terms of propositions being conveyed in language.

For example, in the dialogue the Phaedo, Socrates is talking to two Pythagoreans about life and death. They ask Socrates to make arguments supporting their quasi-religious beliefs that the soul goes on after death, which Socrates does. But he does so in a very interesting way: the sequence of arguments keep pushing them until they become uncertain about their beliefs concerned the afterlife (which they then express).

So the question is: what does Plato actually want us to take away from this sequence of arguments? It seems, at least, that he is not coming at it head-on. He is not saying you should believe proposition P. Hence my scepticism that you claim is wholly true — that Plato is misunderstood because he failed to make himself clear. I do not think it is obvious that being clear was always Plato's ultimate goal. My suspicions are that he wanted to put the readers into a position where we have to figure out what we actually think is true, and what we think about the arguments themselves. I guess what I want to say here is that making himself clear, in the sense of stating propositions, is not obviously the goal of Plato.
Ask HN: What're your favorite nutritious, cheap, and tasty recipes?
For those of you who like to optimize for several or all of...

1) Cheap

2) Easy/quick to make

3) Nutritious

4) Delicious

...what are your favorite recipes?
Enterprise doesn't care about this. Enterprise cares about prices.
I usually do TDD serverless apps by debugging unit tests with jest. Is it a bad practice? Anyone can easily mock events
this way, It does not matter whether its a SNS event or an HTTP event. Overall, I have had a great experience with serverless!
I particularly like that he is signaling publicly that the clear priority for the company is cars. They could have done this silently (to save face), but this has the benefit of making clear to the employees & investors that cars are #1.

In retrospect, trucking never made sense. The supply side & demand side are both different from cars. I expect he will shut down or try to sell the remaining trucking pieces (Uber Freight) before IPO. This is the pattern from his tenure at Expedia.
So what happens if a Pennsylvanian uses a VPN or TOR? Also DD has a good case. it is a Texan organization getting sued by Pennsylvania it would be hard to argue this isn't intrastate trade.
Well such moderation requirements would be massively impractical and run afoul of safe harbor. Not to mention being defacto prior restraint. Besides even if money was no object it isn't possible to always and definitively prove truth or falsehood. Even if someone posts a five star review of chalky dry chocolate they may just have crappy taste.
There's already in many areas a requirement for aeroplanes to provide ADS-C via Inmarsat satellite updates at 15 minute intervals so that makes it easy to regulate (just increased cost making it global) https://www.aviationtoday.com/2015/09/25/ads-c-makes-increas...

The in distress technology isn't locked down yet but one option is increasing the capabilities of the existing distress beacons standards http://insidegnss.com/the-cospas-sarsat-meosar-system/
Officer: "OK, move your truck into the oncoming lane to make room for incoming emergency vehicles."

Autonomous Truck:
A great CEO is a good resource allocator. Cook doesn't blow Apple's billions on dubious side projects, he returns it to shareholders.

In the case of a startup like Uber, it's mandatory to never run low on capital before you turn profitable, or you will soon be either out of business or soon be forced to take massive dilution to stay in business. The reason their burn rate is massive in a big part part because of these dubious side projects and distractions, and it's already costs them substantial dilution. And even after decapitating most of their side projects, they can easily justify keeping a few years cash in the bank because they have a huge potential market in ride-hailing that they haven't even come close to saturating and are still burning capital building out..
Parrot did burn through quite a few pumpkings. I wouldn't call them clowns either, but I do think they led Parrot astray. Obviously Parrot is not Perl 6, but they are closely linked in many people's minds for obvious reasons.

(It's not all the pumpkings' fault, either. I think Parrot would still have been doomed if its leadership were constantly flawless, just because it was designed before Perl 6's object system was.)
> A more important question is how much room to manoeuvre does California have?

That's very hard to say.

> If California increases taxes by 5% to fix the issue how many businesses and highly paid employees will leave?

Even if it was a simple as taxes being a single number where distribution of the taxes doesn't matter, there's no consensus on the average effect of increases. And, in reality the distribution probably matters intensely.

(And, of course, taxes aren't the only lever; maybe California instead radically cuts back on mass incarceration; to the extent that California has less room to maneuver in taxes it has more on spending, which in some ways is better for this purpose—spending cuts tend to also inherently reduce the rate at which the problem is made worse, before you even consider how the savings are applied. Either spending or tax, though, may take ballot action or legislative supermajority, because much of State spending in CA is programmed by Constitution/ballot measure, and tax increases can't be done with a simple legislative majority.)
To their credit, site runs fine with javascript disabled.
Correct, and you can add arbitrarily thick insulation.
>So it's a way of imperatively declaring execution sequence dependencies that lets you reason as if there's only pure functions most of the time.

No. Monad is just a “design pattern”. It’s nice that this design pattern happens to be useful to force sequential evaluation, but it’s just one of the many things that fits the monad abstraction.
because it isn't built in js

saved you a click.
Ask HN: Is there any CDN that offers “upload tokens” to put content
I'm building an app where users can upload user generated content.

CDNs have good pricing on distribution, and I'd like the clients themselves to upload directly to the CDN without sending the data to my server (and then having the server put it on the CDN).

I'd imagine something like:

- client tells "I want to upload something of size 123123 bytes" to server

- server returns "upload token" to client, that encapsulates an authorization saying: "the holder of this token can store 123123 bytes on my behalf, content expiring on x/y/z, this auth is valid until a/b/c"

- client HTTP puts/posts 123123 bytes of data to the CDN, with the upload token passed as authorization, and gets a URL back

- client gives the URL back to the server "upload done! here's the URL to it!"

Does any CDN support this paradigm?
TIA
Isn't there a Ruby->JS transpiler?
Interfaces are excellent for defining structures in both FP and OOP paradigms in my opinion. They simply describe the shape of data. This is useful in most situations I can think of at compile time.
> It should be a relatively small effort to account for a trucks different physics.

Oh wait, I've heard that expressed before! "A mere matter of programming."
>And yes, that would have caused inflation

Which I believe is the entire point of QE. I find the current incarnation of QE (buying bonds) unimaginative at best. I get that helicopter drops are politically hard, but there's gotta be something better than this.
Computer control of vehicles is a magnitude of order worse by any data we have. This assumption that computers are going to outperform humans driving any time soon is wrong. I blame sci-fi.
At this point, Mozilla's biggest asset is the Firefox brand. Seems unwise to go with a bland, generic redesign... especially one that's a blatant rip off of GitLab.

It also seems like they're going to have two "main logos"? And incredibly different logos for each flavor of Firefox? I used to work at Mozilla, and it was already confusing enough to explain Mozilla vs Firefox to the average person.

Their current userbase is mostly less-tech-savvy people, and I can't imagine changing the icon is going to go well for Firefox. Much like how it took Firefox a decade to convince people "The Internet" wasn't just IE's "e" logo that came preinstalled, changing their icon is going to hurt way more than it helps.
The water bears can re-inflate and the future of life on earth will be some other evolutionary tract. No worries mate. Why is humanity so important anyway?
Unions are needed pretty much everywhere, but I'm curious how something as big as Amazon would crush any union. How did we let workers rights get this bad?

I don't have prime anymore, and have stopped buying from Amazon all together because I know the person who put my item in the box is being treated like they're trash. It's extremely immoral and peak exploitation.
Haha yeah on reflection it does look a bit silly. I was intending for it just to stand out against the camelcase of "WiFi" but the caps was a poor choice in hindsight.
C++ also does this. A variety of projects, such as MXNet, use JIT compilation. Native compilation gets you far, but there are times where dynamic compilation gets you farther.
"A good chance I will be able to do so" is a very different thing from "Yes, I am doing this." A more accurate response would be "I'm not doing that."

As a general note, the parent comment seems like genuine feedback. Your response to it is very petty and hostile. You should learn to take feedback better.
It's nothing like amazon.

Amazon had positive cash flow from early days and has mostly kept positive cash flow ever since (even though they don't report profits, they generated cash). Because of that they've rarely raised debt or equity, and only when they want to on their terms, never when forced to.

Because of that discipline they could work on leveraging into new businesses that had synergies with their current business. But they never tried to do them all at once. Again they were disciplined. At first it was books only. Then they moved into new products bit by bit, and established each as a good business for them before moving into new ones.
Probably because they have high marginal costs (a lot of the ticket price goes to the studios). It would be like a music venue selling you a subscription, but then has to pay the band most of the subscription price if you show up once. I guess it's possible, but there is a reason why your local venue doesn't offer a subscription.

To be successful at this you'd need buy in from the studios and that will be a tough nut to crack.

What entertainment venues were you thinking about that offer subscriptions?
Well he's great at getting the company ready to IPO and protecting the investors' money.
Most of those sound like benefits...

Trucks are more expensive: cost of sensing and compute is smaller relative cost to the vehicle.

Lots of rules about roadways and times: computers are great at adhering to, enforcing, and providing logged accountability.

Monitoring size and load: sounds much more tractable compared to general City street driving.
You're absolutely right! Trucking is a major sector of employment.

It's also a major source of life-shortening occupational health problems. The life expectancy of a trucker is 16 years shorter than the norm. Why are you so eager to protect jobs that are measurably killing the people who work them? Do you value these jobs so much that you're willing to pay for them in human lives?

For my own part, I'd rather have a million former truckers who need retraining and new skillsets than a million dead truckers. But that's me, and I'm known to be weird.
Thank you for expressing this truth so perfectly. It would be wise for many to study your words (or, preferably, history).
>> Can a machine monitor braking or perform the current brake check - absolutely.

I'm not sure you understand what a "brake check" means. It isn't checking the brakes for current functionality. It means a visual inspection of all the brake parts to ensure they aren't going to stop working somewhere literally down the road. It is checking for pins, debris, excessive or unusual wear, or leaks. It would require 3d vision backed up by some serious AI to understand what is going on. And you would probably need some sort of robotic actuator to remove any debris blocking inspection areas.

When you see a truck stopped by the road with the driver walking around the trailer, he is probably doing a legally mandated "brake check". It isn't just pumping the brakes to see they are still there.
Take a look at WebTorrent Desktop, which supports instant streaming. Disclosure: I'm the author ;)

https://webtorrent.io/desktop/

Simple, straightforward torrent app.
Long Live the Landline
In some specific cases it's actually quite clear that specific tax increases drove out a large number of high-income earners and were thus a net loss. See for example Rhode Island's Millionaire Exodus: http://theluxuryhub.com/the-tax-factor-in-rhode-islands-exod...
The ES spec doesn't require it, but every implementation does insertion order (and insertion order was a deliberate decision by Brendan in the original implementation, IIRC), and the web very much relies on it.

The "new" generation of JS VMs (V8, Chakra, Carakan) all dropped insertion order for array index properties (that is properties whose name is a uint32), but kept it for everything else; that broke about as much as browsers are willing to break, and breaking the general case would be far, far worse.
Huh? As of 2012 "[t]he vast majority of full-time civilian federal workers receive roughly half of their retirement compensation through their defined-benefit pension plans (the rest comes from Social Security)." (https://www.nationalreview.com/corner/private-vs-public-defi...)

That National Review hit piece notwithstanding, in truth defined benefit plans are, technically speaking, the most efficient form of deferred compensation. Lowest overhead with maximum value received by the [average] retiree, which theoretically permits employers to minimize total amount of compensation.

The rub is that the employer needs to fully fund the liabilities as they accrue. Government and unions, however, have been content for state employers to "pay as you go"--use today's contributions to pay yesterday's liabilities. That's a recipe for disaster.

It sucks that we've thrown the baby out with the bath water--swapped pensions for 401(k)s. Defined benefit plans are annuities, and most economists agree that the most efficient retirement savings plan is an annuity. How we pay for that annuity is a different matter altogether. We know that people aren't rational enough to choose to put their retirement savings into an annuity, so it's obvious the employer should do this for them. The only real question is how to structure the premium payments so employers can't cheat (and employees can't be complicit in the cheating).
You have $6B left. Building out ride sharing will cost more than $6B. So will building out Uber Eats. What'll it be, ride sharing, eats, or more dilution? Oh, and one of these business you are the clear #1 in, and the other, you have a chance to be #2.