skysight-inc/HackerNews huggingface dataset:
>twice

I'm not sure, but I think that after the first time the officer should say "don't use that language at me" and therefore probably tells the citizen that they are causing harassment and distress. Then if they continue to do it, after the warning, it becomes an offence. So perhaps it should be "continues to use offensive language after a warning about the language has been given".
I thought we were sure about what will happen. Won't it, according to the models, lead to catastrophic global warming? We're spending enormous sums of taxpayers' money on that basis. It does also cause greening of the planet but that's of little interest to anyone.
All of those are no problem with the right tools. Any database IDE can debug SPs. You can unit test SPs like any other code just use a testrunner.
Maybe you can try to find or create a curated multireddit focused on those topic.
Nonstop Cyber Attacks Drive Israel to Build Hack-Proof Defense
I think that would a good separation of concerns, I didn't know Kong, but it seems that is more specialised tool supporting Oauth2, Rate limit, Ip filtering ..etc via plugins.
I would like to see both tools running in Docker and working together.
I started this public gist to explore this solution
https://gist.github.com/alfonsodev/6a6c66b4074248ed9702
feel free to comment and collaborate there.
I find it strange when people adhere to these extremely dogmatic ideas about stored procedures. They appear to be either on one end of the scale or the other, ie. they either put all their logic in to Stored Procedures, or refuse to use them at all.

Of course, the reality is that people who use them reasonably do exist and are probably in the majority. You just rarely hear them talk about it because I suspect that they hold the same views about Stored Procedures, Constraints and any other DBMS feature as they do with any other software development tool ie. Use the right one for the job.
yeah.

and helpfully, in this context, if you're starting from the point of minimising the L2 error between the output of some linear function and a target, then the resulting linear system will have the form $A^T A x = A^T b$, so the matrix in question is $A^T A$, so it'll always be positive semidefinite.
I'm working for a startup that addresses this by means of a simpla wrapper API: http://heliumhq.com. Human-readable tests with no more HTML IDs, CSS selectors, XPaths or other implementation details.
This “app view” is natural, because it’s less about bookmarking, and more about sharing — one of the key concepts behind the Web.
I've wondered about doing this before for copy protection; mixing the order of bullet points, and so on. You can't stop copies, but you can see who made the copies potentially.
Download almost every Reddit comment ever written – all 1.6B of them
GHAAS: Growth Hacking as a Service
Yes in the long run the amount of greenhouse gases we have already released will result in very significant warming and the melting of all the ice caps. What we don't know for sure is how long this will take and if we will hit any positive feedback loops that will accelerate the process. If we do we will want to have other ways of keeping things from getting out of control.
12 Most Useful Google Chrome Browser Chrome:// Commands
Maybe have a look at this also: https://www.coursera.org/learn/machine-learning/
so web focused is not technical or professional?
8 Twitter feeds about vans/trucks to follow
You still find a remnant of thorn in English to: The "y" in "ye" (e.g "ye olde") is used in place of Thorn - "ye" is just "the" (and should be pronounced as "the").
There are some images still in registry v1, I recon a problem like that where it gives you another URL
Speed of light and Moon distance from an occultation of Mars by the Moon
Learn the stack they use, play with it, make sure you understand it. Also, find out what version control system they use and get comfortable using it - source control's vital stuff when working in a team and something that you may well have not really used so far in CS.
If the company is profitable, study up on what the company does to make money. Look at the business side of things rather than the technology side. As a software guy, your job is to create stuff that people will buy, increase productivity, or reduce expenses.
If you want a nice Japanese knife in Australia, chefsarmoury.com is based in AU.
Sorry but databases are just a hole to put your shit in when you want it out of memory.

You've got to be joking, right?

Data is an enterprise's single biggest asset. A robust, consistent and performant store is vital. SPs can be written as garbage like any other logic, but in the right hands they are a perfectly valid tool for providing useful access to complex data.
Yes, but if / returns a html file, and /.json returns the json, it's impossible for a browser to display the json by accident (no matter what the header is).

