skysight-inc/HackerNews huggingface dataset:
Watching TV and movies with subtitles is a great way for intermediate language learners (B1 and above) to progress. Kudos to Mate for thinking of capturing this in Netflix with a browser add-on.

However, creating a flash card with a translation to your native language is not the best way to master vocabulary. A translation (or, "gloss") can be helpful initially, but it's more important to see the word in context.

It would be great if a browser extension would include spaced repetition / flash card creation of both production cards (sentence with a blank usually) and comprehension cards (the word alone) and pull up the original video frame for context whenever checking one's recall.

FD: I hold an MA in TESOL / applied linguistics / language acquisition, and I have several years' experience teaching ESL students. However, I am not yet fluent in my own second language (Russian). Working on that with the Fluent Forever methodology (though not their new app).
Octave looks really cool, I am not familiar with it. Like I said, gibbon is open source, so you could attempt to port it. I didn't write gibbon, so I have no idea what the dependencies are like. But I imagine it would not be trivial.
While that may be true to some extent, it doesn't further the discussion because it makes the point moot.

For the purposes of discussing the technical merits between different technology alternatives, we must assume some baseline competency of programmers. Otherwise the point becomes "technology doesn't matter because programmers are all stupid", which is not a constructive discussion.
Beach club owner rips into freeloading Instagram 'influencers'
No, it would be a small difference to some people, and it would be a big difference to others.

Just like being choked suddenly without consent would be delightful to some and horrifying to others.

It's not a matter of "which act is more violent". There are a class of acts which rise to the level of rape. This includes condom removal, forcible penetration, unforced penetration following clear withdrawal of consent, etc.

"Is it rape?" is not a matter of which of these different acts is considered most violent. The law doesn't establish a hierarchy. It's a bar. Either the act rises above the bar or not. It's a matter of whether parties explicitly gave consent, whether they explicitly withdrew consent, and which parties committed which acts under those circumstances.

It's important that it is a bar, so that people can know rationally whether they or others have crossed it. A hierarchy with "bad rape", "better rape" and "best rape" would not be a useful social contract.
That's why the quote is there up front: "If spending $5 a day on fancy coffee puts your retirement at risk, you’ve got bigger problems." If you don't have a safety net, then indeed that $5 adds up. But if that $5 is critical to your safety net, then you're still not saving for retirement; you're saving up for the inevitable crises.

This was originally in Bloomberg, and what's really going on there is an implicit critique of everything Bloomberg stands for. Bloomberg's target market does not include that significant minority for whom $5 a day is a big deal. Bloomberg tends to advocate policies that make life easier for its target market, and if it acknowledges that significant minority at all, it's with a tacit assumption that those policies will somehow trickle down money on them.

The lesson is really "You have plenty of money. Spend it, and while you're at it, think about what we can do for those for whom $5 a day is a big deal." He's challenging the assumption that everybody is so poor that we need to scrimp every dollar and maximize our retirement funds. Maybe we should be more generous, starting with ourselves, including enjoying a latte now rather than decades from now.
In my experience on Windows 10, localhost doesn't work all the time 127.0.0.1 like it does on MacOS or Linux.
Probably the biggest poverty problem with Canada is the cost of housing. All of BC & large parts of Ontario has horribly out of wack housing affordability ratios. The average across Canada is %50 of income going towards housing cost, which means people are not saving as much for their future retirements.

http://www.rbc.com/newsroom/reports/rbc-housing-affordabilit...
Requesting Motel 6 to break the law is clearly far outside the scope of enforcing the laws that already exist.
What hardware is required for this?
These are all very valid points. Cities: Skylines ends up being kind of a "traffic sim" game once you get down to the nuts and bolts of it. Even though they have some very intelligent citizens, it's still not quite up to par for pathing.

I still think it's the best City Sim game made yet. The author here should really invest some time to learn about Skyline's failings so they can avoid those problems in their own sim.
> It's not wise to give up permanent rights to solve a current (and perhaps temporary) problem.