And yes, the header seems correct, Checking, that's the API demo, the GUI is separate. Thus the confusion.

Yeah, headers are the right way to do it, but a different path is also the right way to do it, and extensions like .json can make that simpler in some cases. Or /api/ prefixes.
squints

Public signage typically has high visual contrast, doesn't it? The dynamic, somewhat critical information these are displaying is tragically muddy and hard to resolve, even from some of these photos here.

A shame. Before seeing the end-result, I thought it was a cracking-good idea.
Learn the stack. Chances are, your work will be pretty different from anything you learnt in your cs courses.
There used to be a time when the free world looked to authoritarian states like Russia and reprimanded them for large prison populations. The gulag was a symbol of oppression and a loss of human freedom. I find it strange we have surpassed the incarceration rates of these nations and even stranger that mass incarceration is seen as something to be proud of.
You are speaking from ignorance with the voice of authority.

I worked on a rails app that handled a billion requests per day. The problem isn't performance of the web framework, those are easy to load balance and split into C or cache when you need it. The problem is scaling your database, keeping your data secure, and iterating to meet business goals with a growing codebase and infrastructure. A mess of stored procedures would restrain you from doing all three.

And I know, I worked on a codebase in 1999 that did this because of the "performance gains". It ended up bricking the project due to inability to iterate.
My impression may very well be wrong.
Maybe the (education of the) people behind are even less relevant.

The community I am looking for should focus on professional software development. The occasional "look at this new framework" and such is ok but HN is just bloated with posts around web startups, becoming a web developer and finding out about computer science basics.

edit: clarified "education"
1) Makes no sense whatsoever; stored procedures are typically going to be much faster than the equivalent mix of application-level code written in a scripting language that needs to communicate with a database and is likely vastly slower than PL/pgSQL or PL/SQL. The hardware licensing costs having nothing to do with stored procedures and apply just as much to anything else (there's free as an beer options and costly proprietary ones in either case).

2) This is not a reasonable objection, I could replace "loaded" with "compiled" and your non-argument would make just as much sense. The alternative does not make the "complexity" go away, it just distributes across multiple languages in your application and database.

3) No.

4) Another non-argument against stored procedures. For example, suppose I have a table "time_series(series_id INT, tstamp TIMESTAMP, val NUMERIC)". A common need would be to accumulate all points (tstamp, val) associated with a series_id. Following your logic, you either end up with tons of con the application side sending similar variations of a query that looks like "SELECT tstamp, val FROM time_series WHERE series_id = $x ORDER BY tstamp" or you create one application-level module that acts as an abstraction around a query like that. In the first case, you're doing massive duplication. In the second case, you've essentially made a stored procedure that is distributed across your database and application and all the issues you raised of having to write something to talk to it apply just the same.

5) Again, no. DBs are precisely to place to deal with issues like this as they have means for dealing with things like foreign tables. The application-level alternative just means re-inventing it all yourself and you're probably going to make a lot more mistakes and write a lot more code that way.

6) Non-argument (applies just as well to Rails, Python, Linux, etc.)
Depends on the job, but algorithms and stuff in the real world are highly technical matters and rarely successful companies will put youngsters against them.

The best way to make a good impression is to learn their stack and be familiar with their tools.

For example, if they use 'Docker' try to get familiar with Docker. If they use git, rails, MySQL and Redis try to familiarize yourself with basic concepts. Try to create a similar setup and re-create the environment at home, etc. Play with it, try to read a few tutorials about it, learn the slang quickly.

However, don't be afraid to ask. Do your homework and when not sure ask, the more specific the question, the better. Especially in the beginning asking (even stupid questions) could save your day.
I don't know why you are downvoted.
My best bet is that the equipment is some crappy cheap stuff and somehow the encoding process skips at some times for whatever reason.
Maybe it's too hot, something overheats, buffers... or just a bug of some ancient software.