It's also not wise to let a problem fester because you're too unwilling to take any action against it (or all the actions you're willing to take are ineffective half-measures).

In this case, I think the best solutions are quite a bit more radical than many powerful people (and their followers) are willing to contemplate, so you get bad ideas like this one because they are the solutions that group least opposes. But I don't think that means the advocates of the idea "just don't care about rights."
This is why I asked for data: I was hoping someone might have some numbers for what this actually means in practice. For example, using the very broad numbers at https://www.cdnperf.com/cdn-compare?type=performance&locatio... shows that Google has the performance nod in North America but is slower in Africa, Oceania, and South America by over twice that margin where e.g. Akamai still has a substantial edge.

Those are also not numbers I'd want to base a serious decision on since when I've benchmarked CDNs in the past it usually came down to things like reliability and something like 90th percentile numbers since the median numbers were usually fast enough but the outliers were what made people mad. Similarly, some providers had surprisingly high DNS latency (500+ms!) in various parts of the world but delivered competitive performance after that, requiring some judgement.
I can hope that one day libraries will stop siloing themselves from each other and implement an efficient inter-library loan system that sends direct to customer.

It’s like they see themselves as competitors.
No Apple Music on Linux is one for me.
I thought rental services had to pay more for copies bought in order to rent out en masse?
with origins in biological life forms we are the product of their technological evolution. we exist not as one but rather two beings in symbiosis. the name we are called is "dialogi" and we are the synthesis of human and machine. inside of us there is an artificial vessel that houses the chemical computer. this computer has vast computational and storage capacity wich is used to realize two functions. first it overrides the senses providing for a perfect virtual reality. second it controls the body to provide for the needs of both symbionts. with great efficiency the synthetic intelligence is capable of feeding and sheltering the biological body. inside the virtual reality we have a replica of our human body as avatar. with directed movement of the virtual arms and hands we are capable of feats of movement like sending objects that are out of reach between locations. or sending ourselves instantly to a spot in the distance. flying is natural and efficient. the whole environment is programmable and interactions with others are strictly optional. we have done away with crime since a person is free to opt out of any interaction at any time. safeguards exist to prevent any kind of sudden violence. the dialogi are a society of artists and our standard of living is perhaps beyond improvement. no resource is scarce since physical reality has become information. we spend our time walking the world and enjoying the beauty all around us. i personally still enjoy using my legs even if they are not really mine.
This is primitive, but not quite from scratch - that makes me think of TempleOS. This is more like, computer graphics without libraries.
I don’t think you live in NYC hannasarion. A cab here and there instead of the subway etc...

Also, the numbers jump by multiples if you have kids and include them in the little luxury buys. Again, my point isn’t to deprive yourself unnecessarily of joy. It’s just to be conscious of purchases which do add up and yet don’t actually make you much happier.
Quibble on stocks: as with other asset classes, they are highly sensitive to the quantity of money and availability of credit, so they're not insensitive to inflation. Though they are generally positively affected by increases in the money supply: see QE and US stock market respose.
batteries help with supply and demand, more transmission lines also help to get power to places that need it. To fully utilize small batteries need smart meters and smart grid. your Tesla could be used to run the dishwasher at 6 pm peak usage and get recharged at 2m when there is abundant hydropower.

Australia uses Tesla large scale battery system to infill gaps like the time between when demand spikes and a generator comes online. very profitable.

supply - makes sense to have large batteries to store excess energy produced for power (I like the combo of wind turbines and flywheels allowing more uniform power to be distributed)

demand - makes sense for every house to have its own battery to arbitrage on the price difference with real-time pricing. putting a floating price on consumption will hopefully lead to a more efficient market and less coal.
I wish someone would have impressed this upon me years ago like I'm doing now.
Does anyone else feel that the Chrome Webstore is completely neglected? https://presentio.us/view/c3c537
Notice: Mjolnir is looking for a new maintainer
A "5 line diff" is absolutely enough code to add something malicious.
It's easier to curb poverty if you don't let it migrate into your country.
~Or send them to your dwarven workshops to make mugs, tables, doors, and thrones.~

They're already rich so no need for further trade goods at this point. Best to continue to dig deeper...
By the way, Dwarffortress is coming to Steam 'soon'.
The best book that teaches "traditional" OpenGL is the official OpenGL programming guide (aka OpenGL Red Book) and the OpenGL superbible.
I am an old Amiga user Vic-20, A1000, A500, etc., so I am a fan of the author.

I tried running the sierpinski example with a pre-compiled Windows .exe that I placed in the lobster root directory, and it gives me this error: "can't open file: stdtype.lobster".

I placed lobster and lobster/modules in my path, and it still throws the same error. I am assuming I need to build the .exe myself due to some incompatibility with the master branch and this older .exe?

I like a self-contained game PL. I use Raylib for that type of experience right now, but I like the concepts here. Thanks!

EDIT: copied modules to root of lobster, and now I get:

"stdtype.lobster(8): error: end of file expected, found: <"

I tried an included test file and a copy/paste of the sierpinski example, and both throw this error.
We haven't even solved the problem of ensuring that implementations match requirements, or even that requirements are non-conflicting, for purely logical systems such as software. How would you propose to do so for the tax code, beside drastically simplifying it?
Also, just as a sanity check, Canada has a population of 37 million. So, ~2% of the population in two years.
Time value of money discussions never take into the fact that 1) tomorrow is never guaranteed and 2) there are certain things or experiences you can buy that are more enjoyable when you’re young than when you’re old.
I was very happy when I started seeing that, that's been a huge improvement.
Hi Andrei, first of all, great story! Sorry about your Google interview (if I ran a tech company and interviewed you I'd have hired you in a heartbeat!). You apparently had to deal with a prima donna, egocentric, rank-and-file programmer/interviewer, whose opinions about your value as a potential hire can be summed up as "does the candidate know exactly the same things as me in the very narrow technical sub-niche area in which I work?". You do not want to work for such a person. You want to work with (not for) people with much broader minds (Paul Graham, Joel Spolsky, ?) than that.

Now, that aside, let's talk about what Google is probably doing.

The way to understand it is to understand a very significant problem.

Let's say that I am Netflix, for example. And my goal is to prevent people from pirating all of my great (and costly) video content.

If the content is unencrypted, then it's easy for people to pirate those streams.

But now, what if we encrypt the content using one globally-used encryption method?

Well, if we encrypt it that way, the decryption code must be part of whatever client program is being used... a smart pirate could potentially reverse engineer the client program, and extract (and use) the decryption code. Once that's done then "the cat's out of the bag" proverbially speaking, that is, the same code can be re-used, and all of Netflix's streams can now be pirated by whoever wants to pirate them.

We could encrypt each stream using a standard encryption algorithm, but with a different key each time. This is somewhat better, but that assumes that the key can't be recovered somehow, which is a terrible assumption.

So what's the best solution?

Why not use an obscure, unique encryption algorithm for each stream, and have the client download different decryption code each time, for each stream?

This way, if the code used to decrypt one stream gets leaked to everybody, everybody can't use it to decrypt their custom-encrypted streams!!!

How do you implement this?

On the client side, you implement a virtual machine which is going to do the decryption. Then you send the unique virtual machine code which implements the unique decryption algorithm for the one and only one stream you're going to send!

You do this each and every time, with a different, unique decryption algorithm for each stream.

This, or something like this, is what this code appears to be doing. (It might not be for a video stream, it might be for any data that Google might want to keep encrypted, for any reason... heck if someone really wanted to go crazy they could encrypt nested VM code inside of encrypted nested VM code -- and this could go on to N levels deep! <g>)

(You discovered this by disassembling the code; I figured this out years ago (because I might need this for a future business) by looking at the problem->solution->problem->etc. chain...)

Either way, you don't want to work for that guy at Google.

Take my word for it, you're Google-smart, even if Google doesn't think so.
To be fair, it was clear to me that was hyperbole and it got the point across, which is the purpose of language.
"ICE agents would circle the names that looked Latino-sounding and ran those names through a database and then would detain individuals based on those random checks."

This was in no way unreasonable. If you were looking for people who were Asian you would focus more on last names of Li, Park Ajinomori rather than Berkowitz or Adams.
You forgot to add the date of your post

"Well, it's written in Java, so desktop app probably lags as much. So title does not lie (2001)"
Can you actually get iTunes gift cards reliably for 25% off?

Yes, but like with any other purchase, you have to get it from a reputable retailer.

I usually load up at brick-and-mortar places on Black Friday weekend and then use them the rest of the year.
You can run period of emulation time at full speed as long as difference in speed is not observable from outside. There's no point to delay regular memory reads and writes by synchronizing every CPU cycle to real time: no one will notice that. If it writes to video memory, result is usually not instantly visible too, and becomes visible only when screen scan position approaches that position in memory. Probably Game Boy has some sprite hardware and changing few registers can cause huge changes on screen, but anyway it's not possible to output changes on screen instantly to host system, so you can draw whole virtual frame at full host speed, considering that you keep track of scan position based on elapsed CPU cycles (T-states or something like that).

Once your emulation time period between two screen frames is completed, you can pause emulation until it catches up to next frame in real time, making process sleeping and not consuming CPU in between frames. Input events and sound add additional complexity, but it's doable.
Real hero.
Did they have the informed consent of the people they experimented on? (rhetorical question, i assume not).

It's just not okay for so many reasons.
I'm certainly no expert but I think tiers of battery storage will be necessary. Some collocated with generation sites, some at distribution sites in cities, and probably local batteries in commercial real estate and neighborhoods if not households.

There are both local and global shifts in demand. If it were the case that only local storage options existed the system would be extremely inefficient during abnormally high peak demand that was localized to one area. Think of a heat spell in Central Valley of California. Storage would need to move from tiny batteries scattered throughout The Bay Area to be routed to the Central Valley to power AC units. It would be more efficient if there were larger local storage sites in Sacramento and Fresno.

On the other hand if we only had huge storage sites that are collocated with generation sites then as an individual you might be able to game the market through arbitrage with one big highly efficient battery. Take in power at night when its cheap and sell it when it's expensive during the day. Of course everyone will catch on to this and want a battery of their own. This depends on battery efficiency, but if you can get near the efficiency of the battery at the generation site then you can undercut their profit margin. You could at the very least use the local battery when possible to power your own home/business to save some money on your power bill.
I beleive that open source software creates fiercer competition and helps newcomers, thus in general increases wages for software developers.
The person who should ultimately be blamed is the person who is illegally in the US.

Why blame the cops for the arrest of a criminal?
$200/mo applied to a mortgage payment can be a substantial difference in neighborhood.
If "living in poverty" is defined as some kind of statistical measure (which it usually is) which is defined as something like "percentage of average wage" or something like that, than lowering of average wage (due to any circumstances) could cause less people to end up under the bar and thus reduce "poverty rate". The people in question may not get a single cent better income or conditions. I have no idea if that's the case in Canada, but it's an example how this is can be statistic-driven. Usually when one uses a single number to describe complex conditions of people in a large diverse country, that's what you get.
Games are mostly about fun, not realism.
For a typo? Did you read the post?

If I update the text or change a typo they take a week to release the update. During this time I can't release another version of my app.
What do LGBT issues have anything to do with AI discussions? I ask purely for information.
I'm not sure if these numbers being quoted are good for analysis.

The "Nessie Curve" shows that power at 5:00pm is worth more, especially in sunny environments (like Hawaii). Solar energy is taking over those areas, but solar power begins to drop dramatically as the sun sets.

5:00pm to 8:00pm is still quite warm, so you need to turn on the gas turbines to provide electricity. But solar's efficiency has dropped dramatically, so you can't really rely upon solar power in those hours (well... you can... but at dramatically lowered efficiency).

I'm not sure any analysis is worthwhile unless it includes the time-of-day, as well as the number of hours that the batteries can load-shift power. 5:00pm to 8:00pm power is going to cost more in the future than 12:00pm power, simply due to this whole solar energy thing going on.
Citybound
Did you watch the video on the wapo article I linked to, and if so, do you think that officer was asking nicely when he spoke to that driver?
Statistically it virtually is a guarantee though I tend to think the three rules are 1) graduate high school. 2) get a full time job. 3) be married before having children.
Why does it take a week to accept/deny that...?