I suppose this is just a bad choice in equipment. For example, in Germany CCTV cams in underground stations seem to have an incredibly bad black/white low-resolution quality and when bad things happen people are supposed to recognize some blurry face..
Yeah. Lot of the time, for a CRUD app, the who layer between rendering and data storage doesn't really do much besides validations, and those can be in database, so whole middle layer can be unnecessary.

Sometimes, the logic has to be in database, because it is single point of truth and because many application servers are hard to synchronize with regards to "you get max 3 attempts at login" or "you have to have enough balance to do bank transfer".

Sometimes, lot of your logic is in database, because database can do a lot of things in really fast and practical way, like aggregation and reporting and various data exploration tasks.

Sometimes, the database is just dumb store of object oriented data.

It depends on the application.
Or, as I've read elsewhere, you pad unimportant sections of the video by looping, then cut out a few short important bits, and the overall length is unchanged.
Singularity stuff just needs an AI that is human-level and can improve itself.

Then again, the self-improving feedback loop might stop for reasons unknown now.
This article doesn't properly projekt the magik of runes for one or more of the following reasons:

1. Runes are like magik (see my site runesaremagik.tumbler.com)

2. Who cares? Elvish.

3. Who cares? Klingon.

4. Who cares? ... everybodycares.js. It'll make your life as a front-end full-stack developer engineer designer hacker a lot easier by using stuff you already know to make new stuff with runes.

5. Heresy happens when you aren't sufficiently vigilant. Check your corners. They're coming for us.
You can watch hacker attacks in real-time here:

http://map.norsecorp.com
or
https://www.fireeye.com/cyber-map/threat-map.html

To be honest, if you ever examined your server logs you know that is nothing to get excited about.
Yeah. I suspect that lot of hate of logic in DB is because of bad Oracle setups many years ago, kind of like lot of people think SQL is useless because MySQL is.
Did you even read whole comment?
It's a fast approach that gives some test coverage, but some of the most important things to test are around the interaction of multiple transactions, which you can't do if you're using a single big transaction to run your test.
E-ink was not prepared for this and it can evolve. If you don't like it, think as a good start.
Ask HN: Animation VS. Live Action Video for App Demo
I'm working on app redesign and I need to show users how to use new gestures to control the app.
Here's what my in-app animation draft looks like when a user clicks "Show Gestures" button:
https://youtu.be/SjRbqp3x6ZQ

Is this animation clear enough to demonstrate the gestures?
Alternatively here's a draft of live action video that shows the same thing:
https://youtu.be/v3myHBXcT34

I think the second video is a clearer depiction, but I don't want to send users to watch video online to learn. In-app animation would be a smoother experience. Which approach would work better for you?
java+spring+swagger+hibernate
Agreed - the cognitive load associated with tame is so minimal, that almost everyone gets it, and can use it, immediately.

I don't think I've ever met a casual sysadmin who groks SELinux, and I've never met a user who understands what it's all about.

Something that does 90% of the job that is used 50% of the time, is better than something that does 99% of the job and is used 1% of the time.
Looks interesting, and an invite would be nice :) Unfortunately I have so far not seen the need to do anything with keybase.io - that is not an official requirement, is it?
Hey Twitter, Killing Anonymity's a Dumb Way to Fight Trolls
You may also want a website you a reading to stay in business and proffit from their work.

I think ad blocking days are numbered, the more mainstream it becomes the more likley the ad networks are to respond.
The people involved in this research are not suggesting we try this - they are suggesting we work on alternatives in case we really need them.

I agree 100% that we need to do far more to reduce our emissions, but right now not enough is being done. If we don't get our act together in time, or things on the warming front move faster than everyone hopes, then we need alternatives. We only have one world.
I love the configuration format and the .nix files for my laptop setup is very managable. Since I have the same hardware as my brother, we've set up a repository with the main configuration with custom files for our own options. So for example, I enabled Avahi ZeroConf DNS (one .nix line) and my brother only needed to pull the repo and run NixOS's "rebuild & switch" command.

The really great thing about the configuration language is that the same dependency tracking used for packages is used for all values in the system... So for example, if you have servers set up as Nix packages whose configs refer to the Nix variable for the system hostname, then if you change the hostname, those packages will be reconfigured automatically.

Yeah, there's quite a bit of work needed on packages, but I actually haven't had any trouble. I believe the "unstable" channel is defined as the latest set of packages that all build successfully together on Hydra, and the "stable" channels are Ubuntu-like LTS releases.

Anyhow I encourage people to give it a go! They have Amazon AMI images you can use to run NixOS on EC2 easily, the community is nice, and you can find lots of example configs on GitHub. Something like NixOS is bound to win as far as I'm concerned. Next level stuff!
But the length is actually increased by about a minute from the sound of it. Unless they also cut some parts of the audio but then forgot to match the length up again, which seems like a really weird mistake to make...
> They do it because they can, because they are taught power and control over people is everything and the slightest challenge should be met with extreme force.

Maybe they do it for more mundane reasons: because they are bored of nothing happening and just decide to check a car to break monotony. Maybe they are having a bad day and something that would not have bothered them any other day is pissing them off.

The problem is that comparatively to other first world countries, the US society is quite violent. You put a small army of armed regular human being on the street in a country with a small to medium expectation of violence and stupidity will have dearer consequences.
You can do that using SQL views. That means you can provide consistent api of your choosing no matter how the original tables look like. Postgrest docs also describe how you should use this feature to version you API.
You had me until your last sentence. Database are very important to (and very good at) store your data. And data is important (duh). All the issues you described above are related to working with the data, which should not happen in the database.
We don't have the least amount of government involvement. We're #3 in the world in terms of government spending, at least. (Measuring regulatory involvement, which includes things like lawsuit-preventative medicine, is trickier.)

http://www.forbes.com/sites/theapothecary/2014/10/01/landsli...