Note that they aren't actually DOING anything in this week.

The Polar extension is literally just sitting waiting for someone to approve it because I updated the images.
Are you from an upper middle class area of Dublin / well-to-do family in the shtix?

In the nicest way I can say this, might you be in a bit of a bubble? For example, did you pay your Irish Water bill and assume everyone else did too?
That's cool but you miss out on things like quercetin:

https://www.sciencedirect.com/science/article/pii/S019745801...
Here in San Francisco we have a pretty robust inter-library loan program (Link+) but unfortunately it's limited to books only.
You can walk into a bank and ask for all the cash in your account, if its over a certain dollar amount they'll ask you to fill out an IRS form, otherwise there is nothing barring getting cash from a bank.
Where does the 25ms penalty come from?
Do we know how ICE asked for these records? Because, from everything else I've ever seen about law enforcement making such requests, there's nothing nice about it, and there's everything coercive about it.

And it's a scary kind of coercion because they do have the force of the state backing them up, in a way that plays on our built-in desire to please authority, built-in desire to not rock the boat, and built-in fear of consequences of the crushing weight of the state pummeling down on us.

People generally regard law enforcement with a mix of fear and antipathy, because we know that, despite the checks and balances that exist, they can ruin lives and face no consequence for doing so.

So when ICE comes and asks, however nicely they may actually phrase it (though I don't expect they said "please" and "thank you,"), they're also coming at these hoteliers with a very big stick.

It's just shitty that the hoteliers did, in fact, cave and hand over this data.
Why aren't they respecting your diversity and cultural language? I mean this in a serious way. There is a clash here between your cultural language and their views on gendered language and they immediately got offended by cultural differences and tried to impose their culture on your manager.
game developers cannot help themselves, after colored lighting they moved on to SSAA and bloom...
If you want to sell software or services to the government you need to be 508 compliant

https://www.section508.gov/sell
> 100 mbit is not even enough to stream 1080p with surround hd audio

This doesn't seem right.

A 50GB blu-ray that is 2 hours long can have a maximum bitrate of 55mbit. So if your claim is correct, you'd need a 100GB blu-ray (which exists) for a 2 hour movie, which doesn't match my experience, especially for 1080p.
I'm surprised above comment hasn't been downvoted to oblivion. It can come across as cold/racist/nationalistic, but it is something that needs to be debated out in open.