If you want to see little government involvement, look at India (that's where I go when I need work done).
What evidence do you have on systemic racism? (How do you define it as well?)
Also, how do you suggest one works to fix it?
Ancient secrets aside, I do find Japanese knives in general better. They are thinner, lighter, hold an edge longer, are easier to put an edge on, and the edge runs the entire length of the blade making it easy to sharpen.

Other than my paring knife which cost as much as my chefs knife, I find Globals perfectly good. Even the step up from Globals are fairly inexpensive if you cook regularly.
I also had the burger-menu problem. Here's a screenshot.

http://imgur.com/0UxIFGB
Since I've switched to a language with a richer type system (Scala) I've found a lot of what I used to do with unit tests can go into the type level instead (see e.g. http://spin.atomicobject.com/2014/12/09/typed-language-tdd-p... - but in Scala the techniques are a lot less verbose to apply).
6 Places Where Earth Has Gone Color Crazy
For the sushi chefs I knew, a towel by the cutting board was absolutely mandatory. The chefs wiped their knives after every roll or cutting task, and they were always sharpened every night with a stone like the ones sold on Buttermilk.
I am also facing the same issue in Firefox with ABP enabled.
GitHub trending RSS feeds
I wonder if you made one that said "hot babe" it would be a chick magnet.
I'm not really seeing your perspective, it seems clear to me. I'll reserve final judgement for if I ever see them in person, but from the three images in the article I saw no problems.
Scrabble is not about words,anymore than monopoly is about business.

Scrabble is arranging a random selection of tiles into combinations in such a way that score is maximized.

The tiles could have hexadecimal numbers on them and could be played against a randomly generated dictionary of scored combinations. Much like you can play chess with dragons figurines instead of castles or storm troopers instead pawns.

It was as much to do with words as chess has to do with war in the middle ages.
That's why the "official" way to deploy postgrest is to run it on views in different schema than your data is.
My girlfriend is puerto rican and grew up in harlem and the bronx. she and all her family and friends drop the n-bomb in reference to each other. That includes to and from her black friends.

I'm white I don't say it and it made me uncomfortable at first (now I couldn't care less).
Security experts demonstrate ability to remotely crash a Jeep Cherokee
GoGoChimp Customer Gets 47.15% Conversion Rate
To my mind, and as a spray user, play is still huge and does too much.
Yes there is a bit of this (the beaver's dam is good and part of nature while the human dam is bad), but the previous thinking was more if we as scientists provide alternatives then the politicians will decide they don't need to do anything about emissions. There has been a bit of an epiphany within the scientific community of late that we might have left it too late to solve just by reducing emissions and that we also need to work on alternatives just in case.
Could you kindly send me an invitation?
I'm on Twitter as @enedil1
They do recommend php 5.4 though, and afaik they do try to push the community to upgrading.
I feel like that would require about as much effort as going out and replacing a non-hackable sign with a convincing homemade one.
Very interesting work, p8952. Can you elaborate more on what features made btrfs a good fit for the project?
I think you mean "any American zoning code", not "any reasonable code". In Japan, zones are additive: if commercial use is permitted, residential use is also permitted.

http://urbankchoze.blogspot.com.au/2014/04/japanese-zoning.h...

That said, in Japan the idea of converting a building from one use to another is virtually unknown. Buildings aren't built to last, so it's cheaper and easier to tear them down and rebuild to your liking.
Text Analytics as Commodity: A Survey of Text Analytics Products (in Russian)
Oddly, that link did not render anything for me. Removing the querystring made the article appear.

https://www.visionect.com/blog/worlds-first-epaper-traffic-s...

Edits - hmm, not even that link when clicked from here renders anything. I have to manually refresh or copy and paste it to get things to show.
Here's why I'd be skeptical of using this service if I were a large, self-insured employer. If I understand right, the model consists of making it easy for employees to find cheap medical providers. However, am I right in understanding that it also makes it easy for employees to actually find those providers?

I.e., absent this service, would employees find it considerably more difficult to get treatment? (The article doesn't exactly say this, but hints in that direction.)

If so, I'd be concerned that it induces employees to consume more medicine. So while one might save money on cost per procedure, the # of procedures would go up.

(Due to RAND/Oregon, we also know it's unlikely that marginal increases in medical consumption would improve health, so regardless of how much I might care about my employees, this would be a bad thing.)
Previous Discussions:

4 years ago, 7 comments

https://news.ycombinator.com/item?id=3251762

5 years ago, 12 comments

https://news.ycombinator.com/item?id=1884950

5 years ago, 7 comments

https://news.ycombinator.com/item?id=1607964

6 years ago, 38 comments

https://news.ycombinator.com/item?id=700043
> In my experience unit tests don't catch many bugs. On other hands end-to-end tests always surprise me with the bugs they catch.

Obviously if you've walked the walk with unit-tests and done proper TDD and all that, you've caught the bugs before submitting your code.

Ofcourse the remaining bugs (which there will be plenty of!) will be found in your end-to-end testing where all the bits are tied together.

This is only natural and does is no way suggest unit-testing was a wasted effort.
/ being an index which points to a .html file is completely arbitrary though.

there's no specification that says it must be so.
As keybase is an invite only alpha system right now this flagged in my mind as a decently disguised advert. Seems interesting but can you really require someone to have a profile on an invite only system?
EL Doctorow, Author of Ragtime and Billy Bathgate, Dies in New York Aged 84
A train you ride in Fallout 3 is actually an NPC wearing a train hat
can I ask why you decided to do this? The tests were just flakey while in robot framework world?
I wonder what a graphology expert would think about this. I imagine that it would be confusing.
Using composer in wordpress plugin development
Could be part of an escrow contract - e.g. if the company goes out of business, after x years, the escrow agent will release the code into the public domain.
Unit testing well takes 3-4x as long as integration testing well. Sometimes it pays off; other times it doesn't.